| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Really love the texture in the example!
Sorry, something went wrong.
|
Thanks for the review, Rajat Singhal (@rajat2004) - I've pushed some fixes! |
Sorry, something went wrong.
There was a problem hiding this comment.
Hi Sai Vemprala (@saihv), thanks for submitting this PR, this looks like a good change to take, however I'm having trouble launching the Blocks environment with your PR checked out. I get the following error message:
--------------------------- Message --------------------------- Default Property warnings and errors: Error: CDO Constructor (SimModeBase): Failed to find Material'/AirSim/HUDAssets/DomainRandomizationMaterial.DomainRandomizationMaterial' --------------------------- OK ---------------------------
I checked and confirmed that Unreal/Plugins/AirSim/Content/HUDAssets/DomainRandomizationMaterial.uasset is present in my repo and Blocks environment, but it doesn't show up in the editor. Just out of curiosity, which version of the editor are you using? There may be a version mismatch here.
Sorry, something went wrong.
recreate DomainRandomizationMaterial to make it compatible with UE 4.25
add new method stubs for setObjectMaterial APIs
|
I was able to test this locally and confirmed the new APIs are working as expected. Thanks for submitting this PR Sai Vemprala (@saihv)! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
About
This PR adds API functions to dynamically change the textures of in-game objects either to existing Unreal material assets (simSetObjectMaterial), or to arbitrary texture PNGs (simSetObjectMaterialFromTexture) - in order to help with generating data with domain randomization. Path to a .uasset or an image file (.png, .jpg etc.) should be specified based on the function being used.
How Has This Been Tested?
Run AirSim with the Blocks map, and run PythonClient/environment/change_texture_example.py
Screenshots (if appropriate):