Hi track,
> I already saw that I can set the eye and lookat position with this script.
> But I don't know how to set the leftRightAngle, upDownAngle and tiltAngle to get the correct orientation with the matrix R,T
You wouldn't set leftRightAngle and upDownAngle if you're setting the eye and lookat position already. The leftRightAngle and upDownAngle are basically just a way to use sphereical coordinates to set the viewing direction, you would use one of those methods or the other to define the camera direction, not both.
But the eye and lookat positions will only define a viewing direction and not a "roll" ( https://en.wikipedia.org/wiki/Aircraft_principal_axes) around that direction, that is what tiltAngle can be used to set though.
- Michael
|