Google News
logo
JOGL - Interview Questions
What do you understand by color perception in OpenGL?
Drawing color pictures in a window on the screen is the main goal and application of OpenGL. Every calculation done in OpenGL is done to determine the final color of every pixel that is to be drawn in the window. We all know that light is composed of various photons and each photon travels along its own path and vibrates along its own frequency.

When certain cells in the retina of the human eye get excited after being struck by the photon, then it perceives color. This process is known as color perception. Similarly, if we talk about the computer screen, each pixel emits the different amount of red, green, and blue light on the screen. Since the color maps are controlled by the window system, so it becomes a bit difficult to do this with the help of OpenGL commands.
Advertisement