Skip to content

Latest commit

 

History

History
27 lines (25 loc) · 1.54 KB

README.md

File metadata and controls

27 lines (25 loc) · 1.54 KB

SlowRAY

Command line arguments

All arguments take a single, required parameter.

-cpuprof
Outputs a pprof CPU profile. For debugging use only; not useful for the average user.
-cpus
The number of CPU cores to use at any given time. This defaults to the environment variable GOMAXPROCS, or the number of CPU cores if GOMAXPROCS is not set or set to 1.
-o
The (relative or absolute) path to the file that should contain the output of SlowRAY. Defaults to render.png in the current directory.
-oct
The number of octaves of perlin noise to use. Each octave of noise is scaled and layered onto the previous layers, making the output less smooth and more interesting. Defaults to 3 octaves.
-ppi
The number of points in the rendered image. One point roughly converts to a unit cube in perlin noise. Defaults to 16, resulting in a 16x16 point image.
-ppp
The number of pixels per point. Defaults to 8, resulting (with the default -ppi of 16) in a 128x128 pixel image.
-spp
The number of samples per pixel, in both x and y directions. This allows multisampled antialiasing. Defaults to 4, which means 16 samples per pixel.
-x
-y
-z
The base X, Y, and Z coordinates for the virtual camera. Defaults to 0, 0, and -10, respectively.