WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-20-2007, 10:16 PM
k_iwan k_iwan is offline
Member
 
Join Date: May 2006
Posts: 115
Unhappy Fog Wierdness....

Hi Could someone help me out? I just install the fall edition and I 'm having this black fog wierdness. Seems like I can't get rid of this.

I started with;
Code:
headLight = viz.MainView.getHeadLight()
headLight.disable()
I loaded the terrain like;
Code:
     #Load 3D virtual Environment
     self.terrain = viz.add('data/world/terrain.osg')
     self.terrain.setScale([Globals.SCALE, Globals.SCALE, Globals.SCALE])
     #self.terrain.disable(viz.LIGHTING)
     self.terrain.disable(viz.FOG)
     self.terrain.enable(viz.CULL_FACE)
     self.terrain.enable(viz.CULLING)
With Light or No Light, I get same result. What did I do wrong?

Please see attached screenshot.
wierdFog1 - how the scene looks from starting point
wierdFog2 - how the scene looks from 50-100 units from above starting point

Kind Regards,
Iwan
Attached Thumbnails
Click image for larger version

Name:	wierdFog1.jpg
Views:	821
Size:	457.3 KB
ID:	208   Click image for larger version

Name:	wierdFog2.jpg
Views:	787
Size:	298.4 KB
ID:	209  
Reply With Quote
  #2  
Old 11-20-2007, 10:53 PM
k_iwan k_iwan is offline
Member
 
Join Date: May 2006
Posts: 115
Red face seems to be a solution...

Hi,

I changed the fog type from none to exponential, and it seems to brighten things up. I could be mistaken, but If I remember correctly, setting the fog to none should disable the Fog, no?

Kind Regards,
Iwan
Reply With Quote
  #3  
Old 11-20-2007, 11:14 PM
k_iwan k_iwan is offline
Member
 
Join Date: May 2006
Posts: 115
Talking My Apology...

My Apology...

The problem lies in the shader program. It's all fixed now.
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 05:21 AM.


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