[Closed] Directly setup transfom in INode
Hello.
Maxscript allows to setup transformation as 3×4 matrix like in this example
camera = freecamera name: "camera"
camera.transform = R
But there are only Move and Rotate methods in c++ sdk for INode class. And it seems that there is a small error in results.
For example, this rotation matrix in maxscript
[0.999948,0.00108424,-0.0100924]
[0.0010959,-0.999999,0.00114945]
[-0.0100911,-0.00116045,-0.999948]
generates next rotation angles (179,934; 0,578; 0,062)
and sdk’s INode->Rotate returns (179,934; 0; 0).
This is bug?
Is it possible to directly setup transform matrix to INode without using rotate function?
3ds max 2012 x64
Sorry. I have found SetNodeTM function. But it’s strange that rotate function returns different result.
Also, there is another problem.
There is a max script, that generate cameras from ascii file. Projections for these cameras looks a little different in 3ds max 2010 & 2012. Also I’ve noticed, that 2010 and 2012 show different fov in grads with same fov in mm.