计算机应用 ›› 2010, Vol. 30 ›› Issue (3): 589-592.

• 虚拟现实 • 上一篇    下一篇

XNA中基于素材管道的粒子系统设计与实现

罗为君1,林亚平2   

  1. 1. 湖南大学软件学院
    2.
  • 收稿日期:2009-09-17 修回日期:2009-11-03 发布日期:2010-03-14 出版日期:2010-03-01
  • 通讯作者: 罗为君

Design and implementation of particle system based on content pipeline in XNA

  • Received:2009-09-17 Revised:2009-11-03 Online:2010-03-14 Published:2010-03-01
  • Contact: LUO Wei-jun

摘要: 粒子系统是目前游戏引擎研究领域的热点之一。介绍了粒子系统的基本原理,利用面向对象技术与扩展XNA的素材管道,针对自定义素材文件进行处理,使粒子系统模块化,形成了一个简单易用、容易扩展的粒子系统模块,可方便地与游戏引擎特效模块整合。给出了粒子系统的管理接口定义及层次结构关系的建模实现,通过扩展素材管道处理自定义素材文件,对粒子系统进行集成与封装,最后,使用XNA Game Studio实现了一些具体应用。

关键词: 素材管道, 粒子系统, XNA, 游戏引擎

Abstract: Particle system is one of the hot topics in the game engine. In this paper, the general principle of particle system was introduced. Aiming at processing custom content files in XNA easily, by making use of object-oriented technique and extending the behavior of content pipeline, a particle system module was developed. The definition of management interface and the relation of hierarchy of particle system modeling were given. And particle system was integrated and encapsulated. At last, a concrete application was given by making use of XNA Game Studio.

Key words: content pipeline, particle system, XNA, game engine