摘要
虚拟现实的应用是越来越广,为了更好地构建虚拟现实,常常要涉及到一些特效。这些特效直接影响到虚拟现实效果的好坏。通过对镜面反射数学理论以及对镜面反射实现流程的分析,结合Direct3D中模版缓存技术的特点,解决了镜面效果的关键问题,并通过详细代码分析说明了具体的实现过程,最后展示了动态镜面特效。为构建更真实的虚拟现实提供了参考。
The application of virtual reality has been widely used in many domains, virtual reality often refers to some especially effect. These especially effect can influence effect of virtual reality. It analyzes math theory of reflection and implementing process. It tells us how to solve key questions by stenciling buffer of Direct3D. Detailed codes illuminate the process. At last it shows the result,other project of virtual reality can refer it.
出处
《现代电子技术》
2007年第8期71-73,共3页
Modern Electronics Technique