Comparison of Particle Types

Top  Previous  Next

Below is a chart describing the different features available with each Particle Type:

 

Features / Particle Type

Sprite

Quad

Textured Quad

Vertices Required

1

4

4

Position

2D screen coordinate + optional Z value or

3D world coordinates (using Sprite3DBillboard)

3D world coordinate

3D world coordinate

Color

Optional

Yes

Optional

Texture

Yes

No

Yes

Rotation

Roll

Yaw, Pitch, Roll

Yaw, Pitch, Roll

Size

X width, Y height

N / A

N / A

Shape

Rectangle

Quadrilateral

Quadrilateral

Always Faces Camera

Yes

Optional

Optional

 

The No Display Particle Type is not shown, as none of these properties apply to it since it is not visualized (i.e. drawn to the screen).

 

 

Below is a chart describing some of the different features available with each of the different Default Particle classes provided by DPSF (smaller Size in Vertex Buffer is better):

 

Features / Particle Type

Default Sprite

Default Quad

Default Textured Quad

Vertices Required

1

4

4

Position

2D screen coordinate + optional Z value or

3D world coordinates (using Sprite3DBillboard)

3D world coordinate

3D world coordinate

Color

Yes

Yes

Yes

Texture

Yes

No

Yes

Rotation

Roll

Yaw, Pitch, Roll

Yaw, Pitch, Roll

Size

X width, Y height

X width, Y height

X width, Y height

Shape

Rectangle

Rectangle

Rectangle

Always Faces Camera

Yes

Optional

Optional

Size in Vertex Buffer

N / A

16 * 4 = 64 Bytes

24 * 4 = 96 Bytes