karansher / computer-graphics-ray-casting

Computer Graphics Assignment about Ray Casting
1 stars 0 forks source link

output of Sphere.cpp look different #28

Closed HELENCUICUI closed 2 years ago

HELENCUICUI commented 2 years ago

Hi! My normal.ppm looks a bit different from the picture that is given in the assignment instruction. Is this a problem? I am not sure what I did wrong to cause this.

Screen Shot 2022-09-25 at 7 14 51 PM
ValentinaManferrari commented 2 years ago

It happened to me too but I solved it after finding very small bugs in my viewing_ray and plane intersect functions... I recommend double-checking your negative signs in those functions!

HELENCUICUI commented 2 years ago

Thanks a lot! I fixed it!