1 | <HTML> |
---|
2 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
3 | <!-- Created on , 12 2006 by texi2html 1.64 --> |
---|
4 | <!-- |
---|
5 | Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) |
---|
6 | Karl Berry <karl@freefriends.org> |
---|
7 | Olaf Bachmann <obachman@mathematik.uni-kl.de> |
---|
8 | and many others. |
---|
9 | Maintained by: Olaf Bachmann <obachman@mathematik.uni-kl.de> |
---|
10 | Send bugs and suggestions to <texi2html@mathematik.uni-kl.de> |
---|
11 | |
---|
12 | --> |
---|
13 | <HEAD> |
---|
14 | <TITLE>OGRE Manual v1.2.0 ('Dagon'): Standard Particle Emitters</TITLE> |
---|
15 | |
---|
16 | <META NAME="description" CONTENT="OGRE Manual v1.2.0 ('Dagon'): Standard Particle Emitters"> |
---|
17 | <META NAME="keywords" CONTENT="OGRE Manual v1.2.0 ('Dagon'): Standard Particle Emitters"> |
---|
18 | <META NAME="resource-type" CONTENT="document"> |
---|
19 | <META NAME="distribution" CONTENT="global"> |
---|
20 | <META NAME="Generator" CONTENT="texi2html 1.64"> |
---|
21 | <LINK TYPE="text/css" rel="stylesheet" href="../style.css"> |
---|
22 | </HEAD> |
---|
23 | |
---|
24 | <BODY LANG="" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000"> |
---|
25 | |
---|
26 | <A NAME="SEC184"></A> |
---|
27 | <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> |
---|
28 | <TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="manual_29.html#SEC169"> < </A>]</TD> |
---|
29 | <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="manual_26.html#SEC145"> Up </A>]</TD> |
---|
30 | <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="manual_31.html#SEC191"> > </A>]</TD> |
---|
31 | <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="index.html#SEC_Top">Top</A>]</TD> |
---|
32 | <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="manual_toc.html#SEC_Contents">Contents</A>]</TD> |
---|
33 | <TD VALIGN="MIDDLE" ALIGN="LEFT">[Index]</TD> |
---|
34 | <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="manual_abt.html#SEC_About"> ? </A>]</TD> |
---|
35 | </TR></TABLE> |
---|
36 | <HR SIZE=1> |
---|
37 | <H3> 3.3.4 Standard Particle Emitters </H3> |
---|
38 | <!--docid::SEC184::--> |
---|
39 | Ogre comes preconfigured with a few particle emitters. New ones can be added by creating plugins: see the Plugin_ParticleFX project as an example of how you would do this (this is where these emitters are implemented). |
---|
40 | <P> |
---|
41 | |
---|
42 | <UL> |
---|
43 | <LI> |
---|
44 | <A HREF="manual_30.html#SEC185">Point Emitter</A> |
---|
45 | <LI> |
---|
46 | <A HREF="manual_30.html#SEC186">Box Emitter</A> |
---|
47 | <LI> |
---|
48 | <A HREF="manual_30.html#SEC187">Cylinder Emitter</A> |
---|
49 | <LI> |
---|
50 | <A HREF="manual_30.html#SEC188">Ellipsoid Emitter</A> |
---|
51 | <LI> |
---|
52 | <A HREF="manual_30.html#SEC189">Hollow Ellipsoid Emitter</A> |
---|
53 | <LI> |
---|
54 | <A HREF="manual_30.html#SEC190">Ring Emitter</A> |
---|
55 | </UL> |
---|
56 | <BR><BR> |
---|
57 | <A NAME="Point Emitter"></A> |
---|
58 | <A NAME="SEC185"></A> |
---|
59 | <H3> Point Emitter </H3> |
---|
60 | <!--docid::SEC185::--> |
---|
61 | <P> |
---|
62 | |
---|
63 | 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.<BR><BR> |
---|
64 | </P><P> |
---|
65 | |
---|
66 | To create a point emitter, include a section like this within your particle system script: |
---|
67 | <TABLE><tr><td> </td><td class=example><pre> |
---|
68 | emitter Point |
---|
69 | { |
---|
70 | // Settings go here |
---|
71 | } |
---|
72 | </pre></td></tr></table><BR> |
---|
73 | Please note that the name of the emitter ('Point') is case-sensitive. |
---|
74 | </P><P> |
---|
75 | |
---|
76 | <A NAME="Box Emitter"></A> |
---|
77 | <A NAME="SEC186"></A> |
---|
78 | <H3> Box Emitter </H3> |
---|
79 | <!--docid::SEC186::--> |
---|
80 | <P> |
---|
81 | |
---|
82 | This emitter emits particles from a random location within a 3-dimensional box. It's extra attributes are:<BR><BR> |
---|
83 | <DL COMPACT> |
---|
84 | <DT>width |
---|
85 | <DD>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).<BR> |
---|
86 | format: width <units><BR> |
---|
87 | example: width 250<BR> |
---|
88 | default: 100<BR> |
---|
89 | <DT>height |
---|
90 | <DD>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).<BR> |
---|
91 | format: height <units><BR> |
---|
92 | example: height 250<BR> |
---|
93 | default: 100<BR> |
---|
94 | <DT>depth |
---|
95 | <DD>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).<BR> |
---|
96 | format: depth <units><BR> |
---|
97 | example: depth 250<BR> |
---|
98 | default: 100<BR> |
---|
99 | </DL> |
---|
100 | <BR> |
---|
101 | To create a box emitter, include a section like this within your particle system script: |
---|
102 | <TABLE><tr><td> </td><td class=example><pre>emitter Box |
---|
103 | { |
---|
104 | // Settings go here |
---|
105 | } |
---|
106 | </pre></td></tr></table><P> |
---|
107 | |
---|
108 | <A NAME="Cylinder Emitter"></A> |
---|
109 | <A NAME="SEC187"></A> |
---|
110 | <H3> Cylinder Emitter </H3> |
---|
111 | <!--docid::SEC187::--> |
---|
112 | <P> |
---|
113 | |
---|
114 | This emitter emits particles in a random direction from within a cylinder area, where the cylinder is oriented along the Z-axis. This emitter has exactly the same parameters as the <A HREF="manual_30.html#SEC186">Box Emitter</A> so there are no additional parameters to consider here - the width and height determine the shape of the cylinder along it's axis (if they are different it is an ellipsoid cylinder), the depth determines the length of the cylinder. |
---|
115 | </P><P> |
---|
116 | |
---|
117 | <A NAME="Ellipsoid Emitter"></A> |
---|
118 | <A NAME="SEC188"></A> |
---|
119 | <H3> Ellipsoid Emitter </H3> |
---|
120 | <!--docid::SEC188::--> |
---|
121 | This emitter emits particles from within an ellipsoid shaped area, ie a sphere or squashed-sphere area. The parameters are again identical to the <A HREF="manual_30.html#SEC186">Box Emitter</A>, except that the dimensions describe the widest points along each of the axes. |
---|
122 | <P> |
---|
123 | |
---|
124 | <A NAME="Hollow Ellipsoid Emitter"></A> |
---|
125 | <A NAME="SEC189"></A> |
---|
126 | <H3> Hollow Ellipsoid Emitter </H3> |
---|
127 | <!--docid::SEC189::--> |
---|
128 | This emitter is just like <A HREF="manual_30.html#SEC188">Ellipsoid Emitter</A> except that there is a hollow area in the centre of the ellipsoid from which no particles are emitted. Therefore it has 3 extra parameters in order to define this area: |
---|
129 | <P> |
---|
130 | |
---|
131 | <DL COMPACT> |
---|
132 | <DT>inner_width |
---|
133 | <DD>The width of the inner area which does not emit any particles. |
---|
134 | <DT>inner_height |
---|
135 | <DD>The height of the inner area which does not emit any particles. |
---|
136 | <DT>inner_depth |
---|
137 | <DD>The depth of the inner area which does not emit any particles. |
---|
138 | </DL> |
---|
139 | <P> |
---|
140 | |
---|
141 | <A NAME="Ring Emitter"></A> |
---|
142 | <A NAME="SEC190"></A> |
---|
143 | <H3> Ring Emitter </H3> |
---|
144 | <!--docid::SEC190::--> |
---|
145 | This emitter emits particles from a ring-shaped area, ie a little like <A HREF="manual_30.html#SEC189">Hollow Ellipsoid Emitter</A> except only in 2 dimensions. |
---|
146 | <P> |
---|
147 | |
---|
148 | <DL COMPACT> |
---|
149 | <DT>inner_width |
---|
150 | <DD>The width of the inner area which does not emit any particles. |
---|
151 | <DT>inner_height |
---|
152 | <DD>The height of the inner area which does not emit any particles. |
---|
153 | </DL> |
---|
154 | <BR><BR> |
---|
155 | <P> |
---|
156 | |
---|
157 | See also: <A HREF="manual_26.html#SEC145">3.3 Particle Scripts</A>, <A HREF="manual_28.html#SEC167">3.3.2 Particle Emitters</A> |
---|
158 | </P><P> |
---|
159 | |
---|
160 | <A NAME="Particle Affectors"></A> |
---|
161 | <HR SIZE=1> |
---|
162 | <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> |
---|
163 | <TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="manual_29.html#SEC169"> < </A>]</TD> |
---|
164 | <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="manual_26.html#SEC145"> Up </A>]</TD> |
---|
165 | <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="manual_31.html#SEC191"> > </A>]</TD> |
---|
166 | <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="index.html#SEC_Top">Top</A>]</TD> |
---|
167 | <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="manual_toc.html#SEC_Contents">Contents</A>]</TD> |
---|
168 | <TD VALIGN="MIDDLE" ALIGN="LEFT">[Index]</TD> |
---|
169 | <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="manual_abt.html#SEC_About"> ? </A>]</TD> |
---|
170 | </TR></TABLE> |
---|
171 | <BR> |
---|
172 | <FONT SIZE="-1"> |
---|
173 | This document was generated |
---|
174 | by <I>Steve Streeting</I> on <I>, 12 2006</I> |
---|
175 | using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html |
---|
176 | "><I>texi2html</I></A> |
---|
177 | |
---|
178 | </BODY> |
---|
179 | </HTML> |
---|