Calculating normals confusion

Started by
0 comments, last by executor_2k2 21 years, 9 months ago
You know how you use 2 sides of a poly to calculate the surface normal? Well Couldnt the normal point in two directions.....? Well no it couldnt because it follows the right hand rule. So here is my question. Since we can get normals pointing in two directions depending on the polygon, which sides do you use to calculate the normal? Thanks.
Well, that was a waste of 2 minutes of my life. Now I have to code faster to get 'em back...
Advertisement
basically is the order you give to describe a triangle, if you give a counter clockwise order the normal will point in a ''positive'' direction respect the two vectors a-b,b-c, but this is up to you, you can determine if your triangle is counterclockwise or not doing a 4x4 matrix determinant , but you have to specificly give a point as a ''reference'' on the plane.
normally opengl has ccw ( counterclockwise ) as default
someone may correct me because i''m not very well recalling the default value.
sorry for my english

This topic is closed to new replies.

Advertisement