Thread
:
Quat to matrix in Python 2.4
View Single Post
#
2
07-20-2010, 05:56 PM
farshizzo
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
Vizard comes included with this functionality. The following code shows how to construct a 4x4 transform matrix from an [x,y,z,w] quaternion:
Code:
m = viz.Matrix.quat(x,y,z,w)
farshizzo
View Public Profile
Find all posts by farshizzo