WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-03-2006, 06:00 AM
giancamati giancamati is offline
Member
 
Join Date: Jun 2006
Posts: 27
Talking bounding box....

Hello everybody, due to my ignorance in programming with Vizard I am trying to visualized the bounding box of a picked object. I wish to visualize it in red. I tryed with the following gode:
pickedOBJ = viz.pick()

if pickedOBJ.valid():
print 'Oggetto CATTURATO'
if pickedOBJ == box:
box.color(viz.BLUE)
box.link(FlockBirds)
box.get(viz.BOUNDING_BOX).visible(1)
box.get(viz.BOUNDING_BOX).color(viz.RED)

Is that right?
Thank you.
Giancarlo Amati
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 05:42 AM.


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