OGRE (Object-Oriented Graphics Rendering Engine)
Standard Particle Emitters Provided With Ogre
Ogre comes preconfigured with a few particle emitters. New ones can be added by creating plugins: see the OgreSfxPlugin project as an example of how you would do this (this is where these emitters are implemented).
Point Emitter
This emitter emits particles from a single point, which is it's position. This emitter has no additional attributes over an above the standard emitter attributes.
To create a point emitter, include a section like this within your particle system script:
emitter Point
{
//
Settings go here
}
Please note that the name of the emitter ('Point') is case-sensitive.
Box Emitter
This emitter emits particles from a random location within a 3-dimensional box. It's extra attributes are:
width
Sets the width of the box (this is the size of the box along it's local X axis, which is dependent on the 'direction' attribute which forms the box's local Z).
format: width <units>
example:
width 250
default: 100
height
Sets the height of the box (this is the size of the box along it's local Y axis, which is dependent on the 'direction' attribute which forms the box's local Z).
format: height
<units>
example: height 250
default: 100
depth
Sets the depth of the box (this is the size of the box along it's local Z axis, which is the same as the 'direction' attribute).
format: depth <units>
example:
depth 250
default: 100
To create a box emitter, include a section like this within your particle system script:
emitter Box
{
//
Settings go here
}
See also:
Back to Index | << Previous section | Next section >> |