Probably very simple to most, but how do you create normals.

Example
----------------------------------------------------------------------
QuadArray face = new QuadArray(4, QuadArray.COORDINATES|QuadArray.NORMALS);

face.setCoordinates(0,coordinateArray);

/*
How do you calaculate normals for each of the four quad points
i.e. What is the mathamatics behind creating normals, and how you
I do this using the math classes of Java3D
*/

face.setNormals(0,normalsArray);

Shape3D myShape = new Shape3D(face);

----------------------------------------------------------------------

I understand what normals are, and what they do, but I don't know how to
create them.  Could anyone explain what I need to do, with a simple example.
   Thanks, Domas

______________________________________________________
Get Your Private, Free Email 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".

Reply via email to