This appears to be a culling problem.  The only triangles that are
disappearing are those at the edges of your rounded cubes.  My best guess is
that the rounded edges of the cubes are not tesselated enough i.e. not
enough triangles were used to define the rounded sections.  Because there
aren't enough triangles, some of the triangles have normals that are not
quite correct and they are being culled.  As you rotate the view, naturally
different triangles would be affected.  To fix the problem, you need to
create the cubes with more triangles in the rounded regions.  Hopefully,
your code can be adjusted to do that.

Roberto Speranza
President, Dot Internet Solutions Inc.
mailto:[EMAIL PROTECTED]
http://www.dotinc.net/
----- Original Message -----
From: Patrick van Bergen <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: November 4, 1999 7:21 AM
Subject: [JAVA3D] Strange waves in my cubes


> Hai there,
>
> I am building an application that contains a number of rounded cubes. When
> these cubes overlap eachother I get these strange 'waving' effects, that
can
> best be explained by looking at the attached picture. I say waving because
> triangular waves go through the sides of the cube when I zoom in and out
of
> the objects.
>
> I tried changing some of the renderingattributes of the appearance without
> much effect.
>
> Has anyone seen such an effect before? I am not doing anything special
here.
>

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