[CrystalSpace] #934: Fog not working correctly

"CrystalSpace" <[email protected]>
Newsgroups gmane.comp.graphics.crystalspace.tracker
Message-ID <[email protected]>
#934: Fog not working correctly
--------------------------+-------------------------------------------------
 Reporter:  jorrit        |       Owner:  jorrit
     Type:  defect        |      Status:  new   
 Priority:  major         |   Milestone:        
Component:  renderer      |     Version:  V2.0  
 Keywords:  fog, portals  |  
--------------------------+-------------------------------------------------
 Fog in combination with heavy portals appears to be not working. I have
 two different test cases with two different results.

 Test case 1: npcroom from PlaneShift with red fog in the current room and
 no fog in the second room: the fog in the current room is not shown where
 the heavy portal to the second room is rendered (file
 fog_npcroom_redfog_nofog.jpg).

 Test case 2: npcroom from PlaneShift with red fog in the current room and
 blue fog in the second room: again the fog in the current room is not
 shown where the heavy portal to the second room is rendered. But the blue
 fog in the second room is shown (file fog_npcroom_redfog_bluefog.jpg).

 Test case 3: simple map with a red and a green sector. Camera is in red
 sector looking towards green sector. No indication of the green fog is
 visible at all but the portal is correctly fogged with the red fog from
 the current room (file fog_redgreen_firstroom.jpg)

 Test case 4: simple map with a red and a green sector. Camera is now in
 the green sector where the fog correctly shows (file
 fog_redgreen_secondroom.jpg). Transition when going from red to green
 sector was sudden. As soon as the camera enters the green sector the red
 fog disappears and the green fog suddenly appears.

 Attached world file is for the simple test case (case 3 and 4) and is easy
 to use in walktest.

 Bug has not been tested in 2.0 yet but I suspect it is also present there.

-- 
Ticket URL: <http://crystalspace3d.org/trac/CS/ticket/934>
CrystalSpace <http://www.crystalspace3d.org/>
Free open-source 3D SDK.
------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.