[osg-users] Performance drop &higherRAMusageafterswitchingfromOSG 1.2 to latest SVN

Robert Osfield robert.osfield at gmail.com
Thu Apr 3 09:29:32 PDT 2008


Hi Marco,


On Thu, Apr 3, 2008 at 5:08 PM, Marco Jez <marco.jez at gmail.com> wrote:

>  If you agree, I can patch the LWO reader so that it sets state
> attributes' variance to STATIC. This would solve my issue entirely (as I'm
> only loading LWO files). Code based on older versions of OSG won't be
> affected by the change, because the default variance flag for state
> attributes used to be STATIC anyway.
>

I think it's better to leave DataVariance UNSPECIFIED unless there is a
specific knowledge that it should be STATIC or DYNAMIC.

The Optimizer itself should be able to pick up on UNSPECIFIED's and set them
to what it judges to be appropriate.

Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080403/3f350602/attachment.html 


More information about the osg-users mailing list