WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-26-2007, 09:45 PM
mjabon mjabon is offline
Member
 
Join Date: Jul 2007
Posts: 63
Visible and alpha commands

Hello. I am wondering what the tradeoffs are in using .visible(0) and .alpha(0) on objects for controlling visibility.

I am working a lot with the haptic pen and I notice the interesting thing is that when you make something visible(0) the haptic pen loses it - it becomes disabled it seems. But making it alpha(0) does not. Why does visible have this odd effect on the haptic pen?

Also, what effect does it have on the haptic pen if you call hd.add(object) multiple times for the same object? If the object was already added does the call just have no effect, or will it mess up the pen?

Thanks!
Maria
Reply With Quote
  #2  
Old 08-27-2007, 09:21 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Are you making the object visible before or after you call hd.add?

Calling hd.add multiple times on the same object is not supported. You should only call it once per object.
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 12:00 AM.


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