WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-20-2003, 09:47 AM
duda duda is offline
Member
 
Join Date: Sep 2003
Location: Cambridge, MA
Posts: 8
Question Fog

Under v2.12, when calling:

viz.clearcolor(1.0, 1.0, 1.0)
viz.fog(0.2)

I get a white background, but black fog? See attached file.
Attached Images
File Type: jpg fog_viz212.jpg (123.0 KB, 601 views)
Reply With Quote
  #2  
Old 11-20-2003, 10:45 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

To set the color of fog use the following command:
Code:
viz.fogcolor(1.0,1.0,1.0)
viz.fog(0.2)
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:28 PM.


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