Jump to content

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

PolarDecomp without OrientationScaling

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
No replies to this topic

#1 Alundra   Members   

2279
Like
0Likes
Like

Posted 22 May 2014 - 09:17 PM

Hi all,

PolarDecomp is very well to handle non-uniform scaling but you end with an orientation scaling.

I would stick with just Translation + Orientation + Scaling.

The equation to compute world matrix is :

OrientationScaling.inverse() * Scaling * OrientationScaling* Orientation * Translation

Since OrientationScaling and Orientation are quaternion, Scaling and Translation are vector3 there is a safe and fast way to pack them ?

Thanks for the help


Edited by Alundra, 22 May 2014 - 09:21 PM.





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.