PDA

View Full Version : glNormalPointer and glVertexPointer



zydgyy
11-29-2011, 08:43 PM
if i use these two methods to draw my mesh,can i specific the two kinkds of array have two vary size?I mean if i use FLAT_SHADE mode to shade my mesh,then just a polygon has a normal not every vertex,thank u

Alfonse Reinheart
11-29-2011, 09:44 PM
No, (http://www.opengl.org/wiki/FAQ#Multi_indexed_rendering) not in general.