本次的火焰烟雾子系统设计,采用了Unity3D作为开发工具,使用了c++和c#作为开发语言,通过基于OpenGL的粒子系统做出了火焰、烟雾的模拟,同时使用Unity3D中的粒子系统及其它的一系列组件制作
摘 要:船舶因其特殊的功能和结构,火灾具有特殊性。为了减少船舶火灾造成的经济损失和提高船舶火灾防治的有效性,必须加强船舶火灾安全工程研究,认清船舶火灾发生的规律和特点。把虚拟现实技术应用于船舶火灾领域研究可以综合两者的优点,是完善船舶安全设计和开展安全培训的重要手段。本文简单介绍了火焰、烟雾子系统的研究背景和意义,并对国内外的研究现状进行了分析。
船舶火灾安全对船舶生存能力至关重要,对其火灾和消防的计算机模拟与仿真也一直是船舶消防的一个热点,虚拟现实技术为船舶火灾和消防的可视化搭建了一个有效平台,对船舶消防的模拟、训练、决策和评估具有极其深远的意义。本文研究的火焰,烟雾建模子系统就是制作船舶火灾中的火焰烟雾的动态模型,通过这些模型来达到船舶火灾的模拟。
实现火焰、烟雾的模拟有很多种方法,本文使用了基于OpenGL的火焰模拟以及基于unity3d的火焰、烟雾建模这2种不同的方法。本文对粒子系统模拟火焰烟雾的基本思想进行了研究,通过Visual Studio 2012和OpenGL进行火焰的绘制。使用基于OpenGL的粒子系统达到火焰的动态模拟。研究粒子系统中粒子从生成、运动到消失的过程,研究系统生成图像的基本步骤。本文还使用Unity 3D来制作火焰烟雾的建模,通过Unity3D中的粒子系统来实现火焰烟雾的建模,通过粒子系统建模来达到火焰燃烧的逼真效果。
关键词: 粒子系统;OpenGL;Unity 3D;火焰模拟
Abstract:The ship is of special nature due to its special function and structure. In order to reduce the economic losses caused by ship fire and improve the effectiveness of ship fire prevention and control, it is necessary to strengthen the ship fire safety engineering research and recognize the laws and characteristics of ship fire. The application of virtual reality technology in the field of ship fire can combine the advantages of both, which is an important means to perfect the ship safety design and carry out safety training. This paper briefly introduces the research background and significance of flame and smoke subsystem, and analyzes the current situation of research at home and abroad.
Ship fire safety is very important to the survivability of ships, and its computer simulation and simulation of fire and fire has also been a hot spot for ship fire. Virtual reality technology has set up an effective platform for ship fire and fire visualization. Simulation, training, decision making and evaluation are of far-reaching significance. The flame and smoke modeling subsystems studied in this paper are the dynamic models of flame smoke in ship fire, and through these models, the simulation of ship fire is achieved.
There are many ways to realize the simulation of flame and smoke. In this paper, we use the flame simulation based on OpenGL and two different methods based on unity3d flame and smoke modeling. In this paper, the basic idea of simulating flame smoke in particle system is studied, and the flame is drawn by Visual Studio 2012 and OpenGL. Dynamic simulation of flame based on OpenGL - based particle system. This paper studies the basic steps of particle generation in the particle system from generation, movement to disappearance, and studies the system to generate the image. In this paper, Unity 3D is used to make the modeling of flame smoke. The flame smoke is modeled through the particle system in Unity3D, and the effect of flame burning is achieved by modeling the particle system.
Keywords: particle system; OpenGL; Unity3D; flame simulation
目录
第一章 绪论 1
1.1 系统研究背景 1
1.2 系统研究意义 1
1.3 国内外研究现状 2
1.4 本课题主要研究内容 3
1.5 章节结构 3
第二章 开发环境及相关技术介绍 4