Question

When OpenGL lighting computations are performed, the actual position of the light that is used is...

When OpenGL lighting computations are performed, the actual position of the light that is used is

Group of answer choices

a. Whatever was given in the "glLightfv( GL_LIGHT0, GL_POSITION,..." call times the Projection*ModelView matrix

b. Whatever was given in the "glLightfv( GL_LIGHT0, GL_POSITION,..." call

c. Whatever was given in the "glLightfv( GL_LIGHT0, GL_POSITION,..." call times the Projection matrix

d. Whatever was given in the "glLightfv( GL_LIGHT0, GL_POSITION,..." call times the ModelView matrix

Homework Answers

Answer #1

ANSWER - D

OpenGL controls the position and direction of light source , glLight*() is called to specify the position.

The project matrix does not have any effect in position or direction of light.

The actual position of the light that is used is whatever was given in the "glLightfv( GL_LIGHT0, GL_POSITION,..." call times the ModelView matrix .

So, the correct option is D.

=================================END================================

Please comment if u need any other info and DO LEAVE A LIKE, it would mean a lot. Thanks :)

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
1. Which of the following terms is used when assuming a business will continue to operate...
1. Which of the following terms is used when assuming a business will continue to operate in the foreseeable future? Group of answer choices a. going concern assumption b. separate entity concept c.monetary measurement concept d. time period assumption 2. What is the impact on the accounting equation when an accounts receivable is collected? Group of answer choices a.the total of neither side changes b. both sides increase c. both sides decrease d. only the Asset side changes 3. Which...
1. The equation Δ?=?0?+0.5??2Δx=v0t+0.5at2 Can be used to describe an object's position x. When can this...
1. The equation Δ?=?0?+0.5??2Δx=v0t+0.5at2 Can be used to describe an object's position x. When can this equation be applied? Group of answer choices: A. Displacement must be constant B. The object must be acted on by no more than one force C. Velocity must be constant D. Acceleration must be constant E. The force acting on the object must be gravity 2. If a vector A has a y component equal to |?|cos?|A|cos⁡θ, then the angle ?θ is the angle...
1) Which budget is the starting point in preparing financial budgets? Group of answer choices A)...
1) Which budget is the starting point in preparing financial budgets? Group of answer choices A) the budgeted balance sheet B) the capital expense budget C) the budgeted income statement D) the cash receipts budget 2) The direct materials budget is prepared using which budget's information? Group of answer choices A) raw materials budget B) cash receipts budget C) cash payments budget D) production budget 3. Which of the following includes only financial budgets? Group of answer choices A) budgeted...
An astronomer observes two stars explode in simultaneous supernovae. The stars are 200 light years apart....
An astronomer observes two stars explode in simultaneous supernovae. The stars are 200 light years apart. To an observer traveling at 0.5c, the explosions will generally Group of answer choices a) occur at different times. b) still be simultaneous. c) be farther apart. d) take twice as long to happen.
1) When the price of 12-can Coca Cola is decreased from $5 to $3.33, the quantity...
1) When the price of 12-can Coca Cola is decreased from $5 to $3.33, the quantity sold increases from 250,000 to 470,000. If so, which one of the following would be true? Group of answer choices a. Market skimming pricing strategy will work best given the price elasticity of demand is inelastic b. Market skimming pricing strategy will work best given the price elasticity of demand is elastic c. Market penetration pricing strategy will work best given the price elasticity...
When illuminating two light wavelengths λ1 = 3200Å and λ2 = 5200Å on a metal used...
When illuminating two light wavelengths λ1 = 3200Å and λ2 = 5200Å on a metal used cathode of a photovoltaic cell, it is found that the ratio of the maximum initial velocity of the photoelectrons equal to 2. Find the work of that metal. Indicate: Planck's constant, h = 6,625.10-34J.s; electric charge electron, e = -1,6.10-19C; the speed of light c = 3,108m / s. A. 1.89 eV. B. 1.90 eV. C. 1.92 eV. D. 1.98 eV.
R Studio must be used to answer these questions 1. You know that 85% of the...
R Studio must be used to answer these questions 1. You know that 85% of the distribution of a standard normal random variable lies to the left of a given value. How do you determine the given value? Group of answer choices a. qnorm(.85) b. pnorm(.85) c. 1-pnorm(.85) d. 1-dnorm(.85) 2. You want to generate 1000 random values from a normal distribution with mean 100 and standard deviation 15. What command will produce these values? Group of answer choices a....
Is this model of a Confusion Matrix, better in predicting a person that washes his/her hand...
Is this model of a Confusion Matrix, better in predicting a person that washes his/her hand or when someone does not wash their hand? Confusion Matrix Training Actual Predicted Count Wash   Yes No Yes 77 10 No 42 21 Group of answer choices A. Model is better in predicting a person that doesn’t wash his/her hand because when the actual is NO, there is a smaller chance that the model predicts a YES B. Model is better in predicting a...
4. Which of the following are limitations of an entity’s Statement of Financial Position? I. The...
4. Which of the following are limitations of an entity’s Statement of Financial Position? I. The Statement of Financial Position prepared at the end of the financial period may not be representative of the financial position at other times during the financial period. II. The Statement of Financial Position may not include all items that create value for the entity. III. The Statement of Financial Position is a historical representation of an entity’s financial position and does not consider the...
A study was performed to determine whether patients experienced an adverse event within two weeks when...
A study was performed to determine whether patients experienced an adverse event within two weeks when placed on a particular new medication. The results were as follows: Adverse event No adverse event Total Treatment group 109 543 652 Control group 51 290 341 Total 341 652 993 How many people were studied altogether? If a patient is selected at random from among those studied, what is the probability that that person was in the control group? Round your answer to...