Today I'm trying to make a label that shows up in front of a sphere. When the view changes, the label stays on top of the sphere. Simple.
What worked: Use Text2D (a texture mapped quad), read out the appearance and geometry and put them into an OrientedShape3D. Offset the geometry by the sphere radius in Z so the label is in front of the sphere. What didn't work: Any form of Raster inside an OrientedShape3D. I tried RasterTextLabel (from j3d.org) and Label3D (from Doug Gehringer) and also just plain Raster. I figured I should be able to set the position of the raster to (0,0,SphereRadius) and get the OrientedShape3D to transform it in front of the sphere. It doesn't. It seems like Rasters aren't affected by OrientedShape3D, or else I'm doing something else wrong. One more thing: I tried using setConstantScaleEnable(true) on my OrientedShape3D to keep the text the same size no matter how far or how close. It didn't work. It seemed to have no affect. This sucks because where you zoom in on a Text2D it starts to look blocky. Am I misreading what this attribute does? Am I missing a capability bit? Demo? -Paul =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
