Advertisement Jump to content
Sign in to follow this  
levjs

Normals HELP

This topic is 4929 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, Can someone please try to explain normals to me. What are they, and how in the world would i calculate them using polygonal data. I really do not understand tbis. Thanks a ton. Levi

Share this post


Link to post
Share on other sites
Advertisement
Normals are a direction vector that points in the direction of a surface. Think of a plane, the normal of the plane is a vector pointing the direction the plane is facing.

You need them to do collision detection and to do lighting. To get a normal of a plane you take the cross product of two vectors lying on the plane. The cross product gives you the normal vector. The direction is important depending on which way it is pointing out.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!