hi i am beginner to opengl.. i have a question. while constructing a sphere by subdividing the tetrahedron why are v suppose to normalize the points that v obtain during subdivision process ? what is the logic involved in this ?
code for normalizing is this :
void normal(GLfloat *p)
if(d>0.0) for(i=0;i<3;i++) p[i]/=d;