光学 精密工程, 2017, 25 (4): 1112, 网络出版: 2017-06-02  

多项式函数的实时水波模拟算法

Real-time water wave simulation algorithm by polynomial function
作者单位
深圳大学 计算机与软件学院, 广东 深圳 518060
摘要
本文通过分析三角函数的泰勒展开式, 提出了一种利用多项式函数优化三角函数的计算方法, 用于改善虚拟系统中水波模拟的实时性。本算法中, 通过引入多种控制波形的参数, 实现了水波波形的多样性。在此基础上, 还提出了一种计算表面法向量的方法, 以便更好地与周围环境及光线进行交互。选用自然水波图像作为参考, 并与当前典型算法Gerstner和FFT算法进行性能对比。实验结果表明, 本文算法能生成丰富、自然的水波运动, 且一定程度上减少了水波模拟过程中的计算量(约13%), 适用于实时性要求较高的系统。
Abstract
Through analyzing the Taylor expansion in trigonometric function, a calculation scheme by using polynomial function was proposed to optimize the Taylor expansion in trigonometric function. By doing that, the real-time performance of water wave simulation in virtual system was improved. Otherwise, the diversity of water wave was obtained through introducing various control parameters in polynomial function. Meanwhile, the surface normal vector calculation method was applied to achieve better results in light interaction between water surface and surrounding environment. The experimental on natural water wave indicates that the water wave movement generated by proposed algorithm is natural and diversification. It also can reduce the computational complexity in some degree(about 13%), which was more suitable for virtual scenes with high real-time requirement.
参考文献

[1] LEE N, BAEK N, RYU K W. Real-time simulation of surface gravity ocean waves based on the TMA spectrum[C].7th International Conference on Computational Science(ICCS 2007), Springer Berlin Heidelberg, 2007: 122-129.

[2] PREMOE S, ASHIKHMIN M. Rendering natural waters[J]. Computer Natural Waters,2001,20(4): 189-199.

[3] 杨怀平, 胡事民, 孙家广. 一种实现水波动画的新算法[J]. 计算机学报, 2002, 25(6): 612-617.

    YANG H P,HU SH M,SUN J G. A new algorithm for water wave Animation[J]. Chinese Journal of Computers, 2002, 25(6): 612-617. (in Chinese)

[4] 张思将, 白玉栋, 李志国. 动态海面红外视景仿真研究[J]. 激光与红外, 2013, 43(6): 636-638.

    ZHANG S J, BAI Y D, LI ZH G. Infrared scene simulation of sea wave[J]. Laser & Infrared, 2013, 43(6): 636-638. (in Chinese)

[5] 罗玉, 钟珞. 基于海浪谱的3D海浪模拟[J]. 武汉理工大学学报(交通科学与工程版), 2008, 32(2): 323-326.

    LUO Y,ZHONG L. 3D sea wave simulation based on ocean wave spectrum[J]. Journal of Wuhan University of Technology(Transportation Science & Engineering), 2008, 32(2): 323-326. (in Chinese)

[6] LU J, WANG D. An ocean wave simulation research based on controllable FBM model[C]. International Conference on Wireless Communications NETWORKING and Mobile Computing. IEEE, 2010: 1-3.

[7] LI Q, MENG X. A simple method to simulate waved water[C]. International Conference on Image Analysis and Signal Processing, IEEE, 2011: 456-459.

[8] LIANG Y J,GUO F L,CHEN X L. High-precision and large scale dynamic of real-time ocean waves simulation[C]. International Conference on Computer Science & Network Technology,2013: 165-169.

[9] MAX N L. Vectorized procedural models for natural terrain: Waves and islands in the sunset[J]. Acm Siggraph Computer Graphics, 1981, 15(3): 317-324.

[10] 胡玲, 王霞, 延波,等. 水下距离选通成像系统调制传递函数模型分析[J]. 红外与激光工程, 2015, 44(11): 3262-3269.

    HU L, WANG X, YAN B, et al.. Analysis of underwater range-gated imaging system MTF[J]. Infrared and Laser Engineering, 2015, 44(11): 3262-3269. (in Chinese)

[11] 夏润秋, 王霞, 金伟其,等. 海面环境中红外偏振成像系统作用距离模型[J]. 红外与激光工程, 2016, 45(3): 64-68.

    XIA R Q, WANG X, JIN W Q, et al.. Distance model of infrared polarization imaging system used in sea-surface environment [J].Infrared and Laser Engineering, 2016, 45(3): 64-68.(in Chinese)

[12] MARSCHNER S,SHIRLEY P. Fundamentals of Computer Graphics[M]. Fourth Edition,A K Peters/CRC Press,2015.

[13] TOMAS A M,HAINES E, HOFFMAN N.Third Edition, Real-Time Rendering[M]. Third Edition A K Peters/CRC Press, 2008.

[14] FOURNIER A, REEVES W T. A simple model of ocean waves[J]. ACM Siggraph Computer Graphics, 1986, 20(4): 75-84.

[15] TESSENDORF J. Simulating ocean water[J]. Simulating Nature: Realistic and Interactive Techniques, SIGGRAPH, 2001, 1(2): 5.

王志强, 马海波. 多项式函数的实时水波模拟算法[J]. 光学 精密工程, 2017, 25(4): 1112. WANG Zhi-qiang, MA Hai-bo. Real-time water wave simulation algorithm by polynomial function[J]. Optics and Precision Engineering, 2017, 25(4): 1112.

关于本站 Cookie 的使用提示

中国光学期刊网使用基于 cookie 的技术来更好地为您提供各项服务,点击此处了解我们的隐私策略。 如您需继续使用本网站,请您授权我们使用本地 cookie 来保存部分信息。
全站搜索
您最值得信赖的光电行业旗舰网络服务平台!