Return to site

Opengl 5.0 download

broken image
broken image

GlutInitDisplayMode (GLUT_SINGLE |GLUT_RGB |GLUT_DEPTH ) GlMaterialfv (GL_FRONT ,GL_SHININESS ,shini ) GlLightfv (GL_LIGHT0 ,GL_DIFFUSE ,white ) GlLightfv (GL_LIGHT0 ,GL_AMBIENT ,white ) GlMaterialfv (GL_FRONT ,GL_DIFFUSE ,matCol ) GlClear (GL_COLOR_BUFFER_BIT |GL_DEPTH_BUFFER_BIT ) This implementation sticks to the task requirements and only shows the teapot, it's rotating, so you can enjoy it's magnificence from all possible viewpoints and perspectives.

broken image
broken image

freeglut did even better and implemented the rest of the tea set, yes, the API also provides a cup and a spoon. As well explained on the Wikipedia page ( link above ), the teapot played such an important role in the development of Computer Graphics, that Mark Kilgard honoured it by giving it it's own primitive drawing functions.