How to shading
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
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
Popular Topics
Advertisement
Recommended Tutorials
Advertisement