WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
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
  #2  
Old 06-04-2008, 10:27 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Yes, we've experienced this crash quite often. If you tell Intersense to automatically detect a device, sometimes they connect to the wrong device and it causes a crash. The solution is to specify the intersense port by using the PORT_INTERSENSE variable. See the documentation for more details.

I don't understand what you mean by setting the pieces in accurate position. The pieces will be placed where you tell them to be placed with the translate command.
Reply With Quote
Reply

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


All times are GMT -7. The time now is 04:24 PM.


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