WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Fog Wierdness.... (https://forum.worldviz.com/showthread.php?t=1278)

k_iwan 11-20-2007 10:16 PM

Fog Wierdness....
 
2 Attachment(s)
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

k_iwan 11-20-2007 10:53 PM

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

k_iwan 11-20-2007 11:14 PM

My Apology...
 
My Apology...

The problem lies in the shader program. It's all fixed now.


All times are GMT -7. The time now is 03:34 PM.

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