[Papervision3D] BUG GreatWhite (and previous versions) - Rotation issue solution. DisplayObject3D
chris at maloneyinc.com
Sat Mar 15 07:57:54 PST 2008
I've been beating my head against the wall the last few days trying to
figure out why my rotations were changing when they should never be
changing. So, over the last few hours this morning I tracked down the
bug in the GreatWhite source code. Also, with browsing the repository I
see this same issue in previous versions and I've also proven it with
the 1.5 code download from the google code site.
In DisplayObject3D the function updateTransform() is called when the
transformation is flagged as dirty.
Should actually be:
Because, any changes I make to the transformation matrix prior to
updateTransform() is called is overwritten by using the
transform.copy(m); and results in some serious hair pulling.
If you need to see code that proves this, see my previous post entitled
"GreatWhite rotation issues"
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Papervision3D