WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-29-2008, 06:14 AM
theuberk theuberk is offline
Member
 
Join Date: Jul 2007
Posts: 44
multiple shadows using projector

I'm trying to create multiple shadows using the projector module. It seems however that only one projected can exist at one time. For example, the following code only produces one shadow (proj2):

Code:
enviro = viz.add('C:\\Program Files\\WorldViz\\Vizard30\\resources\\tut_ground.wrl')
image1 = viz.add('cars\\carShadow.png')
image2 = viz.add('cars\\carShadow2.png')
proj1 = projector.add(image1)
proj1.translate(0,0,0)
proj1.rotate(0,90,0)
proj1.affect(enviro)
proj1.ortho(2,2)
proj2 = projector.add(image2)
proj2.translate(6,0,0)
proj2.rotate(0,90,0)
proj2.affect(enviro)
proj2.ortho(2,2)
Any help would be greatly appreciated.

Last edited by theuberk; 01-29-2008 at 06:20 AM.
Reply With Quote
 


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
Shadows in Vizard Vinicius Lima Vizard 4 07-26-2010 05:56 PM
3d projector Vinicius Lima Vizard 21 03-05-2008 03:51 PM
Multiple labs Plymouth Vizard 1 03-05-2007 09:43 AM
Multiple Stages in one Program Amit Vizard 7 11-11-2005 10:20 AM
multiple timer trouble exhale Vizard 2 04-26-2005 12:21 AM


All times are GMT -7. The time now is 03:12 AM.


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