WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Strange Euler (https://forum.worldviz.com/showthread.php?t=992)

Jerry 02-02-2007 01:55 PM

Strange Euler
 
When I run this:

duck = viz.add('duck.wrl')
print duck.get(viz.EULER)
duck.scale(1,.5,1)
print duck.get(viz.EULER)

I get this:

[0.0, 0.0, 0.0]
[0.0, 0.0, -59.999996185302734]

Why does scaling affect the Euler angle?

farshizzo 02-02-2007 02:42 PM

This was a bug in 2.5 which has already been fixed in 3.0.

I believe the problem was that the 3x3 rotation matrix was not normalized before extracting the euler angles from it.


All times are GMT -7. The time now is 06:19 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC