Hi all!
In the perspective view, the world and camera coordinates are different. Is there a command or any grasshopper function to obtain the rotation matrix(transformation matrix between the two coordinate systems)?
1 Like
Hello,
Can you explain this in more detail? As far as I know, there are only the World and ConstructionPlane coordinate systems. Do you need a rotation matrix between these? I believe you can access the CPlanes from grasshopper like so: RhinoDocument.NamedConstructionPlanes
Or do you need the projected plane from the camera view. Not sure.
John.
Hello - I am not sure I follow - the camera point (etc) is given in world coordinates… you can get at the camera plane via script and use that to get a plane-to-plane transform matrix from the World XY plane - is that what you need?
-Pascal