Skip to content

Latest commit

 

History

History

test_ray_tracing

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

test_ray_tracing

Run using:

make && cargo run --release --example test_ray_tracing -- <ply_file_name>

Example when run with the Stanford Bunny from The Stanford 3D Scanning Repository as <ply_file_name>.

test_ray_tracing image

The goals of this experiment were:

  • Use the VK_KHR_acceleration_structure extension
    • Build a bottom-level acceleration structure for the PLY mesh
    • Build a top-level acceleration structure for the 8 instances
  • Use the VK_KHR_ray_tracing_pipeline extension
    • Trace camera rays to the first hit in a compute shader
    • Just interpolate vertex normals at the hit point
  • Compare ray tracing and rasterization results and performance
  • As an unrelated test, try out using a transient attachment for MSAA depth