GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - pezcode/lava-rt: Raytracing with liblava

BranchesTags
Open more actions menu

Latest commit

 

History

28 Commits
28 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
demo
demo
 
 
ext
ext
 
 
liblava-extras
liblava-extras
 
 
.clang-format
.clang-format
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
CMakeLists.txt
CMakeLists.txt
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

🌈 Vulkan raytracing with liblava

Features

Support for the Vulkan KHR ray tracing extensions, integrated into liblava with idiomatic wrappers in lava::extras::raytracing.

Acceleration structures

  • abstraction over VK_KHR_acceleration_structure
  • bottom_level_acceleration_structure (BLAS) and top_level_acceleration_structure (TLAS) objects to
    • create
    • build
    • update
    • compact

Raytracing pipeline

  • abstraction over VK_KHR_ray_tracing_pipeline
  • raytracing_pipeline object with support for shader groups

Shader binding table

  • shader_binding_table object to automatically

    • generate SBT layout with correct alignments
    • fill SBT with shader group handles
    • and shader record data (parameters)

    from a raytracing_pipeline

Demo

raytracing cubes • raytraced reflecting cubes

cubes

This demo showcases:

  • BLAS and TLAS creation
  • BLAS compaction
  • TLAS update each frame with transformation matrices
  • callable shader
  • SBT shader records

Build it with:

mkdir build & cd build
cmake ..
cmake --build . --parallel

To recompile shaders, run the appropriate gen_spirv script in demo/res/cubes.

TODO

Non-exhaustive list:

  • host command support for acceleration structures
  • serialization support
  • test intersection shaders
  • move SBT to device-local memory

About

Raytracing with liblava

Topics

demoextensionglslgraphicskhronosliblavaraytracingrenderingvulkan

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

2 watching

Forks

2 forks
Report repository

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.