COMPUTER SCIENCE AND ENGINEERING
COMPUTER GRAPHICS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Turns material properties on.
|
|
Defines the material properties of a drawn object for visual effects
|
|
Switches to material mode to add visual effects.
|
|
Gets the current material properties of a drawn object
|
Detailed explanation-1: -The glMaterialf function assigns values to material parameters. There are two matched sets of material parameters. One, the front-facing set, is used to shade points, lines, bitmaps, and all polygons (when two-sided lighting is disabled), or just front-facing polygons (when two-sided lighting is enabled).
Detailed explanation-2: -What does glMaterialf(…) do? Turns material properties on. Switches to material mode to add visual effects.
Detailed explanation-3: -glVertex is used to draw OpenGL primitives.
Detailed explanation-4: -The OpenGL light model presumes that the light that reaches your eye from the polygon surface arrives by four different mechanisms: AMBIENT-light that comes from all directions equally and is scattered in all directions equally by the polygons in your scene.