Wednesday, July 4, 2007

Adding a blue sky background to WWJ

Here is a very simple sky background color layer for WWJ. It paints a blue background when the 'camera' goes inside the atmosphere, with a smooth fading effect between the stars and the sky.


Download SkyColorLayer.java and add it to the layers.Earth package of the SDK - after removing the .txt extension. In the layer list, add the new layer before blue marble and after the stars if you have them.

This layer along with better versions of the stars, scalebar and worldmap will be included in the next version 0.3 of the SDK - that should be out very soon. Hopefully, i will come up with a more sophisticated sky/atmosphere before long - update sept 27: see the SkyGradientLayer.

No comments: