View Full Version : glNormal3f
my object is always the ONE KIND OF color with the lights.
someone tell me i should use glNormal3f to make it cooler.
then how can i set the attribute?
is there any example for me?
thx in advanced
i have over 1000 faces , must i add glNormal3f for every face?
02-09-2003, 02:40 AM
If you want flat shading, yes you need 1 glNormal call for each face.
If you want Gouraud shading, you need 1 glNormal call for each vertex.
i have found GL_AUTO_NORMAL in internet,can i use it?
No.. thats for high order surfaces only ( spline surfaces)
02-09-2003, 09:21 AM
To keep you sanity, you probably want to calculate the normals instead of specifying them by had http://www.opengl.org/discussion_boards/ubb/biggrin.gif.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.