-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.2 Different spheres' shading model and where to put second light #58
Comments
Hi, You can have one with diffuse and one with all three. Specular or ambient alone won't produce meaningful results. For the second light source, you can decide its position on your own, but please make sure it has some effect in your scene. Best, |
Okay thank you! And for Specular Shading, it is my understanding that vector v is the normalized vector that represents the direction of the camera. That is, it is the origin vector normalized. Is this correct, or am I missing something? |
|
Yes, I meant to say origin. |
The correct way is the following. You cast a ray to the objects. If an intersection occurs, denote |
Hi,
For 1.2, should we have one scene where there is diffuse shading, one with spectral, one with ambient, and one with all three? Also where does the second light source come in? Can someone please clarify.
Thank you in advance!
The text was updated successfully, but these errors were encountered: