Re: [osg-users] Multi-view Performance Issue with Statesets

2010-03-12 Thread Thrall, Bryan
.org] On Behalf Of Thrall, Bryan Sent: > Friday, March 12, 2010 10:39 AM To: OpenSceneGraph Users Subject: Re: > [osg-users] Multi-view Performance Issue with Statesets > > Drolet, Frederic wrote on 2010-03-12: >> osg::ref_ptr lStateSet = mGeometrie- >>> getOrCreateState

Re: [osg-users] Multi-view Performance Issue with Statesets

2010-03-12 Thread Drolet, Frederic
: Friday, March 12, 2010 10:39 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Multi-view Performance Issue with Statesets Drolet, Frederic wrote on 2010-03-12: > osg::ref_ptr lStateSet = mGeometrie- >> getOrCreateStateSet(); > > lStateSet->setMode(GL_LIGHTING, osg::StateAttribute

Re: [osg-users] Multi-view Performance Issue with Statesets

2010-03-12 Thread Thrall, Bryan
Drolet, Frederic wrote on 2010-03-12: > osg::ref_ptr lStateSet = mGeometrie- >> getOrCreateStateSet(); > > lStateSet->setMode(GL_LIGHTING, osg::StateAttribute::OFF); OpenGL performance is very sensitive to state changes, so it is a good idea to minimize them as much as possible. OSG groups Draw

[osg-users] Multi-view Performance Issue with Statesets

2010-03-12 Thread Drolet, Frederic
Hi everyone, I've seen a lot of threads on performance issues in the mailing list but none of them seemed to address my particular problem precisely, either because the problem description was vague or the replies were covering a matter far too vast to include everything in a single message.