基于动力学原理的Maya粒子特效插件
发布时间:2018-07-29 19:07
【摘要】:计算机动画是一种计算机图形学和艺术相结合的产物,是伴随着计算机硬件和图形算法高速发展起来的一门高新技术。近年来,诸如雨雪、龙卷风、烟雾、火焰、爆炸等自然景物的模拟一直是计算机图形学中最具挑战性的课题之一,其模拟在计算机游戏、影视、广告、视景仿真等各种领域中有着广泛的用途。1983年,W.T.Reeves首次提出了粒子系统,其优点在于可以用简单的体素来构造复杂的物体,从而为自然景物的造型提供了强有力的技术手段。 Maya作为当今主流的三维动画制作与渲染软件之一,在影视、电视、广告和游戏等领域中有很广泛的应用,其强大的功能和易用性得到专业人士的共识。利用Maya动力学系统可以逼真地模拟很多自然现象。然而,Maya同时也是一款极其复杂的软件程序包,它的动力学系统也很难掌握。由于Maya具有很强的可编程性和可扩展性,我们可以开发有针对性的外部插件用以化解这个矛盾。通过开发特效插件简化Maya操作来达到某种特殊效果,将会大大缩短三维动画的制作时间,减少类似重复工作。 本文通过为Maya开发了一款插件来研究如何利用外部插件对Maya的功能进行扩展。重点研究了基于动力学原理和粒子系统的自然景物模拟方法,利用动力学原理开发一个Maya插件,,该插件的主要功能是快速地在场景中创建一些常用的粒子特效效果。该插件基于Maya的粒子系统,并通过Maya内嵌的Mel脚本语言以及脚本化的Maya开放式界面制作而成。 本文的研究重点和主要成果有: 1、通过调查研究目前国内外特效中运用较多的粒子特效类型及制作过程,为Maya粒子特效插件的设计提供了可靠依据。 2、分析了插件技术的类型、接口及优缺点。对Maya插件的两种编程接口MEL和C++进行了分析和对比。并选定使用MEL来开发粒子特效插件。 3、对基于动力学和粒子系统模拟自然景物进行了研究,总结出最大实现粒子的可控制性,既不是单纯靠粒子发射器发射粒子,也不单纯用场来干扰粒子,而是粒子系统与Mel表达式结合。然后以Reeves提出的粒子系统的基本思想和原理为基础,分析了结合粒子系统和MEL表达式来模拟自然景物的方法。 4、归纳出3种常用的粒子运动类型,对其中典型的4种特效——物体飘落、龙卷风、烟花和喷泉进行了分析与设计,并使用Maya嵌入式脚本语言MEL编写成插件,包括粒子发射器的建立,粒子的发射,粒子的数量、速度、形状等参数的设定等。该插件可随时调用到需要的场景中,并且提供了一套完整易用的用户界面,可在界面上直接调整参数实时控制特效的效果,从而在生产制作中提高工作的效率。 5、在开发完成后,对此插件进行了测试。测试内容主要包括安装测试、对物体飘落模块、龙卷风效果模块、烟花效果模块、喷泉效果模块4个模块的功能测试和压力测试。对从测试结果看,此插件具有很好的功能性和简便性,达到了预期的设计目标。
[Abstract]:Computer animation is a product of computer graphics and art. It is a high and new technology accompanied by computer hardware and graphics algorithm. In recent years, the simulation of natural scenery, such as rain and snow, tornado, smoke, flame, explosion and so on, has been one of the most challenging topics in computer graphics. In the fields of computer games, film, television, advertising, visual simulation and other fields, there is a wide range of uses in.1983 years. W.T.Reeves first proposed the particle system. Its advantage is that it can be used to construct complex objects with simple body prime, thus providing a powerful technical means for the modeling of natural scenery.
As one of the mainstream 3d animation making and rendering software, Maya is widely used in the fields of film, television, advertising and games. Its powerful function and ease of use get the consensus of the professionals. Using the Maya dynamic system can simulate many natural phenomena vividly. However, Maya is also an extremely complex one. Software package, its dynamic system is also difficult to master. Because of the strong programmability and scalability of Maya, we can develop targeted external plug-ins to resolve this contradiction. By developing special plug-ins to simplify the Maya operation to achieve a particular effect, it will greatly shorten the production time of 3D animation and reduce the class. Like duplication of work.
This article has developed a plug-in for Maya to study how to expand the function of Maya using external plug-ins. This paper focuses on the development of a Maya plug-in based on the dynamics principle and the natural scene simulation method of particle system. The main function of this plug-in is to quickly create some commonly used particles in the scene. The plug-in is based on Maya's particle system and is produced by Maya's embedded Mel script language and scripted Maya open interface.
The main research and main achievements of this paper are as follows:
1, through investigating and studying the types and production processes of particle specific effects at home and abroad, it provides a reliable basis for the design of Maya particle special effects plug-ins.
2, the type, interface and advantages and disadvantages of the plug-in technology are analyzed. The two programming interfaces of the Maya plug-in are analyzed and compared, and the MEL is selected to develop the particle special effect plug-in.
3, we have studied the natural scene based on dynamics and particle system simulation, and summed up the controllability of the maximum realization of particle. It is not only a particle launcher to launch particles, but also not only the field to interfere with particles, but the combination of particle systems and Mel expressions. Then the basic ideas and principles of the particle system proposed by Reeves are based on the basic ideas and principles. The method of simulating natural scenery combined with particle system and MEL expression is analyzed.
4, 3 kinds of common particle movement types are summed up, and the typical 4 special effects - object falling, tornado, fireworks and fountain are analyzed and designed, and Maya embedded scripting language MEL is used to write into plug-ins, including the establishment of particle launchers, particle emission, particle number, speed, shape and so on. It can be invoked to the required scene at any time, and provides a complete and easy to use user interface, which can directly adjust the parameters on the interface to control the effect of the special effect in real time, thus improving the efficiency of the work in production.
5, after the completion of the development, the plug-in has been tested. The test content mainly includes the installation test, the falling module of the object, the tornado effect module, the fireworks effect module, the function test and pressure test of the 4 modules of the fountain effect module. Aim.
【学位授予单位】:上海交通大学
【学位级别】:硕士
【学位授予年份】:2011
【分类号】:TP391.41
本文编号:2153703
[Abstract]:Computer animation is a product of computer graphics and art. It is a high and new technology accompanied by computer hardware and graphics algorithm. In recent years, the simulation of natural scenery, such as rain and snow, tornado, smoke, flame, explosion and so on, has been one of the most challenging topics in computer graphics. In the fields of computer games, film, television, advertising, visual simulation and other fields, there is a wide range of uses in.1983 years. W.T.Reeves first proposed the particle system. Its advantage is that it can be used to construct complex objects with simple body prime, thus providing a powerful technical means for the modeling of natural scenery.
As one of the mainstream 3d animation making and rendering software, Maya is widely used in the fields of film, television, advertising and games. Its powerful function and ease of use get the consensus of the professionals. Using the Maya dynamic system can simulate many natural phenomena vividly. However, Maya is also an extremely complex one. Software package, its dynamic system is also difficult to master. Because of the strong programmability and scalability of Maya, we can develop targeted external plug-ins to resolve this contradiction. By developing special plug-ins to simplify the Maya operation to achieve a particular effect, it will greatly shorten the production time of 3D animation and reduce the class. Like duplication of work.
This article has developed a plug-in for Maya to study how to expand the function of Maya using external plug-ins. This paper focuses on the development of a Maya plug-in based on the dynamics principle and the natural scene simulation method of particle system. The main function of this plug-in is to quickly create some commonly used particles in the scene. The plug-in is based on Maya's particle system and is produced by Maya's embedded Mel script language and scripted Maya open interface.
The main research and main achievements of this paper are as follows:
1, through investigating and studying the types and production processes of particle specific effects at home and abroad, it provides a reliable basis for the design of Maya particle special effects plug-ins.
2, the type, interface and advantages and disadvantages of the plug-in technology are analyzed. The two programming interfaces of the Maya plug-in are analyzed and compared, and the MEL is selected to develop the particle special effect plug-in.
3, we have studied the natural scene based on dynamics and particle system simulation, and summed up the controllability of the maximum realization of particle. It is not only a particle launcher to launch particles, but also not only the field to interfere with particles, but the combination of particle systems and Mel expressions. Then the basic ideas and principles of the particle system proposed by Reeves are based on the basic ideas and principles. The method of simulating natural scenery combined with particle system and MEL expression is analyzed.
4, 3 kinds of common particle movement types are summed up, and the typical 4 special effects - object falling, tornado, fireworks and fountain are analyzed and designed, and Maya embedded scripting language MEL is used to write into plug-ins, including the establishment of particle launchers, particle emission, particle number, speed, shape and so on. It can be invoked to the required scene at any time, and provides a complete and easy to use user interface, which can directly adjust the parameters on the interface to control the effect of the special effect in real time, thus improving the efficiency of the work in production.
5, after the completion of the development, the plug-in has been tested. The test content mainly includes the installation test, the falling module of the object, the tornado effect module, the fireworks effect module, the function test and pressure test of the 4 modules of the fountain effect module. Aim.
【学位授予单位】:上海交通大学
【学位级别】:硕士
【学位授予年份】:2011
【分类号】:TP391.41
【参考文献】
相关期刊论文 前5条
1 徐莹;;基于粒子系统的自然现象模拟研究[J];大庆师范学院学报;2008年05期
2 田玉婷;;Maya的MEL语言在项目中的开发应用[J];黑龙江科技信息;2007年22期
3 王兆红;;基于云模型与粒子系统自然雨模拟[J];计算机应用与软件;2009年12期
4 杨刚;论计算机三维动画的存在与发展[J];饰;2005年01期
5 袁霞,张玉啄;粒子系统方法及其应用[J];云南师范大学学报(自然科学版);2003年03期
相关硕士学位论文 前7条
1 董浩明;基于汽车模拟驾驶器的三维视景交互式优化建模研究[D];武汉理工大学;2006年
2 宋霖;基于视频纹理的特效绘制[D];浙江大学;2006年
3 刘剑;鲜花参数化建模与动画设计系统开发[D];浙江大学;2007年
4 毛慧;MAYA粒子及流体特效处理[D];上海交通大学;2009年
5 沈培特;角色动画设置插件技术在基于Maya的3D动画中的应用[D];上海交通大学;2008年
6 杨昊;基于类别的植物在三维场景中的快速生成[D];上海交通大学;2008年
7 李庆;基于maya粒子系统的群体模拟方法研究[D];上海交通大学;2008年
本文编号:2153703
本文链接:https://www.wllwen.com/wenyilunwen/guanggaoshejilunwen/2153703.html