karansher / computer-graphics-ray-casting

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

Spheres out of frame for sphere-packing #27

Closed priyyanshi closed 1 year ago

priyyanshi commented 1 year ago

The rest of the scenes in the data directory work as expected but for the sphere-packing the images just show the plane. When playing around with the position of the eye, if I set it to 3 instead of 9.6, I get the below. It seems that my camera isn't orientated properly. Is this a problem with my viewing_ray? I'm not sure where to debug this since the other scenes are correct. normal copy

priyyanshi commented 1 year ago

Found the issue!