摘要
提出了一种基于质点弹簧模型的快速可交互的实时水面模拟方法。使用虚拟弹簧按照四边形连接规则将组成水面几何结构的点连接起来;为模拟质点间相对运动引起的阻力,引入内摩擦系数和速度衰减系数,水面的受力运动模型中质点的运动规律遵循质点弹簧运动规律;水面渲染时,借助Cg着色语言实现水面的反射和折射;通过简化物理碰撞规则,实现了对雨滴与水面交互的加速处理。实验表明,交互时帧率达到60fps,且真实感强,可以明显提高民族特需品的数字化展示效果。
A fast interactive real -time water surface simulation method based on the Mass- spring model is proposed. These dots formed a water surface geometry structure are connected in accordance with the quadrilateral connection rules using Virtual spring. To simulate the resist- ance caused by the relative motion between particles, the coefficient of internal friction and speed attenuation coefficient are introduced. The motion law of the particle in surface force mod- el follows the motion law of the particle spring. The water surface reflection and refraction is a- chieved with the Cg shading language in surface rendering. Then rain and surface water interac- tions and accelerated processing is realized by utilizing the simplifed physical impact rules. Ex- perimental results show that the interactive frame rate gets 60fps, and a strong sense of reality is abtained, which significantly improves the digital display of special necessities for ethnic minorities.
出处
《大连民族学院学报》
CAS
2012年第1期15-18,共4页
Journal of Dalian Nationalities University
基金
国家科技支撑计划课题(2009BAH41B05)
关键词
民族特需品
虚拟现实
水面模拟
质点弹簧模型
实时交互
special necessities for ethnic minorities
virtual reality
water surface simulation
mass - spring model
real - time interaction