Sure, sure... But I'm having UNSPECIFIED everywhere... This forces me to trigger STATIC_OBJECT_DETECTION before. Cheers,
Sukender ----- Mail original ----- De: "Robert Osfield" <[email protected]> À: "OpenSceneGraph Submissions" <[email protected]> Envoyé: Mercredi 27 Mars 2013 16:27:34 Objet: Re: [osg-submissions] Optimizer::StateVisitor question On 27 March 2013 15:26, Robert Osfield <[email protected]> wrote: > On 27 March 2013 15:23, Robert Osfield <[email protected]> wrote: >> Hi Sukender, >> >> Indeed this is really a qustion for osg-users. The use of >> DataVariance()==STATIC is there to ensure that that objects that might >> be modified during the life of the application will be modified away. > > will *not* be optimized away :-) Ooppss. still get wrapped up in negatives. If the DataVariance is DYNAMIC then you don't want the optimization to take place, so you only allow optimization when DataVariance is STATIC. Robert. _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
