Geeks3D Forums

Geeks3D.com | GeeXLab | Softwares | Reviews | Downloads | Shader Lib 


News:MadView3D 0.3.0: Cross-Platform 3D Object Viewer

PhysX 3 plugin WIP

(Read 30982 times)

0 Members and 1 Guest are viewing this topic.



JeGX

  • Global Moderator
  • Hero Member
  • *****
  • *
  • Posts: 1594
I started today the dev of a PhysX 3 plugin for GLSL Hacker...



Last Edit: May 20, 2013, 08:19:11 PM by JeGX



JeGX

  • Global Moderator
  • Hero Member
  • *****
  • *
  • Posts: 1594
PhysX 3 plugin WIP - some falling spheres (CPU rigid body). Green spheres are sleeping.


JeGX

  • Global Moderator
  • Hero Member
  • *****
  • *
  • Posts: 1594
Still so cool to be able to smash a stack of boxes  ;D






Last Edit: May 23, 2013, 09:29:42 AM by JeGX

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • *
  • Posts: 1594
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

  • Global Moderator
  • Hero Member
  • *****
  • *
  • Posts: 1594
60 boxes wide stack (CPU PhysX):






JeGX

  • Global Moderator
  • Hero Member
  • *****
  • *
  • Posts: 1594
100 boxes wide stack (CPU PhysX):





JeGX

  • Global Moderator
  • Hero Member
  • *****
  • *
  • Posts: 1594
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

  • Global Moderator
  • Hero Member
  • *****
  • *
  • Posts: 1594
GPU PhysX with normals for correct lighting:

Last Edit: May 26, 2013, 07:35:31 PM by JeGX

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • *
  • Posts: 1594
First tests under Mac OS X 10.8.3. No GPU acceleration  :(


JeGX

  • Global Moderator
  • Hero Member
  • *****
  • *
  • Posts: 1594
Simple particle system (no particle interaction):



SPH particle system (fluid with particle interaction):


JeGX

  • Global Moderator
  • Hero Member
  • *****
  • *
  • Posts: 1594
SPH fluids + collision with a mesh actor (GPU PhysX)



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


JeGX

  • Global Moderator
  • Hero Member
  • *****
  • *
  • Posts: 1594
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

  • Global Moderator
  • Hero Member
  • *****
  • *
  • Posts: 1594
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: