프랙탈과 셰이더 인스턴싱 기법을 이용한 자연스러운 잔디의 실시간 렌더링

Real-time Rendering of Realistic Grasses Using Fractal and Shader-Instancing

  • 김진모 (동국대학교 멀티미디어학과) ;
  • 조형제 (동국대학교 멀티미디어학과)
  • 투고 : 2009.05.26
  • 심사 : 2009.09.29
  • 발행 : 2010.02.28

초록

게임이나 실시간 시뮬레이션 시스템과 같은 분야에서 잔디는 광범위한 지표면을 구성하는 중요한 요소 중 하나이다. 실제 넓은 지형에 자라나는 많은 수의 잔디를 효율적으로 렌더링 하는 작업은 결코 쉬운 일이 아니다. 이러한 문제를 해결하려면 모델의 질과 계산 비용 절약의 두 가지 문제에 늘 직면하게 된다. 본 논문에서는 이러한 두 가지 문제를 해결하기 위한 방안으로 프랙탈 이론과 인스턴싱 기법을 도입하여 자연스러운 잔디의 효율적인 표현 방법을 제안한다. 기존의 잔디 표현의 경우 동일한 모델을 반복적으로 적용하였지만 본 연구에서는 프랙탈의 자기 유사성의 기본 이론을 활용하되 지형의 성질과 빛의 양을 인자로 도입하여 조건에 맞는 다양한 잔디의 자연스러운 표현 방법을 설계하고 또한 많은 수의 잔디 모델을 실시간으로 렌더링하기 위하여 GPU를 활용한 셰이더 인스턴싱 기법을 적용한다.

The grass is one of important components that cover the wide surfaces in the application such as game or real time simulation. Actually, it not easy to render effectively numerous grasses that grow over the wide terrain. To solve the difficulty, we must find a solution to the two contradictions in terms : quality and calculation cost. As a solution to the above-mentioned task, in this paper, we propose an efficient method to represent the natural grasses by introducing fractal theory and instancing technique. Although the existing grass representation methods make use of a simple rule of applying a basic grass model repeatedly in rendering process, on the contrary we take advantage of the basic property of fractal's self-similarity and we devise a natural representation method suited to the given environment by introducing two important growth factors such as nature of terrain and quantity of light, and finally we apply a GPU-based shader instancing technique to rendering numerous grass models in real-time.

키워드

참고문헌

  1. M.A. Shah, J. Konttinen, and S. Pattanaik "real-time rendering of realistic-looking grass," Proceedings of GRAPHITE'05, pp. 77-82, 2005.
  2. K. Falconer, Fractal Geometry-second edition, Wiley, Hoboken, New Jersey 2003.
  3. K. Pelzer, GPU Gems, chapter 7 - Rendering Countless Blades of Waving Grass, Addison-Wesley, Berkeley, California, 2004.
  4. A. Meyer, F. Neyret, and P. Poulin, "Interactive Rendering of Trees with Shading and Shadow," Proceedings of the 12th Eurographics Workshop on Rendering Techniques, pp. 183-196, 2001.
  5. F. Suykens, K. Vom, and A. Lagae, "Interactive Rendering with Bidirectional Texture Functions," Computer Graphics Fourm 22, pp. 463-472, 2003. https://doi.org/10.1111/1467-8659.00694
  6. P. Decaudin and F. Neyret, "Rendering Forest Scenes in Real-time," Rendering Techniques' 04(Eurographics Symposium on Rendering), pp. 93-102, 2004.
  7. K. Boulanger, S. Pattanaik, and K. Bouatouch, "Rendering Grass in Real-time with Dynamic Light Sources and Shadows," SIGGRAPH 2006 (sketch), 2006.
  8. K.J. Vinoy, K.A. Jose, and V.K. Varadan, "Fractal Dimension and Frequency Response of Fractal Shaped Antennas," IEEE-APS International Symposium, pp. 222-225, 2003.
  9. B. Bakay, P. Lalonde, and W. Heidrich, "Real Time Animated Grass," Eurographics 2002, 2002.
  10. J. angel and G. Rodriguez, "A Tutorial and Recipe for Moving Fractal Trees," Comput. & Graphics, Vol.22, No.2-3, pp. 301-305, 1998. https://doi.org/10.1016/S0097-8493(98)00014-4
  11. E. Millan and L. Rudomin, "Impostors, Pseudo-instancing and Image Maps for GPU Crowd Rendering," The International Journal of Virtual Reality, Vol.6, No.1, pp. 35-44, 2007
  12. nVlDIA, http://nvdeveloper.nvidia.com, 2007.
  13. DirectX Developer Center, http://msdn.microsoft.com/ko-kr/directx/default(en-us).aspx, 2007.