Advertisement

How to shading

Started by May 22, 2002 03:05 AM
0 comments, last by nipon 22 years, 9 months ago
now i have many triangles i would like to render it. how to find vector normal.
If you know the positions of all your vertices and their neighbours you can use this to calculate the normal.

There''s a tutorial right here (did you look? really?)
http://www.gamedev.net/reference/articles/article1682.asp

If that makes no sense, try a google search to find the math behind it.


Helpful links:
How To Ask Questions The Smart Way | Google can help with your question | Search MSDN for help with standard C or Windows functions

This topic is closed to new replies.

Advertisement