Playing with Ray Tracing with Go using Peter Shirley Ray Tracing in One Weekend book.
Setup project, GUI, simple image output:
Add vector and ray primitives, background image is now based on rays:
Add simple sphere:
Draw sphere using surface normals:
Add scene with list of primitives to draw:
Implement antialiasing:
Implement diffusion:
Add material property to objects:
Add metal material:
Add fuzziness property to metal material:
Add dielectric material with refraction:
Hollow glass sphere:
Camera control:
Defocus blur:
Random spheres: