ray-tracing-the-rest-of-your-life

module
v0.0.0-...-9165eb6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2022 License: CC0-1.0

README

Raytracing: the rest of your life

Golang implementation of Peter Shirley's Ray Tracing: The Rest of Your Life book.

This is the program output with 10000 samples per pixel:

A Cornell box with a glass sphere

Directories

Path Synopsis
pkg
aabb
Package aabb implements functions to work with axis-aligned bounding boxes.
Package aabb implements functions to work with axis-aligned bounding boxes.
camera
Package camera implements a set of functions to work with cameras.
Package camera implements a set of functions to work with cameras.
canvas
Package canvas implements a frame buffer and its associated methods.
Package canvas implements a frame buffer and its associated methods.
hitable
Package hitable implements the methods used to compute intersections between a ray and geometry.
Package hitable implements the methods used to compute intersections between a ray and geometry.
hitabletarget
Package hitabletarget implements the methods used to extract PDF data from hitables.
Package hitabletarget implements the methods used to extract PDF data from hitables.
material
Package material implements the different materials and their properties.
Package material implements the different materials and their properties.
onb
Package onb implements methods to work with ortho-normal bases
Package onb implements methods to work with ortho-normal bases
pdf
Package pdf implements methods to work with probability density functions.
Package pdf implements methods to work with probability density functions.
perlin
Package perlin implements functions to generate Perlin noise.
Package perlin implements functions to generate Perlin noise.
ray
Package ray implements the interface and methods to work with rays.
Package ray implements the interface and methods to work with rays.
render
Package render implements the main rendering loop.
Package render implements the main rendering loop.
scatterrecord
Package scatterrecord implements the scatter record.
Package scatterrecord implements the scatter record.
scenes
Package scenes implements some sample scenes.
Package scenes implements some sample scenes.
texture
Package texture implements different types of textures.
Package texture implements different types of textures.
vec3
Package vec3 provides utility functions to work with vectors.
Package vec3 provides utility functions to work with vectors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL