Ok, I'm totally confused with this thing. Thought it was working, but its not.
Here's the relavent code…
_sphere = (TriMesh)BinaryImporter.getInstance().load(new ByteArrayInputStream(_sphereModel));
_sphere.setLocalTranslation(new Vector3f(0, 0, 0));
// We don't want the light to effect our skybox
ZBufferState zbuff = display.getRenderer().createZBufferState();
// We don't want it making our skysphere disappear, so force view
// Make sure texture is only what is set.
// Make sure no lighting on the sphere
// Make sure the sphere is viewable
// Set a bounding volume
// And attach the skysphere as a child
And nothing displays unless I set the following on the skysphere object:
CullState cullState = DisplaySystem.getDisplaySystem().getRenderer().createCullState();
And I either get multiple bounding spheres, or a bounding sphere that doesn't move with the camera! (I can post pics if need be!)
If I switch to a quad, it works fine without setting the cull state to CS_NONE. The sphere is just a TriMesh itself loaded as from a .obj model of a geosphere.
What am I doing wrong?! Or am misunderstanding. :(