• Hey, guest user. Hope you're enjoying NeoGAF! Have you considered registering for an account? Come join us and add your take to the daily discourse.

PhysX FleX v0.25 Sample Demo made available - Real-time unified physics

-SD-

Banned
https://developer.nvidia.com/physx-flex
NVIDIA said:
FleX is a particle-based simulation technique for real-time visual effects. [...] Because FleX uses a unified particle representation for all object types, it enables new effects where different simulated substances can interact with each other seamlessly.

For NVIDIA GPUs (CUDA 3.0 or greater) and 32/64-bit Windows. DirectCompute version of FleX is in the works, which means that FleX will eventually work on AMD cards, as well.

Demo is tons of fun, if your computer is powerful enough. Scenes with a large body of water (i.e. lots of particles) really test your hardware.

Source is the comments section of this news post: http://physxinfo.com/news/12540/pre...ntegration-into-unreal-engine-4-is-available/

This is a standalone demo (doesn't use Unreal Engine 4).

Version 0.80

This new release comes with FleX v0.80 binaries, Linux version and documentation.

At least GeForce 347.25 driver required.

http://www.mediafire.com/download/r3j94yq771wun9q/FLEX-0.8.0.7z (8.3MB)
https://mega.co.nz/#!L8QhXLzC!Y-1VwEGDWOJJYEcH6RrTbsbvv7HYjn6AwB7GjL1YdKk (mirror)

https://developer.nvidia.com/content/nvidia-flex-08-released

Version 0.25

At least GeForce 306.94 driver required.

http://www.mediafire.com/download/1cxja4kmnm1lnsn/FLEX-0.25.7z (4.6MB)
https://mega.co.nz/#!C4JgFTDa!Il-mbUTBGF6DLMDATAPnvO3Qhh5oEJMJPVI_-d62umc (mirror)

How to:

1. extract the package to any directory using http://www.7-zip.org
2. go to bin\x64\ or bin\win32\ directory
3. run flexDemoRelease.exe
4. select a sample scene from the upper left menu
5. press 'P' to begin simulation ('U' to toggle full screen).

Pressing 'Space' starts the fluid emitter that will spew/drop water/goo in some scenes.

To get a performance boost in the heavier scenes, disable anti-aliasing by adding -msaa=0 into a .bat file or into a shortcut link for the .exe. The Buoyancy test, for example, went from 42mspf to 36mspf (23.8fps to 27.7fps) on my GTX 750 Ti.

Essential controls to get you started (more controls listed in the included readme.txt):

readme.txt said:
WASD - Fly Camera
Right mouse - Mouse look
Shift + Left mouse - Particle select and drag

G - Gravity off/on
Y - Toggle wave pool
J - Wind gust
H - Hide/show onscreen help
R - Reset current scene
Esc - Quit

Video: PhysX Flex 0.25 - Sample Demo - YouTube

IlliterateComposedFreshwatereel.gif
TheseTotalJackrabbit.gif
SimpleEvergreenGilamonster.gif
ElasticFormalBagworm.gif


http://blog.mmacklin.com
 
neat, but it's only going to be used in the most high end rigs and as an unoptimized feature in PC games for the next 5 years or so.

But boy do i wish that wasn't so because it looks great.
 
Okay, this is really cool, Most of the scenes run at 60 FPS too as long as I don't do crazy things with the settings.

GTX 970 btw. Will experiment further after I finish my dinner.
 
Man I wish we had a company making AAA PC games with all this cool stuff in it. Nvidia should fun some instead of making all them nasty Android devices.
 

KingJ2002

Member
Wow... now that was amazing. It made me thirsty lol

...

I can only imagine what a next gen wave race using that physics engine would look like.
 

decoy11

Member
Sad to say that this stuff is going to be Nvidia only for a while. Nvidia posted a while back that this and waveworks will only run on CUDA till they feel like Dx11 is good enough.
https://forums.unrealengine.com/sho...ks-Integration&p=249383&viewfull=1#post249383

Anyways if anyone actually wants to make a game with Flex there is a UE4.7.3 source on github: https://github.com/GalaxyMan2015/UnrealEngine/tree/Merged

Extra instruction to build here: https://forums.unrealengine.com/sho...ks-Integration&p=255257&viewfull=1#post255257
 

kruis

Exposing the sinister cartel of retailers who allow companies to pay for advertising space.
Fun demo! I wish games would use more physics. The results can be fascinating (like this demo). Who cares if physix brings your GPU to its knees. If more people start demanding it, future graphics cards will get better and better at it till it becomes a standard feature in games. We just need a killer app.
 
Fun demo! I wish games would use more physics. The results can be fascinating (like this demo). Who cares if physix brings your GPU to its knees. If more people start demanding it, future graphics cards will get better and better at it till it becomes a standard feature in games. We just need a killer app.

Unless they find a way to greatly reduce the amount of processing power needed for such effects, it won't even come close to taking off anytime soon. The current gen consoles have low-to-midrange GPUs and really, really low end CPUs compared to what the PC market has to offer. They would really struggle with physics similar to this given their hardware's abilities. Hell, Physx features from previous gen games still push cards hard at max settings, my 4770k and 770 can't do max PhysX on its own without a strong hit to the framerate.
 

-SD-

Banned
Most of the scenes run at 60 FPS too as long as I don't do crazy things with the settings.

GTX 970 btw.
How about the water body scenes? My 2.4GHz dual-core/thread Intel and GTX 750Ti cry for mercy.

Such scenes are Buoyancy, DamBreak 5cm, Rock Pool (enable fluid emitter), Parachuting Bunnies, Fluid Block, Bunny Bath Dam (enable fluid emitter).

- - -

Also, has anyone figured out how to move the wall in the water scenes? That was shown in some YouTube videos of FleX.

Oh, it's probably "Y - Toggle wave pool".

EDIT: It is. Duh.
 

Durante

Member
Played around with it a bit, I find the "coupling" demos to be the most impressive ones. Really neat to see rigid bodies and cloth interact convincingly with each other and fluids as well.
 

KHlover

Banned
How exactly does the capture work? readme tells me "Press C to toggle capture", but how do I save it? Pressing C again just seems to reset the frame counter
 
How about the water body scenes? My 2.4GHz dual-core/thread Intel and GTX 750Ti cry for mercy.

Such scenes are Buoyancy, DamBreak 5cm, Rock Pool (enable fluid emitter), Parachuting Bunnies, Fluid Block, Bunny Bath Dam (enable fluid emitter).

- - -

Also, has anyone figured out how to move the wall in the water scenes? That was shown in some YouTube videos of FleX.

Oh, it's probably "Y - Toggle wave pool".

EDIT: It is. Duh.

25 - 40 frame time, depending on the scene. Maybe I'll make some webms or something.
 

aravuus

Member
Man, I used to love all kinds of physics demos and physics-based games when I was younger. This is fucking amazing, I'm not even gonna admit how long this will keep me entertained.
 

Zomba13

Member
Man, I used to love all kinds of physics demos and physics-based games when I was younger. This is fucking amazing, I'm not even gonna admit how long this will keep me entertained.

It's ok. We all spent an hour jizzing on the armadillo man.
 

Jb

Member
Love this shit. Slightly disappointed in-game physics haven't progressed that much in 10 years, I secretly hoped HL2 would be the dawn of a new focus on them in games.
 

luca_29_bg

Member
NOOOOOOOOOOOOOOOOOO i want water simulation demos for amd cards! AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH! I want to die :(
 

Raven77

Member
CUDA page linked in the OP says that 560 Ti supports v2.1 CUDA, so no, unfortunately.

Thought so, thanks for clarifying.

I can't wait till games start using this stuff. Real time flooding of levels, the list is endless.
 
Well I've been having a ton of fun with this, the cloth simulations are seriously impressive. I think Parachuting Bunnies is the best out of the lot, nice mix between the different materials interacting with each other. I wish gpu tech would advance a lot quicker, I'd love to see this in games. I can see Valve using the goo physics here for the next Portal.
 
Top Bottom