MCG - Copy / Translate and rotate & scale
Hey
I'm breaking apart slowly the MCG CloneAndTransformMesh trying to add a rotate and scale parameters eventually.
Can any1 suggest how can I merge the transform and rotation of mesh nodes? No idea how to even approach scale yet :- )
Attachment | Size |
---|---|
copyrotatescaletranslate.jpg | 130.58 KB |
Comments
.
You have to build the complete transform matrix. Now, there are some rules that I could try to explain, but seeing how the ordering of multiplication of the rotation/translation/scale matrix influences the result is better, so here you go.
Some of my scripts and MCGs :: 3ds Max SDK Intro for Scripters