>Date: Wed, 10 Jul 2002 08:02:22 -0500 >From: Zak Nixon <[EMAIL PROTECTED]> >Subject: [JAVA3D] Bug? >To: [EMAIL PROTECTED] >MIME-version: 1.0 >X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 >Content-transfer-encoding: 7bit >Importance: Normal >X-Priority: 3 (Normal) >X-MSMail-priority: Normal >Delivered-to: [EMAIL PROTECTED] > >Scenerio: > > I have 2 objects that are located on a flat surface. These objects are of >Shape3D type. One is created using the >objectA.setCoordinates(0,coordinates); and the other is created by a >GeometryInfo object along with a NormalGenerator object. Now, when these are >placed in a DecalGroup, objectA shows fine, yet objectB is hardly visible, >due to the image being distorted by nothingness(the objects is there, but it >looks like ripples in the image). Can anyone tell me why this is happening? >I have fixed the problem by strictly using the setCoordinates(..) method for >objectB and it works correctly. > >any thoughts? >
It is possible that you are using OpenGL version of Java3D and stencil buffer (used by DecalGroup) fail to get correctly in choosePixelFormat. Java3D v1.3 release (coming out real soon) has fixed the problem by trying to get a pixel format with stencil buffer support, if fail it will fall back to use pixel format without it. DirectX version should work fine. - Kelvin ------------------- Java 3D Team Sun Microsystems Inc. =========================================================================== 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".