研究生: |
王正皓 Wang, Cheng-Hao |
---|---|
論文名稱: |
光線追蹤與光柵化繪製下光影與位移表面效果差異之探討 Quality Comparison of Lighting and Displaced Surfaces Between Real Time Ray Tracing and Rasterization |
指導教授: |
張鈞法
Chang, Chun-Fa |
學位類別: |
碩士 Master |
系所名稱: |
資訊工程學系 Department of Computer Science and Information Engineering |
論文出版年: | 2019 |
畢業學年度: | 107 |
語文別: | 中文 |
論文頁數: | 39 |
中文關鍵詞: | 光線追蹤 、光柵化繪圖 、位移映射 、陰影映射 |
英文關鍵詞: | Ray Tracing, Rasterization, Displacement Mapping, Shadow Mapping |
DOI URL: | http://doi.org/10.6345/NTNU201900588 |
論文種類: | 學術論文 |
相關次數: | 點閱:185 下載:22 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
在電腦圖學領域中,主要可分為兩種繪圖方法,一種是以省略複雜計算以換取高互動性的光柵化,以及以大量計算模擬光線行進方式取得精確結果的光線追蹤。光柵化以具備高互動性的畫面更新率著稱,然而隨著近年圖形顯示卡的計算能力大幅增長,使用光線追蹤來繪製結果的畫面更新率也有了大幅的成長,光線追蹤開始具備能配合人類反應速度的畫面更新率。而在這樣的狀況下光線追蹤該如何加入不同的材質與精確的光影效果來為畫面內容增添真實感,並利用光線追蹤的特性解決光柵化所會產生的畫面破綻就變得相當重要。
本論文透過使用Nvidia OptiX即時光線追蹤引擎,將模型表面做位移變形後進行光線追蹤繪製並維持良好的互動性,並與光柵化繪製的凹凸表面結果相比較。此外也比較光線追蹤與光柵化在光影繪製結果上的不同與破綻之處,讓將來使用光線追蹤繪製高互動性內容時能有充足的參考資訊。
How to render the lighting effects and displaced surfaces accurately in ray tracing is very important. This paper provides an implementation of displaced surfaces by using Nvidia OptiX 5.1 and OpenGL as graphical library, and presents the results of OptiX ray tracing and OpenGL rasterization. In addition, this paper also presents the results of comparison of shadow and reflection between ray tracing and rasterization.
This paper also provides the developers a report about the difference between GPU ray tracing and rasterization, and the possibility of using ray tracing to render interactive contents.
[1] Tomasz Cugowski. (2017). Effects in games : Tesselation, HDR & Depth of Field. [Online]. Available : https://sapphirenation.net/effects-games-tesselation-hdr-depth-field/
[2] Philipp S. Gerasimov. (2007). “Chapter 12. Omnidirectional Shadow Mapping, ” in GPU Gems. [Online]. Available : https://developer.nvidia.com/gpugems/GPUGems/gpugems_ch12.html
[3] Jerome Guinot. (2006). Vertex Displacement Mapping using GLSL. [Online]. Available : http://www.ozone3d.net/tutorials/vertex_displacement_mapping.php
[4] John Kessenich , Graham Sellers and Dave Shreiner. (2016). “Shadow Mapping” in OpenGL Programming Guide,9th ed. Addison-Wesley Professional; 9 edition.
[5] Keith Morley. (2018). NVIDIA OptiX Ray Tracing Powered by RTX. [Online].Avaiable : https://devblogs.nvidia.com/nvidia-optix-ray-tracing-powered-rtx/
[6] NVIDIA. (2018). NVIDIA® OptiX™ Ray Tracing Engine. [Online]. Available : https://developer.nvidia.com/optix
[7] Fabio Policarpo and Manuel M. Oliveira. (2006). Relief mapping of non-height-field surface details. In Proceedings of the 2006 symposium on Interactive 3D graphics and games (I3D '06).
[8] Fabio Policarpo and Manuel M. Oliveira. (2007). “Chapter 18. Relaxed Cone Stepping for Relief Mapping ” in GPU Gems3 . [Online]. Available : https://developer.nvidia.com/gpugems/GPUGems3/gpugems3_ch18.html
[9] Brian E. Smits, Peter Shirley and Michael M. Stark. (2000). Direct Ray Tracing of Displacement Mapped Triangles. Rendering Techniques 2000.
[10]Joey de Vries. (2014). Parallx Mapping. [Online]. Available : https://learnopengl.com/Advanced-Lighting/Parallax-Mapping
[11]Joey de Vries. (2014). Shadow Mapping. [Online]. Available : https://learnopengl.com/Advanced-Lighting/Shadows/Shadow-Mapping
[12]Joey de Vries. (2014). Hello Triangle. [Online]. Available : https://learnopengl.com/Getting-started/Hello-Triangle
[13]Joey de Vries. (2014). Point Shadows. [Online]. Available : https://learnopengl.com/Advanced-Lighting/Shadows/Point-Shadows
[14]Chris Wyman. (2005). An approximate image-space approach for interactive refraction. In ACM SIGGRAPH 2005 Papers (SIGGRAPH '05), Markus Gross (Ed.).