Comparison of Particle Types

Top  Previous  Next

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

 

Features / Particle Type

Pixel

Sprite

Point Sprite

Quad

Textured Quad

Vertices Required

1

1

1

4

4

Position

3D world coordinate

2D screen coordinate +

optional Z value

3D world coordinate

3D world coordinate

3D world coordinate

Color

Yes

Optional

Optional

Yes

Optional

Texture

No

Yes

Yes

No

Yes

Rotation

No

Roll

Roll

Yaw, Pitch, Roll

Yaw, Pitch, Roll

Size

1 pixel

X width, Y height

X width, Y height

N / A

N / A

Shape

N / A

Rectangle

Square

Quadrilateral

Quadrilateral

Always Faces Camera

N / A

Yes

Yes

Optional

Optional

 

The No Display Particle Type is not shown, as none of these properties apply to it since it is not visualized (e.g. 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 Pixel

Default Sprite

Default Point Sprite

Default Quad

Default Textured Quad

Vertices Required

1

1

1

4

4

Position

3D world coordinate

2D screen coordinate +

optional Z value

3D world coordinate

3D world coordinate

3D world coordinate

Color

Yes

Yes

Yes

Yes

Yes

Texture

No

Yes

Yes

No

Yes

Rotation

No

Roll

Roll

Yaw, Pitch, Roll

Yaw, Pitch, Roll

Size

1 pixel

X width, Y height

X width, Y height

X width, Y height

X width, Y height

Shape

N / A

Rectangle

Square

Rectangle

Rectangle

Always Faces Camera

N / A

Yes

Yes

Optional

Optional

Size in Vertex Buffer

16 Bytes

N / A

24 Bytes

16 * 4 = 64 Bytes

24 * 4 = 96 Bytes