PhysX 3 plugin WIP

Started by JeGX, May 17, 2013, 04:05:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JeGX

I started today the dev of a PhysX 3 plugin for GLSL Hacker...




JeGX

PhysX 3 plugin WIP - some falling spheres (CPU rigid body). Green spheres are sleeping.


JeGX

#2
Still so cool to be able to smash a stack of boxes  ;D







JeGX

GLSL Hacker is connected to PVD / PhysX Visual Debugger (via Lua/Python calls). The sad thing is that PVD seems to be only available in DEBUG builds. So PVD functions won't work in GLSL Hacker...



JeGX



JeGX

First tests of PhysX 3 cloth module:


CPU PhysX:



GPU PhysX:


There must be a problem somewhere in my code, because a difference of 1000 FPS between CPU and GPU cloth is not normal...



JeGX

GPU PhysX with normals for correct lighting:


JeGX

First tests under Mac OS X 10.8.3. No GPU acceleration  :(


JeGX

Simple particle system (no particle interaction):



SPH particle system (fluid with particle interaction):


JeGX

SPH fluids + collision with a mesh actor (GPU PhysX)



SPH fluids + collision with a mesh actor (CPU PhysX)


JeGX

CPU PhysX SPH fluids: collisions inside a box mesh actor work fine (if the actor is static).



GPU PhysX SPH fluids: collisions inside a mesh actor do not work: particles go throught the box mesh. Weird, because in the previous post with the torus knot, the GPU collisions were properly handled...


JeGX

Cloth module of new PhysX 3.3 beta 2 works very fine now.

http://www.geeks3d.com/20130715/physx-sdk-3-3-beta-2-cloth-module-quick-test-glslhacker/

Cloth simulation running on CPU:


Cloth simulation running on GPU: