Skip to content

Commit 69b555f

Browse files
authored
Merge pull request #171 from KhronosGroup/fix_raytracing_links
Fix broken linkage a new ray tracing chapters
2 parents 9393e43 + b6a6ac8 commit 69b555f

9 files changed

+26
-26
lines changed

en/courses/18_Ray_tracing/Vulkan Ray Tracing With Dynamic Rendering.pdf renamed to attachments/Vulkan Ray Tracing With Dynamic Rendering.pdf

File renamed without changes.

en/courses/18_Ray_tracing/00_Overview.adoc

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Welcome! In this series, we enhance a Vulkan renderer with ray tracing features to implement real-time pixel-perfect shadows (with and without transparency) and a bonus reflection effect. You will work with provided scaffolded code (based on the Vulkan Tutorial) and fill in key shader functions following step-by-step instructions.
66

7-
Slides available link:Vulkan%20Ray%20Tracing%20With%20Dynamic%20Rendering.pdf[here].
7+
Slides available link:/attachments/Vulkan%20Ray%20Tracing%20With%20Dynamic%20Rendering.pdf[here].
88

99
By the end, you'll learn how to:
1010

@@ -25,9 +25,9 @@ This series targets intermediate Vulkan programmers. We assume you have complete
2525
*Provided Code*:
2626
The provided code is a Vulkan renderer that already implements a basic graphics pipeline with dynamic rendering. It is based on the Vulkan Tutorial and it is self-contained in a single C++ source file and a Slang shader file:
2727

28-
- link:../../../attachments/38_ray_tracing.cpp[38_ray_tracing.cpp]
29-
- link:../../../attachments/38_ray_tracing.slang[38_ray_tracing.slang]
30-
- If you get stuck on shader tasks, you can refer to the provided reference solution: link:../../../attachments/38_ray_tracing_complete.slang[38_ray_tracing_complete.slang]
28+
- link:/attachments/38_ray_tracing.cpp[38_ray_tracing.cpp]
29+
- link:/attachments/38_ray_tracing.slang[38_ray_tracing.slang]
30+
- If you get stuck on shader tasks, you can refer to the provided reference solution: link:/attachments/38_ray_tracing_complete.slang[38_ray_tracing_complete.slang]
3131

3232
The source code is structured to guide you through the steps, with hints and boilerplate provided. It also sets up all the required extensions and features, including `VK_KHR_acceleration_structure` and `VK_KHR_ray_query`.
3333
You will find sections of code marked with `// TASKxx` which we reference in each chapter.
@@ -43,14 +43,14 @@ At certain intervals, you will be instructed to update this variable and re-buil
4343

4444
=== Chapters in this series
4545

46-
- link:00_Overview.adoc[Overview]
47-
- link:01_Dynamic_rendering.adoc[Dynamic rendering]
48-
- link:02_Acceleration_structures.adoc[Acceleration structures]
49-
- link:03_Ray_query_shadows.adoc[Ray query shadows]
50-
- link:04_TLAS_animation.adoc[TLAS animation]
51-
- link:05_Shadow_transparency.adoc[Shadow transparency]
52-
- link:06_Reflections.adoc[Reflections]
53-
- link:07_Conclusion.adoc[Conclusion]
46+
- xref:./00_Overview.adoc[Overview]
47+
- xref:./01_Dynamic_rendering.adoc[Dynamic rendering]
48+
- xref:./02_Acceleration_structures.adoc[Acceleration structures]
49+
- xref:./03_Ray_query_shadows.adoc[Ray query shadows]
50+
- xref:./04_TLAS_animation.adoc[TLAS animation]
51+
- xref:./05_Shadow_transparency.adoc[Shadow transparency]
52+
- xref:./06_Reflections.adoc[Reflections]
53+
- xref:./07_Conclusion.adoc[Conclusion]
5454

5555
=== Build and run
5656

@@ -64,4 +64,4 @@ cmake --build build --target 38_ray_tracing --parallel; start .\build\38_ray_tra
6464
Note that the above hasn't changed from the base tutorial, and you may continue to build on other platforms as you have for the rest of the tutorial.
6565

6666
=== Navigation
67-
- Next: link:01_Dynamic_rendering.adoc[Dynamic rendering]
67+
- Next: xref:./01_Dynamic_rendering.adoc[Dynamic rendering]

en/courses/18_Ray_tracing/01_Dynamic_rendering.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,5 +110,5 @@ NOTE: Dynamic rendering reduces CPU overhead and, with the `VK_KHR_dynamic_rende
110110
After this step, you should be comfortable that dynamic rendering is set up correctly. We can now move on to ray tracing features.
111111

112112
=== Navigation
113-
- Previous: link:00_Overview.adoc[Overview]
114-
- Next: link:02_Acceleration_structures.adoc[Acceleration structures]
113+
- Previous: xref:./00_Overview.adoc[Overview]
114+
- Next: xref:./02_Acceleration_structures.adoc[Acceleration structures]

en/courses/18_Ray_tracing/02_Acceleration_structures.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,5 +302,5 @@ Re-build and run using:
302302
You will see no visual difference, but rest assured, your Acceleration Structures are now set up and ready to be used in the fragment shader.
303303

304304
=== Navigation
305-
- Previous: link:01_Dynamic_rendering.adoc[Dynamic rendering]
306-
- Next: link:03_Ray_query_shadows.adoc[Ray query shadows]
305+
- Previous: xref:./01_Dynamic_rendering.adoc[Dynamic rendering]
306+
- Next: xref:./03_Ray_query_shadows.adoc[Ray query shadows]

en/courses/18_Ray_tracing/03_Ray_query_shadows.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,5 @@ image::../../../images/38_TASK06_shadows_static.gif[]
103103
The object is rotating, but the shadows are static. This is because we have not yet updated the TLAS to account for the object's animation. The TLAS needs to be rebuilt whenever the object moves or animates, so let's implement that next.
104104

105105
=== Navigation
106-
- Previous: link:02_Acceleration_structures.adoc[Acceleration structures]
107-
- Next: link:04_TLAS_animation.adoc[TLAS animation]
106+
- Previous: xref:./02_Acceleration_structures.adoc[Acceleration structures]
107+
- Next: xref:./04_TLAS_animation.adoc[TLAS animation]

en/courses/18_Ray_tracing/04_TLAS_animation.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,5 +278,5 @@ float4 fragMain(VSOutput vertIn) : SV_TARGET {
278278
NOTE: Ray Query vs Ray Tracing Pipeline: Notice how we added a ray tracing effect (shadows) directly in the fragment shader. We did not need a separate ray generation shader or any new pipeline. This is the power of ray queries (also known as inline ray tracing): we integrate ray traversal into our existing rendering pipeline. This keeps the shader logic unified and avoids extra GPU shader launches. On many mobile GPUs, this approach is not only more convenient but necessary: as mentioned, current mobile devices mostly support ray queries and not the full ray pipeline, and they run ray queries efficiently in fragment shaders. This is a key reason we focus on ray queries in this lab.
279279

280280
=== Navigation
281-
- Previous: link:03_Ray_query_shadows.adoc[Ray query shadows]
282-
- Next: link:05_Shadow_transparency.adoc[Shadow transparency]
281+
- Previous: xref:./03_Ray_query_shadows.adoc[Ray query shadows]
282+
- Next: xref:./05_Shadow_transparency.adoc[Shadow transparency]

en/courses/18_Ray_tracing/05_Shadow_transparency.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ image::../../../images/38_TASK10_alphacut_shadows.png[]
279279
With everything set in place to support transparency in shadows, implementing other effects like reflections is very straightforward!
280280

281281
=== Navigation
282-
- Previous: link:04_TLAS_animation.adoc[TLAS animation]
283-
- Next: link:06_Reflections.adoc[Reflections]
282+
- Previous: xref:./04_TLAS_animation.adoc[TLAS animation]
283+
- Next: xref:./06_Reflections.adoc[Reflections]
284284

285285

en/courses/18_Ray_tracing/06_Reflections.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,5 +159,5 @@ image::../../../images/38_TASK11_alphacut_reflections.png[]
159159

160160

161161
=== Navigation
162-
- Previous: link:05_Shadow_transparency.adoc[Shadow transparency]
163-
- Next: link:07_Conclusion.adoc[Conclusion]
162+
- Previous: xref:./05_Shadow_transparency.adoc[Shadow transparency]
163+
- Next: xref:./07_Conclusion.adoc[Conclusion]

en/courses/18_Ray_tracing/07_Conclusion.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ The 3D assets were provided by Poly Haven and combined using Blender:
2828
- https://polyhaven.com/a/wooden_picnic_table
2929

3030
=== Navigation
31-
- Previous: link:06_Reflections.adoc[Reflections]
31+
- Previous: xref:./06_Reflections.adoc[Reflections]

0 commit comments

Comments
 (0)