ABSTRACT
This paper discusses the problem of decal texture mapping onto arbitrary surfaces. Most of the current applications using decal textures are using sub-face projection or multi-layer texture blending technique to resolve this problem. Both of these methods are heavy loaded on CPU and the rendering speed is directly related to the number of the decals. In our approach, a post-processing decal texture mapping algorithm is used to blend the decals into frame buffer after the main rendering stage and implemented as a procedural texture fragment shader on the GPU. Our algorithm fully utilized the parallelism nature of GPU, and achieved a comparable high real-time rendering performance.
References
- Cohen, M. F., Shade, J., Hiller, S., and Deussen, O. 2003. Wang tiles for image and texture generation. ACM Transaction on Graphics 22, 3, 287--294. Google Scholar
Digital Library
- Forsyth, T. 2002. Unique textures. In Game Programming Gems 3, Charles River Media, D. Treglia, Ed., 459--466.Google Scholar
- Harris, M., 2003. General-purpose computation on gpus. http://www.gpgpu.org/.Google Scholar
- Hart, J. C. 2001. Perlin noise pixel shaders. In HWWS '01: Proceedings of the ACM SIGGRAPH/EUROGRAPHICS work-shop on Graphics hardware, ACM Press, New York, NY, USA, 87--94. Google Scholar
Digital Library
- Heckbert, P. S. 1986. Survey of texture mapping. IEEE Comput. Graph. Appl. 6, 11, 56--67. Google Scholar
Digital Library
- Jakobsen, T. 2001. Advanced character physics. In Proceedings of the Game Developer Conference 2001.Google Scholar
- James, G. 2001. Operations for hardware-accelerated procedural texture animation. In Game Programming Gems 2, Charles River Media, M. DeLoura, Ed., 497--509.Google Scholar
- Latta, L. 2004. Building a million particle system. In Proceedings of the Game Developer Conference 2004.Google Scholar
- Lengyel, E. 2000. Tweaking a vertex's projected depth value. In Game Programming Gems, Charles River Media, M. DeLoura, Ed., 361--365.Google Scholar
- Lengyel, E. 2001. Applying decals to arbitrary surfaces. In Game Programming Gems 2, Charles River Media, M. DeLoura, Ed., 497--509.Google Scholar
- Owens, J. D., LUEBKE, D., GOVINDARAJU, N., HARRIS, M., KRGER, J., LEFOHN, A. E., AND PURCELL, T. J. 2005. A survey of general-purpose computation on graphics hardware. In Eurographics 2005, State of the Art Reports, 21--51.Google Scholar
- Perlin, K. 2002. Improving noise. In SIGGRAPH 2002: Proceedings of the 29th annual conference on Computer graphics and interactive techniques, ACM Press, New York, NY, USA, 681--682. Google Scholar
Digital Library
- Wei, L.-Y. 2004. Tile-based texture mapping on graphics hardware. In HWWS '04: Proceedings of the ACM SIGGRAPH/EUROGRAPHICS conference on Graphics hardware, ACM Press, New York, NY, USA, 55--63. Google Scholar
Digital Library
- Woo, M., Neider, J., and Davis, T. 1997. OpenGL programming guide (2nd ed.): the official guide to learning OpenGL version 1.1. Addison-Wesley Longman Publishing Co., Inc., Boston, MA, USA. Google Scholar
Digital Library
Index Terms
A post-processing decal texture mapping algorithm on graphics hardware





Comments