摘要
随着虚拟现实的发展,在游戏引擎中对三维物体进行弯曲效果的模拟越来越重要。在三维游戏引擎中,需要对一些三维的物体进行弯曲,以达到游戏操作中实时模拟物体弯曲。贝塞尔曲线算法是一个在计算机图形中常用的算法,被用于各类图形制作软件中,如Photoshop等软件,但多限于二维线条的应用,在三维物体上的应用较少。通过贝塞尔曲线算法结合三维物体的网格顶点,可以实现对条形三维物体进行弯曲变化。
With the development of virtual reality, it's increasingly important to simulate bending effect of 3D objects in game engine. In order to real-time simulate the bending of object in the 3D game engine, it needs to bend some 3D objects. Bezier curve algorithm is one of the common algorithms in computer graphics, which is used in all kinds of graphics software, such as Photoshop and so on. It is usually used in 2D lines while rarely in 3D objects. By combining Bezier curve algorithm with mesh vertex of the 3D objects, it can achieve to bend the bar 3D objects.
出处
《现代计算机》
2016年第5期57-59,共3页
Modern Computer
基金
2014年国家级大学生创新训练项目(No.201410623012)