On Mon, Aug 24, 2009 at 3:18 PM, Casey Duncan <[email protected]>wrote:

>
> 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^)


It is *a lot* easier to do in CUDA/Stream/Compute/OpenCL, rather than
hacking around with render-to-texture. Once OpenCL ships on major platforms
(i.e. beginning with Snow Leopard), I expect to see a lot more of that sort
of thing.

A good example is running Mirror's Edge on an NVidia graphics card - the
CUDA-powered PhysX backend does a beautiful job of animating every piece of
cloth and paper on the GPU.

-- 
Tristam MacDonald
http://swiftcoder.wordpress.com/

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to