摘要
提出一种基于硬件加速的算法,在实时图形应用中非侵入式地获得各种风格化渲染特效.通过实时地截获OpenGLAPI函数调用,修改了常规的渲染流程.该算法完全采用硬件加速的方法,在图形处理器中对颜色缓冲区和深度缓冲区进行后处理;同时采用OpenGL绘制语言作为高级绘制语言,从而可以和其他硬件加速算法(如置换式贴图、矩阵调色盘变形等)完全兼容.实验结果表明:文中算法适用于交互式非真实感渲染的应用,可以作为一种风格化渲染的强有力的工具.
To achieve various stylized visual effects non-invasively in real-time g propose a hardware-accelerated algorithm. By intercepting OpenGL API functions, raphic applications, we the algorithm changes the conventional rendering process. The algorithm is a purely hardware-accelerated approach by post- processing the color-buffer and depth-buffer in graphics processing units (GPU). The algorithm utilizes OpenGL shading language (GLSL) as the high-level shading language. The algorithm is compatible with other hardware-accelerated algorithms (e.g., displacement mapping or matrix palette skinning). The algorithm has been implemented on Windows2000/XP platform using VC + + and OpenGL. The graphics boards are an ATI RADEON 9800XT and a NVIDIA GeForce FX5600. Experimental results show that the algorithm is suitable for interactive applications of non-photorealistic rendering, and it can be used as a powerful tool for stylized rendering.
出处
《计算机辅助设计与图形学学报》
EI
CSCD
北大核心
2005年第12期2613-2618,共6页
Journal of Computer-Aided Design & Computer Graphics
基金
国家"八六三"高技术研究发展计划(2003AA4Z3120)
国家重点基础研究发展规划项目(2002CB312106)
美国自然科学基金(CCR0201253)
关键词
硬件加速
非侵入式
风格化渲染
OpenGL绘制语言
图形处理器
hardware-accelerated
non-invasive
stylized rendering
OpenGL shading language (GLSL)graphics processing units (GPU)