.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
: 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
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
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.
4 matches
Mail list logo