PHYSX NEWS PHYSX SDK
PROJECTS TABLE
GPU PHYSX
GAMES INFO
PHYSX
ARTICLES
PHYSX WIKI FORUM
РУССКИЙ ENGLISH


:: Back to news index ::

Fluid Simulation demo with OpenGL and PhysX SDK 3.0

with one comment

Very interesting PhysX Fluid Simulation demo was revealed by a user Finalspace on German Delphi OpenGL Community forum.

Update: new version is available.

Written from scratch on C++, based on PhysX SDK 3.0.2 and OpenGL, this demo is showcasing Smoothed Particle Hydrodynamics (SPH) fluid simulation in a basic environment.

However, the amount of options is appealing – you can choose from various scenes, change fluid parameters, add rigid bodies or more particles (up to 262 000), apply forces to the fluid, switch rendering modes – PhysX Fluid Simulation is a fully functional playground, more advanced than original PhysX Fluids demo from NVIDIA.

You can download PhysX Fluid Simulation v 1.2 from original thread.

Screenshots:

Controls:

(R) – reset scene

(H) – enable/disable GPU acceleration.

(S) – switch Fluid rendering mode (screen space fluid, particles, point sprites).

(Arrow Keys) – apply forces to the fluid.

(L) – cycle simulation scenario and collision geometry (normal box, small box, large and flat box, tall and narrow box).

(1-6) – choose object to be added to the scene

  • 1 – rigid body: box
  • 2 – rigid body: sphere
  • 3 – rigid body: capsule
  • 4 – fluid: one particle
  • 5 – fluid: 512 particles
  • 6 – fluid: 65 000 particles

(Space) – add new object to the scene

Written by Zogrim

November 9th, 2011 at 8:54 pm

Posted in PhysX Tools

Tagged with , , ,

One Response to 'Fluid Simulation demo with OpenGL and PhysX SDK 3.0'

Subscribe to comments with RSS

  1. Oh, btw. Anyone wants to check if this demo works with Hybrid PhysX ?

      

    Zogrim

    10 Nov 11 at 2:04 am


Leave a Reply

*
Copyright © 2009-2014. PhysXInfo.com | About PhysXInfo.com project | Privacy Policy
PhysX is trademark of NVIDIA Corporation