WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-26-2006, 10:59 AM
spacefarer spacefarer is offline
Member
 
Join Date: Dec 2004
Location: Cambridge, MA
Posts: 17
Fog

I would like to have fog on the main window but not for an added small window. Is there any way to disable fog only for the small window?
Reply With Quote
  #2  
Old 06-27-2006, 09:32 AM
Gladsomebeast Gladsomebeast is offline
Member
 
Join Date: Mar 2005
Location: Isla Vizta, CA
Posts: 397
Unfortunately for your purposes, the level of fog is set for scenes and not windows. To work around this, you can have the small window look at a different scene. After you have created your small window, create a new viewpoint, set its scene, then tell your window to use the new viewpoint. If you want this scene to have the same 3D models as your original scene call <VizNode>.duplicate( sceneNumber ) on all objects you want to appear in the second scene.
__________________
Paul Elliott
WorldViz LLC
Reply With Quote
  #3  
Old 06-27-2006, 12:15 PM
spacefarer spacefarer is offline
Member
 
Join Date: Dec 2004
Location: Cambridge, MA
Posts: 17
It works fine. Thanks a lot!
Reply With Quote
  #4  
Old 06-27-2006, 01:30 PM
spacefarer spacefarer is offline
Member
 
Join Date: Dec 2004
Location: Cambridge, MA
Posts: 17
BTW, could you set different alpha values of an object in different scenes? If not, is there any way to do something like that?
Reply With Quote
  #5  
Old 06-27-2006, 03:37 PM
Gladsomebeast Gladsomebeast is offline
Member
 
Join Date: Mar 2005
Location: Isla Vizta, CA
Posts: 397
Call the <VizNode>.copy( viz.WORLD, sceneNumber ) method on objects that need their appearce to be different than the original. The copy method returns a new model object that you can modify while not affecting the original.
__________________
Paul Elliott
WorldViz LLC
Reply With Quote
  #6  
Old 06-28-2006, 07:24 AM
spacefarer spacefarer is offline
Member
 
Join Date: Dec 2004
Location: Cambridge, MA
Posts: 17
That's exactly what I wanted to do. Thank you!
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 02:54 AM.


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