Open GL
Open GL
Open GL
The following list briefly describes the major graphics operations which OpenGL
performs to render an image on the screen.
1. Construct shapes from geometric primitives, thereby creating
mathematical descriptions of objects.
(OpenGL considers points, lines, polygons, images, and bitmaps to be
primitives.)
2. Arrange the objects in three-dimensional space and select the desired
vantage point for viewing the composed scene.
3. Calculate the color of all the objects. The color might be explicitly
assigned by the application, determined from specified lighting conditions,
obtained by pasting a texture onto the objects, or some combination of
these three actions.
4. Convert the mathematical description of objects and their associated
color information to pixels on the screen. This process is called
rasterization.
Additionally, GLUT, SDL and the GLFW libraries provide functionality for basic
windowing using OpenGL, in a portable manner.
(2) It is also possible to create and execute one time commands within the
perimeters of the computer graphics as well.
Q: What are the benefits of OpenGL for hardware and software developers?
Ans:
4. Scalable. Applications based on the OpenGL API can run on systems ranging
from consumer electronics to PCs, workstations, and supercomputers. As a
result, applications can scale to any class of machine that the developer chooses
to target.
5. Easy to use.The OpenGL API is well structured with an intuitive design and
logical commands. Efficient OpenGL routines typically result in applications
with fewer lines of code than those that make up programs generated using
other graphics libraries or packages. In addition, OpenGL drivers encapsulate
information about the underlying hardware, freeing the application developer
from having to design for specific hardware features.