(Book 1, section 6.4) I don't understand the reasoning behind surface normals calculations and always being against the ray. #1377
FranAyrolo
started this conversation in
General
Replies: 1 comment
-
Take what I say with a grain of salt (I am learning just like you), but my understanding is:
... means inside the
... means inside the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I finished book 1 entirely, but (besides some math) there's a part that I didn't understand. In secion 6.4 it says (bold for emphasis):
I don't understand how it would be determined at coloring time. From what I can see, geometry intersection time is basically that, the point at which we calculate whether we hit the sphere or not. But how would that happen during coloring?
Also, maybe the order of choice in the explanation is reversed?
As in, it first explains how to code it to make 'normals always point out', which means determining which side the ray is on happens during coloring, then Listing 17, then 'normals always against the ray', Listing 18, and then the paragraph I quoted.
Shouldn't that paragraph read:
Beta Was this translation helpful? Give feedback.
All reactions