Question: The following OpenGL program defines a light source: [4 ma GLfloat light_position[] = {1.0,1.0,0.0,0.0}; glLightfv(GL_LIGHT0, GL_POSITION, light_position); a) What kind of light source is specified?

 The following OpenGL program defines a light source: [4 ma GLfloat

The following OpenGL program defines a light source: [4 ma GLfloat light_position[] = {1.0,1.0,0.0,0.0}; glLightfv(GL_LIGHT0, GL_POSITION, light_position); a) What kind of light source is specified? b) If transformations are applied to the light source, will the model-view matrix or projection matrix be used and why

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!