摘要
光线追踪作为一种全局光照方法,能够模拟真实的阴影、反射、折射和散射等光照现象,从而提供具有高度真实感的图像。为了提高动画游戏的人机交互体验,此次研究首先对传统的光线追踪算法进行了优化,提出了基于突变策略的Metropolis光线追踪算法,并利用该算法完成了游戏动画图像的渲染。此外,结合Kinect V2传感器搭建了虚拟人机交互系统。研究结果表明,动画图像在所提出的算法中具有较好的渲染性能,其平均梯度值和峰值信噪比值最高可达22.54和27.81,互信息量值和结构相似指数值最高可达1.19和0.56。此外,采用Kinect V2传感器的虚拟系统的交互精度值均在0.90以上。综上,此次研究所设计的虚拟交互系统具有较好的交互性能,能够更大程度提高用户的游戏体验。
As a global lighting method,ray tracing can simulate real lighting phenomena such as shadows,reflections,refractions and scattering,thus providing images with a high degree of realism.In order to improve the human-computer interaction experience of animated games,this research firstly optimises the traditional ray tracing algorithm,proposes the Metropolis ray tracing algorithm based on the mutation strategy,and completes the rendering of animated images of the game using the algorithm.In addition,a virtual human-computer interaction system was built by combining the Kinect V2 sensor.The results show that the animated images have good rendering performance in the proposed algorithm,with average gradient values and peak signal-to-noise ratio values up to 22.54 and 27.81,and mutual information quantity values and structural similarity index values up to 1.19 and 0.56.In addition,the interaction accuracy values of the virtual system using Kinect V2 sensor are all above 0.90.In conclusion,the virtual interaction system designed in this research has better interaction performance and can improve the user's gaming experience to a greater extent.
作者
严粤锋
YAN Yuefeng(Guangdong Open University,Guangdong 510091,China)
出处
《自动化与仪器仪表》
2024年第4期167-170,175,共5页
Automation & Instrumentation
基金
广东开放大学(广东理工职业学院)2023年“创新强校工程”建设项目《美育教学虚拟仿真实训基地》(2023LGCQ04-06)。
关键词
光线追踪
虚拟仿真
人机交互
手势
控制
Unity
3D
ray tracing
virtual simulation
human-computer interaction
gesture
control
unity 3D