Skip to content
项目

WilliamLewww/vulkan_ray_tracing_minimal_abstraction

在 GitHub 查看

关于

A minimal implementation of Vulkan ray tracing.

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Vulkan Ray Tracing with Minimal Abstraction

ray_pipeline uses the ray tracing pipeline to render the final image.

ray_query uses the graphics pipeline along with ray querying to render the final image.

headless generates a ray traced image without creating a window or requiring a surface.

Important Note

Make sure the VK_KHR_ray_query and VK_KHR_ray_tracing_pipeline extensions are available on your device!

Even if you have a compatible RTX / RX graphics card, your drivers may not have the extension available.

To see if the extension is available, you can use the vulkaninfo binary.

vulkaninfo

Dependencies

Windows

Linux

  • X11 (not required for headless example)
  • GCC

Building

Navigate to a subproject:

cd vulkan_ray_tracing_minimal_abstraction/ray_pipeline
# or
#   cd vulkan_ray_tracing_minimal_abstraction/ray_query
# or
#   cd vulkan_ray_tracing_minimal_abstraction/headless

Build on Linux or Windows through CMake:

mkdir build
cd build
cmake ..
# with validation layers enabled:
#   cmake .. -D VALIDATION_ENABLED=1

# on Linux
make

# on Windows:
#   cmake --build .

Image generated from headless example:

headless

探索相关项目

加载中…