2081 9

CSC214 ยท 2081 ยท 5 marks

Explain any two functions in OpenGL. Write the basic commands to draw the pixel and polygon in OpenGL.

Explain any two functions in OpenGL. Write the basic commands to draw the pixel and polygon in OpenGL. [5]

Computer GraphicsChapter 10: Introduction to OpenGLIntroduction, Callback functions, Color commands, Drawings p

These are fundamental OpenGL functions used to delimit the vertices of a primitive or group of primitives. - glBegin(mode) marks the start of a vertex list for a geometric primitive. - glEnd() marks the end of the vertex list. The mode parameter specifies what kind of primitive to draw. Common mo...