Animation Controller Scaling

Turns out I wasn’t extracting scaling properly in my 3ds Max exporter plug-in. For one thing, if the local transformation included any scaling, it could cause NAN problems to arise while converting the matrix rotations into quaternions for the keyframed animation system. So, I added new methods to the 3×3 and 4×4 homogeneous matrix template classes in the engine to properly decompose a matrix (without shearing) into individual translation, rotation and scaling values. This allowed me to properly export all of the animation data now.

About Eric DeBrosse

Lead developer of the Orion Engine.
This entry was posted in Engine Development, Game Development, Graphics and tagged , , . Bookmark the permalink.