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

2008-04-03 Thread Robert Osfield
Hi Marco, Thanks for the file. I've done the test and don't see any stateset's shared so I can reproduce the issue you are seeing so its a good first step. As for what piece of code should be fixed, I think it's much a design choice. A fundamental question is: what is the postcondition of

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

2008-04-03 Thread Marco Jez
Hi Robert, So yes, UNSPECIFIED help solve the problem of deciding what data variance an StateAttribute should have, if the user has explicitly set STATIC or DYNAMIC then this is a formal decision made by the user and its inappropriate to override this with automatic codes that try to work

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

2008-04-03 Thread Robert Osfield
Hi Marco, On Thu, Apr 3, 2008 at 5:08 PM, Marco Jez [EMAIL PROTECTED] 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

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

2008-04-01 Thread Marco Jez
if (itr-second.first-getDataVariance()==UNSPECIFIED (itr-second.first-getUpdateCallback() || itr-second.first-getEventCallback())) { itr-second.first-setDataVariance(DYNAMIC); } else// - ADDED this block {