Skip to content

Me playing around with voxel ray tracing using rust and Vulkan

Notifications You must be signed in to change notification settings

ria8651/voxel-tracing-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust/Vulkan Ray Tracing Playground

Screenshots

Dragon

dragon dragon_closeup

Transperancy

transperency transperency_closeup

Controls

Forward: W
Back: S
Right: D
Left: A

Up: Space
Down: Shift

Speed up/slow down: Scroll Wheel

Toggle shadows: O
Reprojection: P

Settings

You can change the file and octree depth at the top of main.rs.

Compiling

This project requires cargo (rust) to be compiled and run. You can get it from here. To compile the project run cargo build --release in this directory.

Everything is cross platfrom except for shaderc so make sure to go through here to get shaderc working on your platform.

Sources

Most of the rust code is taken from the Vulkano Examples triangle demo. I used it for basic rendering and I used the basic compute shader demo for the SSBO. This project relies on:

Datastructures

I have documented my datastructures here

About

Me playing around with voxel ray tracing using rust and Vulkan

Resources

Stars

Watchers

Forks