What do i need to run on GPU with PhysX-3.2.1?


I am new at gpraphics programming and trying out the PhysX-3.2.1 SDK. I created a PxRigidStatic plane and am dropping PxRigidDynamic actors (spheres/boxes) on it. Everything works fine and the physics seems to behave correctly but it only runs on CPU.

I have read some documentation parts and looked at the sample code but it’s to complex and hugh for beginners. So I have some questions:

  1. Do I need a PxParticleSystem to force computing physics on GPU?
  2. If yes, do I need CudaContextManager and CUDA?
  3. Does someone have a very simple and small example or a really good tutorial?

I would appreciate any help.

Thanks in advance.