- Joined
- May 3, 2007
- Messages
- 210
I was wondering what exactly the yaw and pitch returns in relation to the camera, obviously it's in degrees, but exactly what angle? See picture for a better understanding of my confusion.
As well, if anyone knows how to calculate the distance between the central target point (the cameras target x,y,z) and the actual cameras location that'd be nice. I assumed it was just "distance" but that doesn't seem to pan out when you formulate a triangle and find the values of the other sides with the law of sines, they seem to pan out to a point, but if you shift away at certain angles the lengths get far beyond any reasonable marign of error.
As well, if anyone knows how to calculate the distance between the central target point (the cameras target x,y,z) and the actual cameras location that'd be nice. I assumed it was just "distance" but that doesn't seem to pan out when you formulate a triangle and find the values of the other sides with the law of sines, they seem to pan out to a point, but if you shift away at certain angles the lengths get far beyond any reasonable marign of error.
Attachments
Last edited: