Re: [Maya2osg-users] Transform nodes
Status: Alpha
Brought to you by:
jtaibo
From: Jean-Sébastien G. <jea...@cm...> - 2011-06-29 22:52:15
|
Hi Javier, > I see two alternatives that can be combined. I like your two alternatives, and the flexibility they bring. The first one is what I was thinking when I wrote my message. I think this is good, and I could easily make a script that creates that custom attribute based on my own criteria too. So yes, I would add a button on the shelf and make the exporter recognize that custom attribute, but it's even more flexible than that. The second one, I think, is covered by an optimizer in OSG (FlattenStaticTransforms), so perhaps we could just expose that optimizer flag (and others while we're at it) and run the optimizer on the created graph before saving. OSGExp (exporter for Max) does this. See the Optimize group in the export options panel: http://sourceforge.net/apps/mediawiki/osgmaxexp/index.php?title=Documentation Those checkboxes all equate to an osgUtil::Optimizer flag. J-S -- ______________________________________________________ Jean-Sebastien Guay jea...@cm... http://www.cm-labs.com/ http://whitestar02.dyndns-web.com/ |