WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-25-2011, 03:44 PM
TarkaDahl TarkaDahl is offline
Member
 
Join Date: Mar 2010
Posts: 59
Hi

I take it you are doing something similar to the example here.

http://docs.worldviz.com/vizard/vizProjector.htm

In which case could you add something like this.

Code:
projectorTwo = projector.add(viz.add('BALL.JPG'))
projectorTwo.setEuler([0,90,0])

projectorTwo.affect(ground,textureNum=2)
projectorTwo.affect(ball,textureNum=2)

projectorTwo.ortho(0.25,0.15)

projectorTwo.setPosition([0,1,3])
projectorTwo.addAction( vizact.spin(0,0,1,90))
Is that what you want to do?

Thanks

TarkaDahl
Reply With Quote
  #2  
Old 07-26-2011, 06:26 AM
bennett145 bennett145 is offline
Member
 
Join Date: May 2011
Posts: 2
Prefect!

Thanks! This textureNum argument was what we were missing. Thanks for the help!
Reply With Quote
Reply


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
Vizard 4 Beta Testing farshizzo Announcements 0 02-01-2011 10:46 AM
Vizard 4 Beta Testing farshizzo Vizard 0 02-01-2011 10:46 AM
Vizard tech tip: Using the Python Imaging Library (PIL) Jeff Vizard 0 03-23-2009 11:13 AM
Multiple Viewports in Vizard, Utilizing keyboard callback shivanangel Vizard 2 02-21-2006 04:56 PM
running multiple vizard scripts from python exhale Vizard 1 05-09-2005 05:35 AM


All times are GMT -7. The time now is 02:28 PM.


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