suvakas
11-11-2008, 08:42 PM
Hi,
Those transform matrices of Max are driving me nuts !!
How can i get the correct transform matrix of a grouped model?
I have a situation where the model has been scaled on node level and the model belongs to a group, that has also been scaled (scale values != 1). How can I get the correct matrix of a model? I need node scale + group scale both baked to vertex coordinates of a node so that the node would be exported the same as it looks in Max viewport. How can i do that?
Currently i'm reseting the scale of the model to [1,1,1] and applying the previous scale to object offset matrix. Then I multiply the vertices of a model with the offset transform matrix. This works fine if the model doesn't belong to a group (or belongs to a group that has not been scaled). So i guess the question is how can I get the scale/transform of a group merged to node ? I tried to add the parent scale to object offset transform. It almost worked.
Every help and any ideas are highly welcome !
Suvakas
Those transform matrices of Max are driving me nuts !!
How can i get the correct transform matrix of a grouped model?
I have a situation where the model has been scaled on node level and the model belongs to a group, that has also been scaled (scale values != 1). How can I get the correct matrix of a model? I need node scale + group scale both baked to vertex coordinates of a node so that the node would be exported the same as it looks in Max viewport. How can i do that?
Currently i'm reseting the scale of the model to [1,1,1] and applying the previous scale to object offset matrix. Then I multiply the vertices of a model with the offset transform matrix. This works fine if the model doesn't belong to a group (or belongs to a group that has not been scaled). So i guess the question is how can I get the scale/transform of a group merged to node ? I tried to add the parent scale to object offset transform. It almost worked.
Every help and any ideas are highly welcome !
Suvakas
