Include textured models #2304
-
Good morning, I need to integrate 3D models of any format into my scene, I have no limitations, for example OBJ, STL, 3ds. Previously, with OSGEarth 2.x I had no problems and each model was created with materials with color and/or texture applied. I know that under GL3 everything is handled with shaders. I need to understand:
Thanks for your attention |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
If you load your models through OSGEarth it will typically run them through a shader generator. osgDB::readRefNodeFile("model.obj.osgearth_shadergen"); Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Hey sorry for the late reply. Can you provide an example model that we can use to test? |
Beta Was this translation helpful? Give feedback.
-
Resolution in #2328. |
Beta Was this translation helpful? Give feedback.
Resolution in #2328.