View Single Post
  #3  
Old 05-28-2004, 05:07 PM
epl epl is offline
Member
 
Join Date: Feb 2004
Posts: 7
Send a message via AIM to epl
Question bug in vizmat.slerp()

When running vizmat.slerp() i recieve the error depicted in the attached screen shot. It seems that you are performing an unsupported operation on two lists on line 130 of vizmat.py.

a snippit of my offending code is as follows:

euler1 = [unsynchyaw, unsynchpitch, unsynchroll]
euler2 = [realyaw, realpitch, realroll]
quat1 = vizmat.EulerToQuat(euler1)
quat2 = vizmat.EulerToQuat(euler2)
#Interpolate sucsessive iterations from 0/100 to 100/100 between quat1 and quat2
quat = vizmat.slerp(quat1, quat2, (resynchcntr/100)).get()
#quat = [0,1,2,3]

let me know if you can find any kind of work around for this.

thx eric.
Attached Images
File Type: jpg slerpbug.jpg (499.6 KB, 1494 views)
Reply With Quote