Re: [osg-users] Best practices for dealing with complex scene graph

2020-03-01 Thread Armin Samii
visit > https://groups.google.com/d/msgid/osg-users/19df5325-01d5-4fa7-94d2-9c9560c92956%40googlegroups.com > <https://groups.google.com/d/msgid/osg-users/19df5325-01d5-4fa7-94d2-9c9560c92956%40googlegroups.com?utm_medium=email_source=footer> > . > -- Armin Samii Visualizat

[osg-users] Re: Export GLTF from OSG?

2020-02-17 Thread Armin Samii
t; On Friday, 7 February 2020 19:06:19 UTC, Armin Samii wrote: >> >> Has anybody worked on exporting GLTF Animations from OSG? >> >> I'd like to save my dynamic OSG scene to disk, and don't want to save the >> static geometry each frame. GLTF lets me export the ge

Re: [osg-users] Re: How to access material properties from a GLSL shader?

2020-01-10 Thread Armin Samii
OpenGL/GLSL versions where the fixed function > pipeline has been removed, so that's something to look into. I've never > needed this, though, so don't know if it just happens when OSG is compiled > with GL3 support, or whether there's more that you need to do. > > Hope this helps, &g

[osg-users] How to access material properties from a GLSL shader?

2020-01-08 Thread Armin Samii
Does openscenegraph provide easy access to osg::Material values in the shaders? If so, in which Uniforms are the various properties set? If not, is the best path forward to set my own Uniforms based on osg::Material? For context: I had an OBJ/MTL that loaded and rendered fine by default, but