I've verified that the DataVariance is STATIC. Both before the optimization and 
then after the optimization it remained static.

-----Original Message-----
From: osg-users [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf 
Of Julien Valentin
Sent: Thursday, January 22, 2015 6:59 AM
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] FLATTEN_STATIC_TRANSFORMS Not Always Working

..seams a DataVariance issue..no?


Cary, Karl A. wrote:
> I was recently doing some updates to a converter we wrote and found that the 
> FLATTEN_STATIC_TRANSFORMS option to the optimizer isn't always flattening the 
> transforms and I do not understand why. I have verified that the 
> MatrixTransforms are marked as STATIC. The only thing I can think of is that 
> I have 2 transforms nested, i.e. 1 MatrixTransform has a MatrixTransform as 
> it's child which in turn has multiple groups and geodes under it. I can 
> flatten it eventually if I first do an optimization removing redundant nodes, 
> and then do a second optimization to flatten the transforms. The problem is 
> that then I have to do a 3rd optimization to remove redundant nodes again. 
> This doesn't make any sense to me. I also tried throwing in the 
> FLATTEN_STATIC_TRANSFORMS_DUPLICATING_SHARED_SUBGRAPHS, but this causes a 
> crash. This is being run on the output of a maya2osg conversion from a maya 
> file in to a .osg file. Any help in understanding what is wrong would be 
> greatly appreciated. Thanks
  i
> n advance.
> 
> Karl
> 
> _______________________________________________
> osg-users mailing list
> 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 
>  ------------------
> Post generated by Mail2Forum


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=62428#62428





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to