WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-16-2006, 12:52 PM
betancourtb82 betancourtb82 is offline
Member
 
Join Date: Jan 2006
Posts: 103
Warnings

I have a problem with the room I have created. I modeled it after the room.wrl file that comes with vizard; however I have taken out some of the children via the remove() call.

Code:
myroom = viz.add('room.wrl')
myroom.disable(viz.COLLISION)
mydoor = myroom.getchild('door-FACES')
screen = myroom.getchild('screen')
screen.remove()
cabinet = myroom.getchild('Cabinet')
cabinet.remove()
projector = myroom.getchild('projector')
projector.remove()
#explosion = viz.add('explosion1.wrl')
#Hide the door
door = myroom.getchild('door')
door.visible(0)
backwall = myroom.getchild('northwall-FACES')
backwall.translate(0,0,1)
backwall.scale(1.2,1,1)
leftwall = myroom.getchild('westwall-FACES')
leftwall.scale(1,1,1.2)
floor = myroom.getchild('floor-FACES')
floor.scale(1.2,1,1.2)
ceiling = myroom.getchild('ceiling-FACES')
ceiling.scale(1.1,1,1.4)
pitlid = myroom.getchild('pitlid-FACES')
pitlid.scale(1.25,1,1.3)
#pitlid.remove()
pit = myroom.getchild('pit-FACES')
pit.remove()
I don't get any errors but I do get a yellow highlight across the screen.remove() call. If I comment it out, the yellow highlighting goes to the next remove call. Is there anyway of correcting this?

Thanks
Reply With Quote
  #2  
Old 05-16-2006, 05:25 PM
Gladsomebeast Gladsomebeast is offline
Member
 
Join Date: Mar 2005
Location: Isla Vizta, CA
Posts: 397
It seems you have found one of Vizard’s parsing anomalies. It will be fixed in the next release.
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 07:58 PM.


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