Build and Raytrace 3D Scenes

Render scenes using pathtracing. Build 3D scenes out of spheres, cubes, planes, disks, triangles, cones, curves, line segments, cylinders, ellipsoids, and 3D models in the 'Wavefront' OBJ file format or the PLY Polygon File Format. Supports several material types, textures, multicore rendering, and tone-mapping. Based on the "Ray Tracing in One Weekend" book series. Peter Shirley (2018) <>.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.23.6 by Tyler Morgan-Wall, 2 months ago,

Browse source code at

Authors: Tyler Morgan-Wall [aut, cph, cre] , Syoyo Fujita [ctb, cph] , Melissa O'Neill [ctb, cph] , Vilya Harvey [ctb, cph]

Documentation:   PDF Manual  

GPL-3 license

Imports Rcpp, parallel, tibble, magrittr, purrr, png, raster, decido, rayimage, stats, progress

Suggests sf, spData, dplyr, Rvcg, testthat

Linking to Rcpp, RcppThread, progress, spacefillr

System requirements: C++11

Suggested by piecepackr, rayshader.

See at CRAN