Hi, Mattie:

Thank you very much. My understanding is that the NormalGenerator works only for  GeometryInfo and GeometryInfo does not support setCapability(). Is this true? I want to give the users opportunity to change the color of side faces and height of polyhedrons. So I used  IndexedTriangleArray instead of GeometryInfo.

Gaoming

 

>From: matthias sweertvaegher <[EMAIL PROTECTED]>
>Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: [JAVA3D] Scene appearance problem
>Date: Mon, 23 Jul 2001 17:22:42 +0200
>
>7/23/01 4:44:56 PM, gaoming fu <[EMAIL PROTECTED]>wrote:
>
> >
> > I built some polyhedrons using IndexedTriangleArray, the normal for each
> >vertex point is (0.0, -1.0, 0.0). I used the following code to set the
> >appearance:
>
>i don't really understand why you let all your normals point downwards? maybe
>you want them to point inward?
>you can also let java3d the normal calculation if you use the normalgenerator class
>
> >
> >Now my trouble is, if I keep zooming in, I can not see some sides of the
> >polyhedrons. It seems that the normals changed. I do not have this trouble
> >if I keep zooming out. I am not sure if this is normal problem, or lighting
> >problem.
>
>or maybe it is just a implementation bug of your opengl library
>I noticed that the microsoft opengl driver doesn't clip right so you get some other
>color shading (when clipping occurs (in your case when you zoom in fully)
>maybe this bug is only with quads , I don't remember in detail anymore
>
>mattie
>
>===========================================================================
>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 FREE download of MSN Explorer at http://explorer.msn.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".

Reply via email to