We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sky box URI can now be changed via sdformat ( gazebosim/sdformat#1037 ), but that field is not being used by gz-rendering yet.
Currently, rendering uses a hardcoded stock sky texture in ogre2/src/media/materials/textures/skybox.dds.
ogre2/src/media/materials/textures/skybox.dds
Change the code associated with this line:
gz-rendering/ogre2/src/Ogre2Scene.cc
Line 1478 in 2261309
which loads the stock texture skybox.dds at https://github.com/gazebosim/gz-rendering/blob/ign-rendering6/ogre2/src/media/materials/textures/skybox.dds
skybox.dds
Instead, load a texture from the sky box URI tag.
After rendering has been implemented, to add this to gz-sim, start in this line by checking children of <sky> SDF tag:
<sky>
https://github.com/gazebosim/gz-sim/blob/f39bc25da4a93a0b2ccf5fca8c3e1b6863185a9d/src/gui/plugins/scene3d/Scene3D.cc#L3030
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Desired behavior
Sky box URI can now be changed via sdformat ( gazebosim/sdformat#1037 ), but that field is not being used by gz-rendering yet.
Currently, rendering uses a hardcoded stock sky texture in
ogre2/src/media/materials/textures/skybox.dds
.Alternatives considered
Implementation suggestion
Change the code associated with this line:
gz-rendering/ogre2/src/Ogre2Scene.cc
Line 1478 in 2261309
which loads the stock texture
skybox.dds
at https://github.com/gazebosim/gz-rendering/blob/ign-rendering6/ogre2/src/media/materials/textures/skybox.ddsInstead, load a texture from the sky box URI tag.
Additional context
After rendering has been implemented, to add this to gz-sim, start in this line by checking children of
<sky>
SDF tag:https://github.com/gazebosim/gz-sim/blob/f39bc25da4a93a0b2ccf5fca8c3e1b6863185a9d/src/gui/plugins/scene3d/Scene3D.cc#L3030
The text was updated successfully, but these errors were encountered: