It is in fact possible to create a particle system on the GPU complete with collision detection and "interesting" behavior. It requires using render-to-texture techniques with floating point textures. In fact the first google hit on "gpu particle system" is a presentation on such a system.
That said, it doesn't look very easy 8^) -Casey On Mon, Aug 24, 2009 at 12:46 PM, Florian Bösch<[email protected]> wrote: > > On Aug 24, 8:34 pm, Casey Duncan <[email protected]> wrote: >> Now for GPU-based particle systems they can be very useful because the >> input geometry can be made static and simply mutated by shaders over >> time. Ultimately I think this is a hack though, and the real answer is >> likely geometry shaders. > GPU based Particle systems are very fast, but they can't do much in > the way of interesting behavior. > For instance, a common use of particles is smoke. Ideally smoke > particles would follow some simple aproximation of navier-strokes > equations, and the boundary conditions would be a collision mesh. > There is no way to perform a collision detection on the GPU. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
