how to make an object inside the object visible

Started by zerofox, March 28, 2013, 10:07:58 AM

Previous topic - Next topic

zerofox

Hi,

Say i create a cube, inside the cube there is an object. I want the object inside the cube visible. i already try with texture qith alpha transparency. also try setting the cube tranparency to 50-100, still doesnt work. Anyone can help?

Thomas.

If you have texture with alpha, you have to use constructor Texture(InputStream is, boolean useAlpha). And for transparency are in Config two items, Config.glTransparencyOffset and Config.glTransparencyMul. With default settings you can try something around 10 in Object3D.setTransparency(10).