Re: [osg-users] question about Optimizer and FLATTEN_STATIC_TRANSFORMS

2012-10-26 Thread Michael Schanne
lyceel wrote: Hi, Michael, The structure of the scene itself can sometimes prevent the transform from being flattened away. What happens if you try FLATTEN_STATIC_TRANSFORMS_DUPLICATING_SHARED_SUBGRAPHS (sometimes, you just need a bigger hammer :-) ). That worked, thanks.

[osg-users] question about Optimizer and FLATTEN_STATIC_TRANSFORMS

2012-10-19 Thread Michael Schanne
Hi, I have a model that I converted from an .stl file to .osg. I wanted to apply a scaling to the model, so I added a MatrixTransform with a scaling matrix above the model's root node. For maximum efficiency I wanted to apply the transform directly to the vertices, so I tried to run the .osg

Re: [osg-users] question about Optimizer and FLATTEN_STATIC_TRANSFORMS

2012-10-19 Thread Jason Daly
On 10/19/2012 09:28 AM, Michael Schanne wrote: Hi, I have a model that I converted from an .stl file to .osg. I wanted to apply a scaling to the model, so I added a MatrixTransform with a scaling matrix above the model's root node. For maximum efficiency I wanted to apply the transform