Free source code access for Windows, Linux, OS X and Android.
Real-time simulation and rendering of realistic hair and fur
NVIDIA has finally released first public version of the newest PhysX SDK 3.4 (and corresponding APEX 1.4). Please mind the pre-release status, final SDK should be available end of February 2017.
One of the biggest features of the SDK 3.4 is the introduction of the GPU accelerated rigid body feature (GRB). It supports the entire rigid body pipeline feature-set (except for articulations). The state of GPU rigid bodies can be modified and queried using the exact same API as used for CPU rigid bodies. GPU rigid bodies can interact with clothing and particles in the same way that CPU rigid bodies can and can easily be used in conjunction with character controllers and vehicles.
Leveraging computing capabilities of a graphic processor, GPU accelerated rigid bodies can provide significant performance advantages over CPU simulation in scenes with several thousand active rigid bodies.
Without any broad announcement (yet, probably), NVIDIA has released a Unreal Engine 4 custom source code branch with the integration of the completely new GPU fluid solver called Cataclysm.
Update: as confirmed by the developers, Cataclysm solver is based on DX Compute shaders, not CUDA
The Cataclysm uses a custom FLIP based GPU solver combined with Unreal Engine 4’s GPU Particles with Distance Field Collisions. Cataclysm can simulate up to two million liquid particles within the UE4 engine in real time.
A FLIP (Fluid-Implicit Particle) solver is a hybrid grid and particle technique for simulating fluids. All Information for the fluid simulation is carried on particles, but the solution the the physical simulation of the liquid is carried out on a grid. Once the grid solve is complete, the particles gather back up the information they need from the grid move forward in time to the next frame.
As promised, NVIDIA is opening source code for selected GameWorks modules.
Source code for HairWorks, a complete solution for simulation and rendering of realistic fur and hair, has recently made it to GitHub.
|HairWorks 1.2 Alpha : Release Notes|
HairWorks source code branch can be accessed at http://github.com/NVIDIAGameWorks/HairWorks.
Please Note that you’ll require an approved GitHub account, as described here.
NVIDIA has just released a new version of the FLEX universal particle solver.
|NVIDIA FLEX SDK 1.0.0: Release Notes|
At Game Developer Conference 2016 (GDC), NVIDIA has announced the GameWorks 3.1 development kit, which introduces several new physics simulation solutions – PhysX GRB and NVIDIA Flow. Let’s take a look at them more closely:
PhysX GRB is the new GPU accelerated Rigid Body simulation pipeline. It is based on heavily modified branch of PhysX SDK 3.4, but has all the features of the standard SDK and almost identical API. PhysX GRB is currently utilizing CUDA and requires NVIDIA card for GPU acceleration.
Unlike previous implementations, PhysX GRB is featuring hybrid CPU/GPU rigid body solver, and the simulation can be executed either on CPU or GPU with almost no difference in behavior, supported object types or features (GPU articulations are not implemented yet, however).
GRB provides GPU accelerated broad phase, contact generation, constraint solver and body/shape management. In addition, it introduces new implementations of island management and pair management that have been optimized to tolerate the order of magnitude more complex scenes that can be simulated on GPU compared to CPU. New mechanisms to parallelize event notification callbacks and a new feature to lazily update scene query asynchronously are also provided.
Recent 1.3 Beta update (availabe through Steam on PC) for Fallout 4, among various bug fixes, adds several new graphics features – HBAO+ ambient occlusion and, suprisingly, physically simulated debris effects from bullet impacts, exclusive to NVIDIA GPUs.
Pieere Terdiman has announced the release of Physics Engine Evaluation Lab or PEEL – a handy tool (previously only used internally by PhysX team), that can be utilized to test performance, identify bottlenecks and determine simulation bugs of a physics engine in a number of specific use cases, thus providing a basis for further optimization and improvements.
Update: PEEL source code is now available on GitHub
PEEL 1.0 release is available for free with source code included, and features a default integration of various physics engines (Newton 3.13/3.9, Bullet 2.79/2.81/2.82, PhysX 2.8.4, a number of PhysX 3.x releases, even an early PhysX 3.4 branch) and collision libraries (OpCode 1/2).
NVIDIA FleX is the new GPU accelerated particle-based simulation library. The core idea of FleX is that every object is represented as a system of particles connected by constraints. Such unified representation allows efficient modeling of many different materials and natural interaction between elements of different types, for example, two-way coupling between rigid bodies and fluids.
Update: FLEX SDK 0.8 can now be downloaded through GameWorks Download Center
Interested developers may be pleased to hear that NVIDIA has already completed basic integration of FleX solver into Unreal Engine 4, and it can be freely obtained with one specific UE4 source code branch at GitHub.
Standalone FleX SDK and sample demo executable (as showcased below) are also included in the package.
To get access to the UE4 source code branch with FleX integration few steps are required:
Quite astonishing news are coming from Game Developers Conference 2015 – NVIDIA has just announced that latest PhysX SDK 3.3 is now available for free with full source code for Windows, Linux, OS X and Android. Source code release of APEX Destruction and APEX Clothing modules is also planned.
Update: iOS source now added !
Previously, only binary distrubutions of PhysX SDK were available for free for commercial (Windows PC) and non-commercial (Linux, OS X, Android) use. PhysX engine for consoles if still subject of paid licensing.
This desicion will certanly help to push PhysX’s already wide adoption among developers even further and put an additional stress on competitive solutions.
Full instruction on PhysX SDK source code access can be found here.
Update: Latest source code branch is located here – github.com/NVIDIAGameWorks/PhysX-3.3
As part of .2 update of PhysX SDK and APEX toolset, NVIDIA has released new 3.0.2 version of the PhysX DCC plug-ins for 3ds Max and Maya.
Among other changes and bug-fixes, plug-ins are also supporting 3ds Max 2015 and Maya 2015.
|PhysX Plug-in 3.0.2 for 3ds Max: Release Notes|
- Improve Destruction performance.
- Fix Parature Ticket: Paint Mode – Ignore Backface not workin in Orthographic View.
- Fix DE9855 by not exporting chunks with zero volume.
- Fix a crash when there are more than 12 simulation sets.
- Fix: Apex Clothing paint crash.
- Fix Parature Ticket: PhysXModRBInterface, how do one access concave/composite shape type meshes.
- Fix Parature Ticket: How to make it work with concave physical shape.
- Destruction – Fix the crash when children nodes have less texture than parent chunk.
- Fix Bug #10117: Max crashes when adding child chunks to a destructible.
- Fix Bug #10063: Export panel allows export with no options selected.
- Fix a crash with invalid nodes when reading clothing type collision shape.