Original Post
🔒 Locked
Smooth shading
Advertisement
Look up glShadeModel. That should do what you want, though OpenGL defaults to smooth shading in the first place.
Many 3D Modeling packages use OpenGL, by the way.
Many 3D Modeling packages use OpenGL, by the way.
This has to be done with normals.
A normal - if u dont know - is a vector that is perpendicular to a face. This way a model has sharp edges, such as a cube. For a smooth effect, you need to position normals of the corners of faces, and then average them out.
I realise my explenation is crap, so here is an article i pulled up randomly:
Clicky
Good luck!
A normal - if u dont know - is a vector that is perpendicular to a face. This way a model has sharp edges, such as a cube. For a smooth effect, you need to position normals of the corners of faces, and then average them out.
I realise my explenation is crap, so here is an article i pulled up randomly:
Clicky
Good luck!
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement