Hi, I am pretty new to this so others will proabably correct me, but, looks like your some of the cubes normals are facing the wrong way. To check if this is what is happening try:
Appearance a = new Appearance(); PolygonAttributes pa = new PolygonAttributes(); pa.setCullFace(pa.CULL_NONE); a.setPolygonAttributes(pa); and set this as your appearance. If the cube is rendered correctly this is your problem. Cheers, Brad > "J�rgen Vansteelant" wrote: > > Hi, > > I have written a small program that renders a cube, but this is what I > get: > > > > > What would be my problem? If anyone could give me a hint! > > Thanx! > > Name: CubeTest.java > CubeTest.java Type: unspecified type (application/octet-stream) > Encoding: quoted-printable ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- This Email may contain confidential and/or privileged information and is intended solely for the addressee(s) named. If you have received this information in error, or are advised that you have been posted this Email by accident, please notify the sender by return Email, do not redistribute it, delete the Email and keep no copies. =========================================================================== 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".
