WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-02-2007, 01:55 PM
Jerry Jerry is offline
Member
 
Join Date: Jun 2004
Posts: 105
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?
Reply With Quote
  #2  
Old 02-02-2007, 02:42 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:29 AM.


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