问题
I already asked this question but I didn't get my answer. Btw I found some thing new.I want to show a 3D model from a wrl file exported by solid works.The file contains triangle's vertices and I am drawing them with glBegin(GL_TRIANGLES), But it doesn't looks nice and doesn't seems quite 3D! I tried gluSphere to draw an sphere in that scene with same lighting setting and it seems very nice and 3D!!!!
Is there some thing about Glu ?
Should I use Glu for draw triangles?
回答1:
To get a good shading you should also supply normals for the triangles.
来源:https://stackoverflow.com/questions/5867442/3d-lighting-opengl