Skip to content
プロジェクト

WilliamLewww/vulkan_ray_tracing_minimal_abstraction

GitHubで見る

概要

A minimal implementation of Vulkan ray tracing.

デザイン・メディア

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

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

関連プロジェクトを探す

読み込み中…