Skip to content

misha7b/raytracerCW

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CGR 2025 Raytracer

Export blend files to a .txt file that the raytracer can read with the export.py script.

Implemented a Whitted-style raytracer, soft shadows, glossy reflections, lens effects and triangle meshes.

Build

make raytracer

Run

./raytracer -i scene.txt -o output.ppm

Command-Line Options

- -i <file> — input scene
- -o <file> — output PPM
- -w, -h — override resolution
- -spp <N> — antialiasing samples
- -d <N> — recursion depth
- -no-bvh — disable BVH
- -no-shading — disable shading
- --shadow-samples <N> — soft shadows
- --glossy-samples <N> — glossy reflections
- -exposure <x> — exposure multiplier
- -tonemap <none|reinhard|aces> — tone mapping
- --help — list options

Glass render Glass render Glass render Glass render

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors