blob: 1995cddcf1376f8b38b3c48fb0c9a29fcc491074 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# Raytracer in C
Trying to write a raytracer from scratch.
It's my first time playing with 2d and 3d image generation.
Image generation is done using pgm.
Can only render planes and circles, but does global and environmental lighting.
Probably switching to c++ and pathtracing instead.
Below is a image generated.
Two links have been added to accommodate cgit and github hosting.
![Github link](https://raw.githubusercontent.com/jbjjbjjbj/raytrace/image/test.png)
![Cgit link](/raytrace/plain/test.png?h=image)
|