Real-Time Rendering of a Displacement Map using an Image Pyramid

이미지 피라미드를 이용한 변위 맵의 실시간 렌더링

  • Published : 2007.06.15

Abstract

displacement mapping enables us to add realistic details to polygonal meshes without changing geometry. We present a real-time artifacts-free inverse displacement mapping method. In each pixel, we construct a ray and trace the ray through the displacement map to find an intersection. To skip empty regions safely, we traverse the image pyramid of displacement map in top-down order. Furthermore, when the displacement map is enlarged, intersection with bilinear interpolated displacement map can be found. When the displacement map is at distance, our method supports mipmap-like prefiltering to enhance image quality and speed. Experimental results show that our method can produce correct images even at grazing view angles. Rendering speed of a test scene is over hundreds of frames per second and the influence of resolution of displacement map to rendering speed is little. Our method is simple enough to be added to existing virtual reality systems easily.

역변위 매핑은 기하정보를 증가시키지 않고, 모델에 상세함을 더하는데 사용된다. 우리는 부드럽고 정확한 굴곡을 표현할 수 있는 GPU 기반의 실시간 역변위 매핑 기법을 제안한다. 이를 위하여, 렌더될 각 픽셀에서 광선을 만들고 이를 전진시켜 나가며 변위 맵과의 교차점을 찾는다. 광선 추적을 안전하고 효율적으로 수행하기 위하여, 변위 맵을 쿼드트리 형태의 이미지 피라미드로 만들고, 이 트리를 하향식으로 탐색하며 전진해 나간다. 나아가, 변위 맵이 화면에서 확대되었을 때 선형 보간을, 그리고 화면에서 멀어져 작게 보일때는 때는 밉맵 필터링을 통해 화질을 향상시키고 렌더링을 가속화한다. 실험을 통해, 기존의 GPU 기반의 기법들과는 달리 날카로운 변위 맵에 대해 예각에서도 깨끗한 이미지를 생성하는 것을 확인하였다. 초당 수 백 프레임의 빠른 속도로 렌더링할 수 있었으며, 변위 맵의 해상도가 커져도 렌더링 속도의 저하가 적었다. 우리의 기법은 구현이 간단하고 수행속도가 빠르기 때문에 현존하는 게임이나 가상 현실 시스템 등에 쉽게 적용할 수 있다.

Keywords

References

  1. Blinn, J. F. 1978. Simulation of Wrinkled Surfaces. In Proceedings of the 5th annual conference on Computer graphics and interactive techniques, ACM Press, pp. 286-292 https://doi.org/10.1145/800248.507101
  2. Cook, R. L. 1984. Shade trees. In Proceedings of the 11th annual conference on Computer graphics and interactive techniques, ACM Press, 223-231 https://doi.org/10.1145/800031.808602
  3. Patterson, J.W., Hoggar. S. G., and Logie, J.R. 1991. Inverse Displacement Mapping. In EUROGRAPHICS Conference Proceedings. Computer Graphics Forum Volume 10, Issue 2 (1991) pp. 129-139 https://doi.org/10.1111/1467-8659.1020129
  4. Cohen, D. and Shaked, A., Photo-Realistic Imaging of Digital Terrain, Computer Graphics Forum, 12, 3 (September 1993), 363-374 https://doi.org/10.1111/1467-8659.1230363
  5. Wright, J. R., and Hsieh, J. C. L. A Voxel-Based, Forward Projection Algorithm for Rendering Surface and Volumetric Data. Proc. IEEE Visualization `92. IEEE Computer Society, Boston, MA, 1992, pp. 340-348 https://doi.org/10.1109/VISUAL.1992.235190
  6. Cohen, D. and Shaked, A., Photo-Realistic Imaging of Digital Terrain, Computer Graphics Forum, 12, 3 (September 1993), 363-374 https://doi.org/10.1111/1467-8659.1230363
  7. Lee, C., and Shin, Y. G., An Efficient Ray Tracing Method for Terrain Rendering, In proceedings of Pacific Graphics '95, 1995, pp. 180-193
  8. Musgrave, F. K. Grid tracing: Fast Ray Tracing for Height Fields. Technical report, Department of Mathematics, Yale University, December 1991
  9. Coquillart, S., and Gangnet, M. 1984. Shaded display of digital maps. IEEE Computer Graphics and Applications, pages 35-42, July 1984 https://doi.org/10.1109/MCG.1984.275877
  10. Brawley, Z., and Tatarchuk, N. 2004. Parallax Occlusion Mapping: Self-Shadowing, Perspective-Correct Bump Mapping Using Reverse Height Map Tracing. In ShaderX3: Advanced Rendering with DirectX and OpenGL, Engel, W., Ed., Charles River Media, pp. 135-154
  11. Policarpo, F., Oliveira, M. M., and Comba, J. 2005. Real-Time Relief Mapping on Arbitrary Polygonal Surfaces. In ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games Proceedings, ACM Press, pp. 155-162 https://doi.org/10.1145/1053427.1053453
  12. Natalya, M. 2006. Dynamic Parallax Occlusion Mapping with approximate soft shadows. In Proceedings of the 2006 symposium on Interactive 3D graphics and games, ACM Press, pp.63-69 https://doi.org/10.1145/1111411.1111423
  13. Donnelly, W. 2005. Per-Pixel Displacement Mapping with Distance Functions. In GPU Gems 2, M. Pharr, Ed., Addison-Wesley, pp. 123-136
  14. Baboud, L., and Decoret, X. 2006. Rendering Geometry with Relief Textures. In Graphics interface Conference Proceedings
  15. Kaneko, T., Takahei, T., Inami, M., Kawakami, N., Yanagida, Y., Maeda, T., and Tachi, S. 2001. Detailed Shape Representation with Parallax Mapping. In Proceedings of the ICAT 2001, 205-208
  16. Shreinder, D., Woo, M., Neider, J., and Davis, T.. 2005. $OpenGL{\circledR}$ Programming Guide: The Official Guide to Learning $OpenGL{\circledR}$, version 2, Addison-Wesley
  17. Oliveira, M. M., and Policarpo, F. 2005. An Efficient Representation for Surface Details. UFRGS Technical Report RP-351, January 26, 2005
  18. Tsalakanidou, F., Forster, F., Malassiotis, S., and Strintzis, M. G. 2005. Real-time acquisition of depth and color images using structured light and its application to 3D face recognition. Real-Time Imaging 11, 5-6 (Oct. 2005), 358-369 https://doi.org/10.1016/j.rti.2005.06.006