I'm trying to attach labels to my planets and moons. With Daniel Selman's help, I've learned how to use a Raster object to create fixed size lables, and it looks pretty good (see attached jpeg). But the problem I've run into is that I can't avoid having the text obscured by the planet. The text is being written in the exact center of the sphere. As one gets nearer to the planet, the text is obscured. This is what's happened to the "E" in "Earth" in the screenshot. Is there a way to use the DepthComponent object when defining my Raster so that Z values will be ignored? i've been reading the javadocs and the 1.2 specification, but it's not making a lot of sense to me. I've also tried PolygonAttributes.setPolygonOffset(), but this didn't make any apparent difference.
<<attachment: ss1.jpg>>
