View Full Version : draw flat or smooth frame

10-02-2003, 07:32 PM
drawing flat and smooth frame requires calculation of the normal of the surfaces and need alot of effort to do in coding part
am i right?

is there a function in opengl i can use to skip all those horible calculation for normal in order to draw flat or smooth polygon?

10-02-2003, 10:34 PM
Hi !

Nope, but it's not that difficult to do, and if you don't want to do it yourself, then download the source code for the Graphics Gems books, one of them (sorry, don't rember wich one) has complete source code that calculates all the normals for a mesh to create a nice smooth object.


10-03-2003, 12:01 AM
do u mind to tell me where i can obtain these information please?