Re: [Maya2osg-users] Matrix exported does not obey units set in Maya
Status: Alpha
Brought to you by:
jtaibo
|
From: Javier T. <jav...@gm...> - 2011-06-30 06:37:40
|
Hi J-S, On Thu, Jun 30, 2011 at 1:39 AM, Jean-Sébastien Guay <jea...@cm...> wrote: > Hi Javier, > >> What is the difference in configuring meters as the units in Maya >> configuration instead of just considering that the units are meters no >> matter what Maya has in its config? > > It has an influence when you import files coming from other 3D packages, > in particular CAD applications. Those file formats generally specify > which units they are in, and if your own scene is built using > millimeters (but assuming one unit is a meter) then it won't match the > imported file. Of course, if you're working with models created with different units/scales, you have to be careful with this. > But in short, I think we should probably do it right in the plugin, > because we cannot predict how users will have configured Maya. At the > very least we can apply a scale at the top of the graph, but I think it > would be better to export with the configured units, otherwise examining > the file will be confusing (why is this box 200 meters wide? Oh it's > really 2 meters wide if I take into account the scale at the root of the > graph...) Of course, doing things correctly is better. The scale at the root would be fine for me (maybe in the same transform that perform the Y-up to Z-up conversion), but if you are thinking about better ways, great. > I'm not suggesting you do anything about it. I'll work on it. I just > wanted to know if anyone had encountered this before, and now I know why > not :-) Now you know the reason. I think in the whole Maya2OSG community there are three people, and only about a 33% of them have a pipeline complex enough to find these kind of problems :) Cheers! -- Javier Taibo |