Skip to content

Commit

Permalink
deploy: e73fb71
Browse files Browse the repository at this point in the history
  • Loading branch information
FuXiii committed Nov 5, 2024
1 parent 37814b6 commit d400d41
Show file tree
Hide file tree
Showing 61 changed files with 833 additions and 653 deletions.
4 changes: 2 additions & 2 deletions .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: feea49b46bdab24ed05b97fb0780dea5
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 4427c0434444d5f8f6e9d3d140f481e2
tags: 645f666f9bcd5a90fca523b33c5a78b7
6 changes: 3 additions & 3 deletions Application/VolumetricCloud.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="index" title="索引" href="../genindex.html" /><link rel="search" title="搜索" href="../search.html" /><link rel="next" title="WebGPU ImGui" href="WebGPUImGui.html" /><link rel="prev" title="应用" href="index.html" />
<link rel="canonical" href="https://github.com/FuXiii/Essentials.of.Vulkan/Application/VolumetricCloud.html" />

<link rel="shortcut icon" href="../_static/VulkanLogo.png"/><!-- Generated with Sphinx 8.0.2 and Furo 2024.08.06 -->
<link rel="shortcut icon" href="../_static/VulkanLogo.png"/><!-- Generated with Sphinx 8.1.3 and Furo 2024.08.06 -->
<title>体积云 - Vulkan入门精要</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b20cc3f5" />
<link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?v=354aac6f" />
Expand Down Expand Up @@ -1531,7 +1531,7 @@ <h5>2.1.4.1 包围盒内三维纹理采样<a class="headerlink" href="#id25" tit
</div>
<p>渲染结果如下:</p>
<p><img alt="camera pixel pos" src="../_images/ray_marching_bounding_box_sample_3d_noise.gif" /></p>
<p>你会发现会有生硬的一圈圈的条纹状结果,之所以会出现这种现象是因为采样步长都是定长,这就会导致上一步和下一步之间的过渡数据被完全忽略,为了解决此问题,只需要在采样点临域内随机做个位移即可,宏观上看就是采样点随机“抖动”。(还有一种方案是“抖动射线的起点或者是射线的方向,无论是什么方式,最终都是随机偏移采样点)</p>
<p>你会发现会有生硬的一圈圈的条纹状结果,之所以会出现这种现象是因为采样步长都是定长,这就会导致上一步和下一步之间的过渡数据被完全忽略,为了解决此问题,只需要在采样点临域内随机做个位移即可,宏观上看就是采样点随机“抖动”。(还有一种方案是“抖动&quot;射线的起点或者是射线的方向,无论是什么方式,最终都是随机偏移采样点)</p>
<p>我们使用之前的<code class="docutils literal notranslate"><span class="pre">hash(...)</span></code>函数生成一个随机值,以此来抖动采样点。</p>
<div class="highlight-CPP notranslate"><div class="highlight"><pre><span></span><span class="c1">//使用hash(...)函数抖动采样点</span>
<span class="c1">//其中vec3(12.256, 2.646, 6.356)随便写的,也可以是其他的</span>
Expand Down Expand Up @@ -2011,7 +2011,7 @@ <h2>未完待续<a class="headerlink" href="#id34" title="Link to this heading">
</aside>
</div>
</div><script src="../_static/documentation_options.js?v=7d86a446"></script>
<script src="../_static/doctools.js?v=9a2dae69"></script>
<script src="../_static/doctools.js?v=9bcbadda"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/scripts/furo.js?v=5fa4622c"></script>
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down
4 changes: 2 additions & 2 deletions Application/WebGPUHelloTriangle.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="index" title="索引" href="../genindex.html" /><link rel="search" title="搜索" href="../search.html" /><link rel="next" title="WebGPU Shader Compiler" href="WebGPUShaderCompiler.html" /><link rel="prev" title="WebGPU ImGui" href="WebGPUImGui.html" />
<link rel="canonical" href="https://github.com/FuXiii/Essentials.of.Vulkan/Application/WebGPUHelloTriangle.html" />

<link rel="shortcut icon" href="../_static/VulkanLogo.png"/><!-- Generated with Sphinx 8.0.2 and Furo 2024.08.06 -->
<link rel="shortcut icon" href="../_static/VulkanLogo.png"/><!-- Generated with Sphinx 8.1.3 and Furo 2024.08.06 -->
<title>WebGPU Hello Triangle - Vulkan入门精要</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b20cc3f5" />
<link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?v=354aac6f" />
Expand Down Expand Up @@ -400,7 +400,7 @@ <h1>WebGPU Hello Triangle<a class="headerlink" href="#webgpu-hello-triangle" tit
</aside>
</div>
</div><script src="../_static/documentation_options.js?v=7d86a446"></script>
<script src="../_static/doctools.js?v=9a2dae69"></script>
<script src="../_static/doctools.js?v=9bcbadda"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/scripts/furo.js?v=5fa4622c"></script>
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down
4 changes: 2 additions & 2 deletions Application/WebGPUImGui.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="index" title="索引" href="../genindex.html" /><link rel="search" title="搜索" href="../search.html" /><link rel="next" title="WebGPU Hello Triangle" href="WebGPUHelloTriangle.html" /><link rel="prev" title="体积云" href="VolumetricCloud.html" />
<link rel="canonical" href="https://github.com/FuXiii/Essentials.of.Vulkan/Application/WebGPUImGui.html" />

<link rel="shortcut icon" href="../_static/VulkanLogo.png"/><!-- Generated with Sphinx 8.0.2 and Furo 2024.08.06 -->
<link rel="shortcut icon" href="../_static/VulkanLogo.png"/><!-- Generated with Sphinx 8.1.3 and Furo 2024.08.06 -->
<title>WebGPU ImGui - Vulkan入门精要</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b20cc3f5" />
<link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?v=354aac6f" />
Expand Down Expand Up @@ -400,7 +400,7 @@ <h1>WebGPU ImGui<a class="headerlink" href="#webgpu-imgui" title="Link to this h
</aside>
</div>
</div><script src="../_static/documentation_options.js?v=7d86a446"></script>
<script src="../_static/doctools.js?v=9a2dae69"></script>
<script src="../_static/doctools.js?v=9bcbadda"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/scripts/furo.js?v=5fa4622c"></script>
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down
4 changes: 2 additions & 2 deletions Application/WebGPUShaderCompiler.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="index" title="索引" href="../genindex.html" /><link rel="search" title="搜索" href="../search.html" /><link rel="next" title="更新日志" href="../Changelog.html" /><link rel="prev" title="WebGPU Hello Triangle" href="WebGPUHelloTriangle.html" />
<link rel="canonical" href="https://github.com/FuXiii/Essentials.of.Vulkan/Application/WebGPUShaderCompiler.html" />

<link rel="shortcut icon" href="../_static/VulkanLogo.png"/><!-- Generated with Sphinx 8.0.2 and Furo 2024.08.06 -->
<link rel="shortcut icon" href="../_static/VulkanLogo.png"/><!-- Generated with Sphinx 8.1.3 and Furo 2024.08.06 -->
<title>WebGPU Shader Compiler - Vulkan入门精要</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b20cc3f5" />
<link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?v=354aac6f" />
Expand Down Expand Up @@ -763,7 +763,7 @@ <h1>WebGPU Shader Compiler<a class="headerlink" href="#webgpu-shader-compiler" t
</aside>
</div>
</div><script src="../_static/documentation_options.js?v=7d86a446"></script>
<script src="../_static/doctools.js?v=9a2dae69"></script>
<script src="../_static/doctools.js?v=9bcbadda"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/scripts/furo.js?v=5fa4622c"></script>
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down
4 changes: 2 additions & 2 deletions Application/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link rel="index" title="索引" href="../genindex.html" /><link rel="search" title="搜索" href="../search.html" /><link rel="next" title="体积云" href="VolumetricCloud.html" /><link rel="prev" title="相关链接" href="../InformalEssay/SomeLinks.html" />
<link rel="canonical" href="https://github.com/FuXiii/Essentials.of.Vulkan/Application/index.html" />

<link rel="shortcut icon" href="../_static/VulkanLogo.png"/><!-- Generated with Sphinx 8.0.2 and Furo 2024.08.06 -->
<link rel="shortcut icon" href="../_static/VulkanLogo.png"/><!-- Generated with Sphinx 8.1.3 and Furo 2024.08.06 -->
<title>应用 - Vulkan入门精要</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b20cc3f5" />
<link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?v=354aac6f" />
Expand Down Expand Up @@ -418,7 +418,7 @@ <h1>应用<a class="headerlink" href="#id1" title="Link to this heading">¶</a><
</aside>
</div>
</div><script src="../_static/documentation_options.js?v=7d86a446"></script>
<script src="../_static/doctools.js?v=9a2dae69"></script>
<script src="../_static/doctools.js?v=9bcbadda"></script>
<script src="../_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="../_static/scripts/furo.js?v=5fa4622c"></script>
<script src="../_static/clipboard.min.js?v=a7894cd8"></script>
Expand Down
Loading

0 comments on commit d400d41

Please sign in to comment.