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

----- Original Message -----
From: Kelvin Chung <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, May 22, 2000 8:33 PM
Subject: Re: [JAVA3D] How to get rid of extra lines?


> Hi Pasi,
>
>    Are you using DirectX version v1.1.3 of Java3D ?
>
> Using OpenGL version of Java 3D should work fine.
>
> Thanks.
>
> - Kelvin
>
> ----------
> Java 3D Team
> Sun Microsystems Inc.
>
> >MIME-Version: 1.0
> >Content-Transfer-Encoding: 7bit
> >X-Priority: 3
> >X-MSMail-Priority: Normal
> >X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
> >Date: Mon, 22 May 2000 13:58:37 +0300
> >From: Pasi Paasiala <[EMAIL PROTECTED]>
> >Subject: [JAVA3D] How to get rid of extra lines?
> >To: [EMAIL PROTECTED]
> >
> >Hello,
> >
> >I'm having a problem with extra lines that are shown for example in a
box,
> >when I set the polygon mode to PolygonAttributes.POLYGON_LINE. In
addition
> >to the outline of the box there are also diagonal lines that go
> >from one corner of the box to another. Does anyone know how to get rid of
> >those?
> >
> >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".
>

Walls.zip

Reply via email to