OpenGL Geometric Primitives and Menus
In OpenGL programming we have so many function, methods included in the open source libraries. Most basic thing we need to learn in OpenGL are the Geometric Primitives . In the OpenGL points, lines, polygons, images, and bitmaps are considered to be primitives.
Another major use in OpenGL are the colors, they are used in so many ways and are also very important in OpenGL Programming . We render the object with color using glcolor2f or glcolor3f etc as required in the program.
Use of the Points in the OpenGL Porgram is very important and it's base for all heavy programming. After the points we have Lines, this OpenGL Geometric Primitive use to draw many 2d and 3d shapes like triangle, rectangles, squares and other polygons with the use of proper vertices coordinates. We have many Polygon functions also defined in OpenGL graphics API. Only the circle which we need to draw. In today's Program we talk about of these OpenGL Geometric Primitive. Learn How to Draw a Circle in OpenGL…