[osg-users] Performance drop & higherRAMusageafterswitchingfrom OSG 1.2 to latest SVN
Robert Osfield
robert.osfield at gmail.com
Tue Apr 1 11:00:11 PDT 2008
Hi Marco,
On Tue, Apr 1, 2008 at 5:58 PM, Marco Jez <marco.jez at gmail.com> wrote:
> The obvious fix in my application is to add a STATIC_OBJECT_DETECTION flag
> to the Optimizer, but it's not enough. It seems that
> StateSet::computeDataVariance() only changes attributes' variance from
> UNSPECIFIED to DYNAMIC if they have any callbacks; but if they have no
> callbacks, then their variance is left unchanged. Is this a bug?
It might be, it's a long time since I visited the code, as far I was
aware it was working fine, but then not all engineers as as observant
and enquiring as yourself :-)
Any adjustment would be best done in Optimizer. Would it be possible
you to provide me a simple model that reproduces the problem with the
Optimizer not assigning DataVariance?
Robert.
More information about the osg-users
mailing list