Hi Kevin,

The order in which the quad and lines are rendered is undefined if the shapes
are under a java3d group. To ensure that the lines are rendered after the
quad you must place both shapes under an OrderedGroup.

The reason the rendering order is undefined in the general case is to enable
Java3D to take advantage of multiple threads and processors.

Rgds

Paul


>Delivered-To: [EMAIL PROTECTED]
>X-Server-Uuid: 95b8ca9b-fe4b-44f7-8977-a6cb2d3025ff
>MIME-Version: 1.0
>X-Filter-Version: 1.8 (sass165)
>X-WSS-ID: 17FDD4202762272-01-01
>Date: Fri, 2 Nov 2001 14:08:51 -0700
>From: "Copps, Kevin D" <[EMAIL PROTECTED]>
>Subject: Re: [JAVA3D] IndexedLineArray disappears
>To: [EMAIL PROTECTED]
>
>I don't believe this is a z-order issue. And you're right, the z-order could
>be a problem depending on front/back clip distances, etc., and I've taken
>care of that.
>
>In my case, the LineArray displays perfectly one second, then I translate
>the View Platform a tiny amount, and then ALL lines of the LineArray become
>invisible. I've attached two small GIF's, LineArr1 and LineArr2, a before
>and after picture, respectively, which show a region near the top of my
>Canvas3D. The canvas3D background is white, and the gray and blue bars at
>the top are the menubar and the application title bar.
>
>In LineArr1.gif there is no conflict between the Z-order of the quads and
>the linearray. In LineArr2.gif, I just moved my object up a tiny bit
>relative to the viewer.
>
>What d'ya think?
>
>--Kevin
>

----------------------------------------------------------
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