To quickly test to see if it is the normals, try altering the appearance for
your pyramid like this:
Appearance ap = ...
PolygonAttributes pa = new PolygonAttributes();
pa.setCullFace(PolygonAttributes.CULL_NONE);
ap.setPolygonAttributes(pa);
If the polygon now shows up, your problem is your normals.
Bobby
----Original Message Follows----
From: "Pondrom, Pierre L" <[EMAIL PROTECTED]>
Subject: Re: [JAVA3D] Triangle not rendering
> Ajit
It sounds like it could be the Normals. They can be tricky.
Check them next.
pierre,
> ----------
> From: Ajit Dharmik[SMTP:[EMAIL PROTECTED]]
> Reply To: Discussion list for Java 3D API
> Sent: Friday, July 28, 2000 12:59 PM
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] Triangle not rendering
>
> hi all!!
>
> I created a Shape3D in the form of a pyramid specifying my own geometry.
I
> am
> using TriangleStripArray and using 6 triangles to render the whole
pyramid
> (4
> faces and 2 for the bottom). However, one of the bottom triangles is not
> rendering properly. I checked and rechecked all co-ordinates and colors.
> What
> must be the problem???
>
> Thanks
>
> Ajit
>
> ____________________________________________________________________
> Get free email and a permanent address at http://www.amexmail.com/?A=1
>
>
==========================================================================
> =
> 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".
>
===========================================================================
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".
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
===========================================================================
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".