Sky generation

[quote]I can see that it uses a background node. But reading that code and the Background.java code in Xith3D I can’t see any indication that its disabling the depth test before writing the background geometry.
[/quote]
It isn’t currently, you are correct.

I am now working to implementing this feature.

Will.

Geometry with the Background node now works properly.

Note - it you must manually tell the geom to disable the depth buffer when drawn (i.e. so that everything is drawn in front). Do this by setting a RenderingAttribute of the geometry Appearance:


Appearance a = new Appearance();
a.setRenderingAttributes(new RenderingAttributes());
a.getRenderingAttributes().setDepthBufferWriteEnable(false);

For a complete example, look at the Xith3DBackgroundGeomTest.

Will.