Raycasted 3D Sun
A C program that uses raycasting to render a 3D representation of the sun. The program calculates the intersection of a ray with a sphere representing the sun, and determines the color of each pixel based on the sun's surface color at that point. The resulting image is outputted in the PPM format.
Loading comments...