View Full Version : glNormal3f
hi,
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?
kehziah
02-09-2003, 01: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)
HalcyonBlaze
02-09-2003, 08: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.
- Halcyon
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.