Particle system in DX

Started by
5 comments, last by wswqwps 16 years, 9 months ago
very quick question to the best of my knowledge, when done right texture mapped quads are supposed to be faster that using D3DXSprite. now when creating a particle system would it be better(quicker) to use point sprites or a custom texture mapped quad? Thank You
--------------------------------------EvilMonkeySoft Blog
Advertisement
Quote:Original post by Wardyahh
now when creating a particle system would it be better(quicker) to use point sprites or a custom texture mapped quad?


Point sprites impose some pretty serious limitations:
On most ATI hardware, point sprites are limited to a size of 256x256 pixels.
You can't easily or efficiently support rotation.
You can't support non-square particles.

On the performance side, the performance gains from using it are minimal, since you probably will not be VPU limited anyways.

In short, use actual quads.

Hope this helps.
Sirob Yes.» - status: Work-O-Rama.
Quote:Original post by sirob
Point sprites impose some pretty serious limitations
Looks like nobody (I mean, nobody) ever liked them! :)

Previously "Krohm"

Quote:Original post by Krohm
Quote:Original post by sirob
Point sprites impose some pretty serious limitations
Looks like nobody (I mean, nobody) ever liked them! :)
I liked them back in the D3D8 timeframe [smile] Now that we've got decent programmable vertex and geometry shaders they really aren't such a compelling option...


Jack

<hr align="left" width="25%" />
Jack Hoxley <small>[</small><small> Forum FAQ | Revised FAQ | MVP Profile | Developer Journal ]</small>

so the general consensus is to use shaders or texture mapped quads(failing the shader approach)

thanks for the help guys ...as always...tis appreciated
--------------------------------------EvilMonkeySoft Blog
Make sure your ALL texture mapped quads for the particle system are put together in a single (dynamic!!) vertex buffer and rendered with one DrawPrimitive call; this is the best way to leverage the power of GPU/CPU parallelism. You can get great FPS if you do it correctly.
Does DX use billboard to implement point sprite or other?
I think point sprite is actually a kind of billboard.Right?

This topic is closed to new replies.

Advertisement