CN109871663A

smoke and fire special effect simulation system based on a game engine

Abstract

The invention relates to a pyrotechnic special effect simulation system based on a game engine, which includes a light agent particle module, a light agent particle group module, a pyrotechnic module and a special effect simulation module, wherein the light agent particle module is used for a particle system based on a game engine, defining and setting , Edit the properties of light agent particles; the pyrotechnic module is used to define, set and edit the properties of pyrotechnics; the special effects simulation module is used to set and edit the properties of pyrotechnics and light agent particles according to the type of pyrotechnics required to be simulated. The light agent particles simulate the process of pyrotechnic explosion and generate pyrotechnic special effects. The pyrotechnic special effect simulation system based on the game engine proposed by the present invention uses the particle system of the game engine to simulate the pyrotechnic explosion process, and can simulate the pyrotechnic setting effect similar to the real world in real time.

CN109871663A, drawing sheet 1
Sheet 1 of 3

Term

12.5 yearsto projected expiry

Projected expiry 8 April 2039, counted from filing; an application has no term until it is granted.

  1. Priority and filed
  2. Published
  3. Today
  4. Projected expiry

9 claims: 1 independent, 8 dependent

  1. 1
    1·一种基于游戏引擎的烟火特效仿真系统,包括光剂颗粒模块,光剂颗粒组模块,烟火 模块和特效仿真模块,其中 光剂颗粒模块用于基于游戏引擎的粒子系统,定义、设置、编辑光剂颗粒属性; 烟火模块用于定义、设置、编辑烟火属性; 特效仿真模块用于根据所需仿真的烟火类型,使用烟火模块和光剂颗粒模块设置和编 辑烟火和光剂颗粒属性,通过喷射光剂颗粒模拟烟火燃爆的过程,生成烟火特效。
  2. 2
    根据权利要求1所述的一种基于游戏引擎的烟火特效仿真系统,其特征在于,所述光 剂颗粒属性包括速度、大小、纹理、生命周期、位置、年龄。
  3. 3
    根据权利要求2所述的一种基于游戏引擎的烟火特效仿真系统,其特征在于,所述烟 火属性包括爆炸延迟时间、爆炸初速度、位置、燃放时间、光剂颗粒喷射角度范围。
  4. 4
    根据权利要求3所述的一种基于游戏引擎的烟火特效仿真系统,其特征在于,所述特 效仿真模块包括以下子模块: 初始化子模块,用于初始化烟火的属性; 燃爆子模块,用于喷射光剂颗粒,即添加新光剂颗粒并初始化光剂颗粒的属性; 更新子模块,用于按照用户设置的时间间隔删除死亡光剂颗粒,更新生存光剂颗粒属 性; 显示子模块,用于根据生存光剂颗粒属性显示烟火特效。
  5. 5
    根据权利要求4所述的一种基于游戏引擎的烟火特效仿真系统,其特征在于,所述光 剂颗粒属性还包括重力参数、风力参数、爆炸拖拽力参数。
  6. 6
    根据权利要求4所述的一种基于游戏引擎的烟火特效仿真系统,其特征在于,所述光 剂颗粒属性还包括生命周期方差、大小方差、速度方差。
  7. 7
    根据权利要求4所述的一种基于游戏引擎的烟火特效仿真系统,其特征在于,所述烟 火属性还包括分支属性,喷射光剂颗粒时首先判断该烟火是否有分支,如果没有分支,则令 粒子在指定角度范围内进行随机分布,如果有多于1个的分支,则将粒子发射到任意一个分 支上。
  8. 8
    根据权利要求4所述的一种基于游戏引擎的烟火特效仿真系统,其特征在于,初始化 光剂颗粒的属性时设置时间相关的大小和纹理关键帧,根据关键帧更新对应各个时间点的 光剂颗粒的大小和纹理属性。
  9. 9
    根据权利要求4所述的一种基于游戏引擎的烟火特效仿真系统,其特征在于,对光剂 颗粒进行分组,将每组光剂颗粒共同的属性作为光剂颗粒组的属性进行设置。
Independent claims9