[osg-users] StateSet optimization - how it works?

2008-03-24 Thread Night Hawk
Hello All, I was reading the OSG quick guide and it was mentioned that OSG tries to optimize the StateSet changes to be minimal. So I am trying to understand how exactly the render loop is done. Would be done per StateSet as below: For each StateSet { Get all the nodes that have this

Re: [osg-users] StateSet optimization - how it works?

2008-03-24 Thread Robert Osfield
Hi another how I wish they'd use their real name as that's we do in the real world and it's much nicer and more civil, The state sorting in the OSG is done as part of the cull traversals when the various Drawables and Stateset's are placing in the rendering backend, composed of

Re: [osg-users] StateSet optimization - how it works?

2008-03-24 Thread Night Hawk
Hi Robert, Thanks for the info. Thats useful. And please don't be angry with names - I am not particular about them. In case if any one cares, it is Coleman Hawkins. Ages ago in 1961, an artist with a similar name gave a performance Night Hawk, hence the id.