Sunday, July 22, 2007

Adding a touch of fog to WWJ

Here is a simple fog effect layer for WWJ. It will adjust the fog near and far distance according to the current view altitude. The screenshot shows the Segara Anak caldera and Mount Rinjani (3726m), Indonesia, looking east.

Download and add it to the worldwinddemo package - after removing the .txt extension. In BasicDemo, insert the layer just before the blue marble, and after the stars and the sky if you have them.

The default fog settings also produces a light atmospheric 'inside' halo around the planet.

No comments: