Hi Rob,

You are correct, once the OrderedGroup is used to fix the rendering order,
Kevin might have issues with z-buffer fighting, this will depend on
the front and back clip distances and the resolution of the z-buffer
on the 3D card.

Rgds

Paul

>Delivered-To: [EMAIL PROTECTED]
>User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-GB; rv:0.9.2) Gecko/20010726
Netscape6/6.1
>X-Accept-Language: en-gb
>MIME-Version: 1.0
>Date: Fri, 2 Nov 2001 16:01:04 +0000
>From: Rob Crompton <[EMAIL PROTECTED]>
>Subject: Re: [JAVA3D] IndexedLineArray disappears
>To: [EMAIL PROTECTED]
>
>will that be sufficient? With z-buffering, draw order doesn't guarantee
>later drawn objects appear in front.
>
>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:
>
>>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".
>>
>

----------------------------------------------------------
Paul Byrne                      Email : [EMAIL PROTECTED]
Sun Microsystems                Phone : (650) 786 9926
Visualization Software Group    Fax   : (650) 786 5852
----------------------------------------------------------

===========================================================================
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".

Reply via email to