| |
| | Extracting yaw, pitch, roll - GameDev.Net Discussion Forums (Site not responding. Last check: 2007-10-22) |
 | | I can't store a rotation matrix or the three yaw, pitch, roll values for later use since I don't have them at all when I launch the game. |
 | | This is the whole point, I'm trying to figure out a way to calculate yaw, pitch and roll from only these two vectors (one fixed at (0,0,1) and the other read from the file.) With yaw, pitch and roll calculated, I can then easily compute the direction vector that my light needs. |
 | | you could use this, but since yaw pitch and roll are based on a single axis you would have to uses the corrisponding 2d (x,y) (y,z) (x,z) pairs from each vector or whatever. |
| www.gamedev.net /community/forums/ViewReply.asp?id=828293 (515 words) |
|