Re: [Maya2osg-users] Patch for units
Status: Alpha
Brought to you by:
jtaibo
|
From: Javier T. <jav...@gm...> - 2011-10-18 19:27:50
|
On Tue, Oct 18, 2011 at 8:54 PM, Jean-Sébastien Guay < jea...@cm...> wrote: > Hi Javier, > > > Isn't this enough to apply this scale to the top matrix (where the > > Z-up/Y-up conversion is made)? > > > > I don't know what is exactly down the scene graph, but I thought it > > should do... if you scale the scene as a whole, that's it, aint't it? > > maybe I'm missing something... > > It's enough if all you do is display the scene graph. > > We develop a physics engine, and for that, we need the actual geometry > to be in the right scale, and the transforms' translations too. And it's > more convenient if everything is in the right scale everywhere in the > graph. Plus, apart from the code that gets the units setting, it's a 2 > line change. > OK. -- Javier Taibo |