Hi,
I am using a triangle strip array to create a shell for an object.
(Like for a cube its shell would be a 4 connected squares, without the
top and the bottom covers)
//////////////////////////////
-----
|\ Cov\ -Cov: Cover (These are not created, only the sides
| \____\ of the cube are created)
| | |
| | |
\ | |
------
//////////////////////////////
But when I am using lights on it, I am getting a dull apperance on that
object.
Hence, what I think that when I am using the TriangleStripArray to
generate the list of triangles it does not automatically associate a
normal with the individual triangles.Hence, how can I add normals to
individual triangles in TriangleStripArray after I have created it?
Or if the TriangleStripArray is creating individual normals for the
triangles then why is there a dull appearance?
With thanks,
-Deep
=====
==================================================
Gradute Student
University of Illinois - Urbana Champaign
==================================================
P.S. You cannot make someone love you...
You can only make yourself someone worthy of being loved...
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.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".