Hi Pasi,

   In this case you can use QuadArray instead of TriangleArray

to get rid of it. Note that using DirectX 1.1.3 the line will

appear even though you are using QuadArray, this is fixed

in the next DirectX release.

Thanks.

- Kelvin

----------
Java 3D Team
Sun Microsystems Inc.

>From: "Pasi Paasiala" <[EMAIL PROTECTED]>
>To: "Kelvin Chung" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]>
>Subject: Re: [JAVA3D] How to get rid of extra lines?
>Date: Tue, 23 May 2000 08:49:18 +0300
>MIME-Version: 1.0
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
>
>Hello Kelvin and Lee,
>
>I'm using the latest OpenGL version (1.2) of Java3d, although this the
>problem has been there already in version 1.1.3.
>
>The reason why I'd like to get rid of those lines is that my geometry
>represents buildings and there each line should have a meaning.
>
>Attached is a screen copy of a model that shows some walls. The walls are
>modeled using com.sun.j3d.utils.geometry.Box. I'm having other more
>complicated geometries also that have the same problem.
>
>Lee Dixon mentioned that I'm using triangles. It seems that I am but not on
>purpose. Would it be possible to write a method that would convert any shape
>that is built from triangles to a shape that would merge neighbouring
>triangles to a polyline when the triangles have identical normals? I quess
>it would, is there anybody who is capable and interested (I'm only
>interested) in doing this. Or should it be done by the video hardware?
>
>Pasi
>

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