WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-23-2010, 07:41 PM
arscarsc arscarsc is offline
Member
 
Join Date: Aug 2010
Posts: 1
Send a message via MSN to arscarsc
the difference between transform matrix and setEuler,setPosition,setScale

I don't understand what is the difference between transform matrix and setEuler,setPosition,setScale. In order to explain explicitly, we can use the following code as an exmaple

(1)import viz
viz.go()

logo = viz.add('logo.wrl')
logo.setPosition(0,0,10)
logo.setEuler([90,0,0])

(2)import viz
import vizmat
viz.go()
logo = viz.add('logo.wrl')
logo.setPosition(0,0,10)
x = vizmat.Transform()
x.makeAxisAngle(0,1,0,90)
logo.setMatrix(x)
Reply With Quote
 

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Quat to matrix in Python 2.4 aghena Vizard 2 07-21-2010 09:24 AM
Matrix Transform and Bumpmap GiudiceLab Vizard 0 11-27-2009 12:42 PM
linear transform in 2D screen space stefs Vizard 1 10-09-2009 10:15 AM
tracker coordinates transform Charlotte Li Vizard 1 05-18-2009 02:38 PM
Transform object & matrices david Vizard 4 03-27-2003 09:18 AM


All times are GMT -7. The time now is 09:53 AM.


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