Skip to content

bezdomniy/Rengin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rengin

A simple GPU ray tracer

Description:

This ray tracer is mostly based on Jamis Buck's The Ray Tracer Challenge. There is also a path tracer rendering option based on Peter Shirley's Ray Tracing in One Weekend (use option -p).

It is implemented in Rust using the WGPU library and compute shaders in WGSL.

System requirements:

How to run:

Pathtracer scene: cargo run --release -- -s assets/scenes/models.yaml -r 256 -b 8

Raytracer scene: Whitted ray tracer as described in Jamis Buck's book has been deprecated and will no longer work.

You can find more scenes under assets/scenes

The scene yaml files are built according to the format created by Jamis Buck for the Ray Tracer Challenge book (with some modifications).

Options:

Type cargo run --release -- -h for a full list of options.

Bugs:

This is early days for my renderer and there are many bugs. Please let me know if you find some.

I have tested it using Vulkan and Metal backends for WGPU. I know that it currently does not work with the DX12 backend.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published