dp
New Member
Posts: 3
|
Post by dp on Oct 27, 2022 1:21:34 GMT
Hi, I am stuck at the end of chapter 7. The test "Constructing a ray when the camera is transformed" is failing because the result I get for the ray direction is: (- sqr2/2, 0, - sqr2/2) (note the x is negative) All the other tests in that section are passing. And when I render the scene at the end of chapter 7 I get an inversion and 2 scenes. I checked my code but obviously I missed something  any help to see where I need to look closer ? thanks. Attachments:
|
|
dp
New Member
Posts: 3
|
Post by dp on Nov 11, 2022 5:54:38 GMT
I moved along continuing with the book but I finally found my issue. x and y swapped and bad memory allocation. (looks like I might have some issue with the cone though) Attachments:
|
|