On Jul 23, 2008, at 5:13 PM, Tim Knip wrote:
Don't see a solution for this (think its just the nature of
euler-angles)... anyone?
Tricky, definitely.
The only way to really do it is to record the previous euler result and using it to choose the proper solution.
It's pretty easy to do for a situation where you have that previous result, but when that result does not exist you're always going to get 2 valid solutions (at a minimum) and infinite solutions (cosine 0) at a maximum.
BTW, I think the code I posted is a more generic solution than what is there right now. I'd just have to go through it and test it out. It doesn't handle scale though.
cheers,
jon
_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org