Absolute coordinates of the camera
Hello, I would like to know how I can get absolute (world) coordinates of the direction vector of the camera from .dae file? I have made an animation in 3ds max, exported it to .dae and I am using Assimp-Net library for processing the collada format. The only I can get is the direction vector relative to the coordiante space defined by the corresponding node. In my case it is 0,0,-1.
The <library-visual_scenes> part for my camera looks like:
<matrix sid="matrix">1.000000 0.000000 0.000000 0.000000 0.000000 0.001745 -0.999998 -46.111111 0.000000 0.999998 0.001745 0.000000 0.000000 0.000000 0.000000 1.000000</matrix>
The absolute position of the camera is exactly (0,-46.111111,0).
The direction vector should look like (0,1,0) as camera looks in y direction. I don't know hot to obtain this.