Some spacial separation will help. I'm also displaying solid and/or wireframe representations of a shape, and I add a transform node above the IndexedLineArray for the wireframe that displaces the lines a small distance in the direction of the face normal to keep them visible.
Paul Byrne wrote:
[EMAIL PROTECTED]">Hi Kevin,
As the quad and the line arrays are coincident you need to place the
two shapes under an OrderedGroup to guarantee that the line array is
always drawn after the quad.
Rgds
Paul
----------------------------------------------------------
Paul Byrne Email : [EMAIL PROTECTED]
Sun Microsystems Phone : (650) 786 9926
Visualization Software Group Fax : (650) 786 5852
----------------------------------------------------------Delivered-To: [EMAIL PROTECTED]
X-Server-Uuid: 95b8ca9b-fe4b-44f7-8977-a6cb2d3025ff
MIME-Version: 1.0
X-Filter-Version: 1.8 (sass2426)
X-WSS-ID: 17FF747B2541956-01-01
Content-Transfer-Encoding: 7bit
Date: Thu, 1 Nov 2001 13:08:12 -0700
From: "Copps, Kevin D" <[EMAIL PROTECTED]>
Subject: [JAVA3D] IndexedLineArray disappears
To: [EMAIL PROTECTED]
I have a problem where a single one of my Geometry nodes under a Group
becomes invisible for no apparent reason. It only happens when I translate
the ViewPlatform a small distance in the Z-direction and the View has
setProjectionPolicy(View.PARALLEL_PROJECTION).
What is curious is that I have a single set of vertices that I use to create
two Geometry's, one is a quad array, the second is an IndexedLineArray for
displaying the edges of the quads in a different color. Even though the two
Geometry's coordinates lie on top of one another, and they are both in the
same Group, the IndexedLineArray disappears if the ViewPlatform transform is
translated far enough in the Z-direction. This doesn't happen when I use the
perspective projection.
What am I doing wrong?
Thanks for any help in advance.
--Kevin Copps
===========================================================================
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".
