Computer Science, asked by KaranKing3175, 1 month ago

how polygon is drawn in OpenGl? How lightining is applied to this polygon surfaces?

Answers

Answered by Anonymous
0

Explanation:

OpenGL supports several basic primitive types, including points, lines, quadrilaterals, and geneneral polygons. All of these primitives are specified using a sequence of vertices.

How do you draw a filled polygon in OpenGL?

By default OpenGL draws polygons in fill mode by filling in all the pixels enclosed within the boundary, but they can also be drawn in line mode as outlined polygons, or in point mode as points at the vertices. In OpenGL a polygon has a front and a back side.

Similar questions