WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 06-04-2008, 10:05 AM
GoldenSun GoldenSun is offline
Member
 
Join Date: Feb 2008
Posts: 8
Thanks for the suggestion.

I used the clones for all 30 wall pieces as you suggested and I believe it helped alot. I also try to add about 15 more small 3d objects and/or images inside. I found out that when I select the tracking option from the prompt to use the intersense it sometimes crashes before everything starts. Has anyone else experienced it?

the follwing is sample code for a wall and a pic. What is the best way to set each wall pieces in accurate position with one another?

wall = viz.add('box.WRL')
wall.translate(-2.000, 1.500, +0.450)
wall.setScale(4.600, 3.000, 0.100)
wall.texture( walltexture )
-------------------------
pic1 = viz.add(viz.TEXQUAD)
pic1.translate(-0.1, 0, 2.2)
pic1.setEuler(90, 0.0, 0.0)
pic1.scale(0.3, 0.5, 0.4)
pictexture = viz.addTexture( 'logo_fl.jpg' )
pic1.texture(pictexture)
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


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


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