研究生: |
林柏全 Po-Quan Lin |
---|---|
論文名稱: |
幾何細節貼圖表面的即時柔化陰影之生成 Real-Time Soft Shadow for Displacement Mapped Surfaces |
指導教授: |
王俊堯
Chun-Yao Wang 張鈞法 Chun-Fa Chang |
口試委員: | |
學位類別: |
碩士 Master |
系所名稱: |
電機資訊學院 - 資訊工程學系 Computer Science |
論文出版年: | 2008 |
畢業學年度: | 96 |
語文別: | 英文 |
論文頁數: | 25 |
中文關鍵詞: | 柔化陰影 、貼圖 |
外文關鍵詞: | soft shadow, texture |
相關次數: | 點閱:3 下載:0 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
For effectively rendering surface details, many texture-based methods such as normal mapping and displacement mapping were invented to model detailed structures on a surface. Although self-shadow can be achieved by those techniques, most of them support hard shadow or ad-hoc approximation of soft-shadow for the self-shadow effects. In this paper, we present a simple and physically correct method to render soft-shadow in displacement mapped surfaces. Our method first computes a visibility cone map, which stores the average visible ratio of each texel toward a certain direction. Then, during the rendering, the intensity of each pixel on the texture mapped surfaces can be calculated from the overlap between the projected lighting area and the projected visible cone.
為了能更有效率地繪製出物體表面較為細節的結構,許多利用貼圖為手段的方式像是用貼圖改變表面的normal或是用一些height fields取代表面結構的方式因應的被發明。即便這些技術能方便的做到物體表面結構在自身表面上產生的陰影效果,但卻通常只能支援點光源所造成的輪廓明顯銳利的陰影或是用一些不符合物理意義的方式去趨近面積光源所造成的柔和的陰影。
這篇論文中,我們會介紹一個簡單方便的方式改良height fields所取代表面的繪製技術,使之可以做到面積光源產生柔和陰影的效果。首先我們會在height fields每一點預先計算一些錐狀體來簡化每個點的能見區域,將這些錐狀體的角度存成一張貼圖,在繪圖時,就能藉由這些錐狀體中能涵蓋光源面積的比例來計算出每個點可以受到的光照強度。
1.James F. Blinn, “Models of light reflection for computer synthesized pictures”, SIGGRAPH '77: Proceedings of the 4th annual conference on Computer graphics and interactive techniques, pp. 192-198, ACM, 1977.
2.Robert L. Cook, “Shade trees”, Proceedings of the 11th annual conference on Computer graphics and interactive techniques, p.223-231, January 1984.
3.Jonathan Dummer, “Cone Step Mapping: An Iterative Ray-Heightfield Intersection Algorithm”, Available online at http://www.lonesock.net /files/Cone -StepMapping.pdf, 2006.
4.Chris Green, “Efficient self-shadowed radiosity normal mapping”, SIGGRAPH '07: ACM SIGGRAPH 2007 courses, pp. 1-8, ACM, 2007.
5.Christopher Oat, Pedro V. Sander, “Ambient aperture lighting”, Proceedings of the 2007 Symposium on interactive 3D Graphics and Games (Seattle, Washington, April 30 - May 02, 2007), pp.61-64.
6.Matt Pharr and Simon Green, “Ambient Occlusion”, GPU Gems, pp. 279-292, 2004.
7.Fabio Policarpo, “Relaxed Cone Stepping for Releif Mapping”, GPU Gem3, pp. 409-428, 2007.
8.Fábio Policarpo, Manuel M. Oliveira, João L. D. Comba, “Real-time relief mapping on arbitrary polygonal surfaces”, Proceedings of the 2005 symposium on Interactive 3D graphics and games, pp. 155-162, ACM, 2005.
9.Peter-Pike J. Sloan, Michael F. Cohen, “Interactive Horizon Mapping”, Proceedings of the Eurographics Workshop on Rendering Techniques 2000, pp. 281-286, Springer-Verlag, 2000.
10.Natalya Tatarchuk, “Practical parallax occlusion mapping with approximate soft shadows for detailed surface rendering”, SIGGRAPH '06: ACM SIGGRAPH 2006 Courses, pp. 81-112, ACM, 2006.
11.Lance Williams, Casting curved shadows on curved surfaces, Proceedings of the 5th annual conference on Computer graphics and interactive techniques, p.270-274, August 23-25, 1978.