Dennis J Bouvier wrote:

> If the situation is as David has described, then the "problem" lies
> in how the triangle strip array has been created.  Java 3D, Open GL,
> and other 3D graphics rendering systems cull polygonal surfaces
> by default.  It seems as though the "holes" are individual triangles
> of the strip with the vertices defined in the opposite order as the
> rest of the strip.
>

Yes. That's almost certainly the problem.
So what you're telling me is that a triangle strip
has to be created like this:

|   / |   / |   / |   / |
| /   | /   | /   | /   |

and not like this ?

  |   / | \   |    / | \    |
  | /   |   \ |  /   |   \  |

Does the API documentation on TriangleStripArray specify this? I don't recall
that
it does. It should if it is a requirement.

I had chosen the diagonal direction for each triangle for which the diagonal
most closely approximates the cubic-spline approximation of the surface
height in the middle of each rectangle.
That's why I had diagonals in any old direction along the strip.

Just out of curiosity, is it possible to override the triangle-vertex-order
assumption of
which is the back-face by supplying normals?

Eric

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