limitations on the kinds of Maya scenes that can be exported
Posted: Wed Oct 10, 2012 12:48 am
I've just tried to use Dynamica to export a few scenes and it's failed on most of them. Some of them have clearly pathological data in them, which our other exporters do handle somehow.
Is there a doc anywhere that outlines the rules? Here are my discoveries:
-- a scene with hierarchical objects won't export, even with "FreezeTransforms". The nodes need to be unparented.
-- we have non-deletable camera nodes in some of our files. These crash Dynamica.
-- we have some transforms with a y-scale of zero (???) These are on cubes that look ok, but when I freezeTransforms (setting the scale to 1) they flatten out. This happens on export also, so I assume Dynamic uses freeze-transforms as part of its own export.
So the only rule I think I need to follow is: remove all hierarchy (select -hi -all; parent -w -a;)
I guess that I could check scenes for zero scales, and delete all cameras, and report if those steps fail so the user can manually clean his file (by exporting to OBJ format and re-importing, for example).
Is there a doc anywhere that outlines the rules? Here are my discoveries:
-- a scene with hierarchical objects won't export, even with "FreezeTransforms". The nodes need to be unparented.
-- we have non-deletable camera nodes in some of our files. These crash Dynamica.
-- we have some transforms with a y-scale of zero (???) These are on cubes that look ok, but when I freezeTransforms (setting the scale to 1) they flatten out. This happens on export also, so I assume Dynamic uses freeze-transforms as part of its own export.
So the only rule I think I need to follow is: remove all hierarchy (select -hi -all; parent -w -a;)
I guess that I could check scenes for zero scales, and delete all cameras, and report if those steps fail so the user can manually clean his file (by exporting to OBJ format and re-importing, for example).