I'm trying to capture the global Viewpoint coordinates of the camera while tracking a HMD.
When I use Camera, Create Viewpoint the results are 0,0,0.
If I render an image with Camera Meta Data enabled that does save the position but it's not usable to me in that format.
Using 2015 SP1.
Regards,
Dan
Solved! Go to Solution.
Solved by dlincol1. Go to Solution.
Solved by marcus_fritzen. Go to Solution.
Unfortunately in the current implementation tracking values do not affect the viepoint position.
Regards,
Marcus
I think he is trying to capture the current values of the Camera coordinates while tracking.
Am I right?
-Alex
As I wrote, unfortunately this is not directly possible right now over the camera editor. There might be a solution to get those values via python. Try getting the world matrix of the camera root node of the current render window with "matrix = getCamNode(-1).getWorldTransform()". The translation xyz values are matrix[3], matrix[7] and matrix[11]. I hope this helps.
Regards,
Marcus
Doesn't work for me Dan! I am trying to align out HMD to VRED and I can not get any consistancy. Rotating about the Y or move the headset up and the camera pans in X.