Documentation ¶
Overview ¶
Package traytor is the root package for T-ray-tor - a very slow raytracer.
Directories ¶
Path | Synopsis |
---|---|
Package camera provides an interface for mapping pixels on the screen to ray directions.
|
Package camera provides an interface for mapping pixels on the screen to ray directions. |
cmd
|
|
Package hdrcolour provides a float32 RGB colour implementation which conforms to Go's color.Color interface (by conversion to sRGB)
|
Package hdrcolour provides a float32 RGB colour implementation which conforms to Go's color.Color interface (by conversion to sRGB) |
Package hdrimage provides a float32 image implementation with a built-in divisor (for easy averaging of images), which conforms to Go's image.Image interface (by conversion to sRGB)
|
Package hdrimage provides a float32 image implementation with a built-in divisor (for easy averaging of images), which conforms to Go's image.Image interface (by conversion to sRGB) |
Package jsonutil provides various utilities for working with JSON objects
|
Package jsonutil provides various utilities for working with JSON objects |
Package materials provides a generic Material interface and several implemented shaders
|
Package materials provides a generic Material interface and several implemented shaders |
Package maths provides basic operations with floats and vectors
|
Package maths provides basic operations with floats and vectors |
Package mesh provides a triangle mesh implementation using a K-D tree
|
Package mesh provides a triangle mesh implementation using a K-D tree |
Package random provides a random generator with some weighed random functions
|
Package random provides a random generator with some weighed random functions |
Package ray provides an implementation of a ray in 3D space, and intersections with surfaces
|
Package ray provides an implementation of a ray in 3D space, and intersections with surfaces |
Package raytracer provides an implementation for tracing a single ray into the scene
|
Package raytracer provides an implementation for tracing a single ray into the scene |
Package rpc provides objects for distributed and parallel rendering
|
Package rpc provides objects for distributed and parallel rendering |
Package sampler provides a generic interface for intersection samplers, and implementations for simple samplers (colour, number etc) and image textures
|
Package sampler provides a generic interface for intersection samplers, and implementations for simple samplers (colour, number etc) and image textures |
Package scene provides an implementation of a scene
|
Package scene provides an implementation of a scene |
Click to show internal directories.
Click to hide internal directories.