Fog?

Does Linear or Exponential Fog work in Xith? I want to fog the terrain so I set it up like this:

LinearFog fog = new LinearFog();
fog.setColor(new Color3f(1.0f, 0.0f, 0.0f));
fog.setFrontDistance(16.7f);
fog.setBackDistance(23.0f);
fog.setInfluencingBounds(shape.getBounds());
addChild(fog);

The parent is a BranchGroup that also contains a Shape3D object of my terrain. The end result has no apparent effect on the display.

What I hope to accomplish is a blurring of terrain edges and mountains at a distance because now they arent very smooth.

Does anyone have a working example of applying fog in a scene?

Currently Fog does not work with Xith3D. Scenegraph part is ready for that, but renderer does not contain code to render fog information. This is on TODO list.

Yuri

any news?