PhysX

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
PhysX
Nvidia physx official logo.png
Original author(s) NovodeX (ETH Zurich)
Developer(s) NVIDIA Corporation
Stable release 9.15.0428 / May 21, 2015 (2015-05-21)
Operating system Linux, OS X, Windows, PlayStation 2, Wii, PlayStation 3, Xbox 360, PlayStation 4, Xbox One, Android, iOS
Type Physics simulation
License Proprietary and commercial
Website Nvidia PhysX developer site

PhysX is a proprietary realtime physics engine middleware SDK. PhysX was authored at NovodeX, an ETH Zurich spin-off. In 2004 NovodeX was acquired by Ageia, and in February 2008 Ageia was acquired by Nvidia.[1]

The term PhysX can also refer to the PPU expansion card designed by Ageia to accelerate PhysX-enabled video games.

Video games supporting hardware acceleration by PhysX can be accelerated by either a PhysX PPU or a CUDA-enabled GeForce GPU (if it has at least 32 cores and a minimum of 256MB dedicated graphics memory[2]), thus offloading physics calculations from the CPU, allowing it to perform other tasks instead.

Middleware physics engines free game developers from writing own code which implements classical mechanics (Newtonian physics) to do e.g. soft body dynamics. PhysX is one of the handful of physics engines used in the large majority of today's games.[3]

The PhysX engine and SDK are available for Microsoft Windows, OS X, Linux, PlayStation 2, PlayStation 3,[4][5] PlayStation 4,[6] Xbox 360,[7] Xbox One[8] and the Wii.[9] The PhysX SDK is provided to developers for free for both commercial and non-commercial use on Windows. For Linux, OS X and Android platforms the PhysX SDK is free for educational and non-commercial use.[10] At GDC 2015, Nvidia made PhysX free with source code available on GitHub.[11]

The first game to use PhysX was Bet on Soldier.

Nvidia PhysX is part of Nvidia GameWorks.

History

What is known today as PhysX originated as a physics simulation engine called NovodeX. The multi-threaded engine was developed by Swiss company NovodeX AG. In 2004, Ageia acquired NovodeX AG and began developing a hardware technology that could accelerate physics calculations, aiding the CPU. Ageia called the technology PhysX PPU (physics processing unit), and the SDK was renamed from NovodeX to PhysX.[12]

In 2008, Ageia was itself acquired by graphics technology manufacturer Nvidia. Nvidia started enabling PhysX hardware acceleration on its line of GeForce graphics cards[13] and eventually dropped support for Ageia PPUs.[14]

Features

PhysX is a multi-threaded physics simulation SDK available for Microsoft Windows, Mac OS X, Linux, PlayStation 3, Xbox 360 and Wii. It supports rigid body dynamics, soft body dynamics, ragdolls and character controllers, vehicle dynamics, particles, volumetric fluid simulation and cloth simulation including tearing and pressurized cloth.

Hardware acceleration

File:Mafia physx.jpg
(PC) The top screenshot shows how debris is simulated in Mafia II when PhysX is turned to the highest level in the game settings. The bottom screenshot shows a similar scene with PhysX turned to the lowest level.

PPU

A physics processing unit (PPU) is a processor specially designed to alleviate the calculation burden on the CPU, specifically calculations involving physics. PPU cards with PhysX support were available from the manufacturers ASUS, BFG Technologies[15] and ELSA Technology. Beginning with version 2.8.3 of the PhysX SDK, support for PPU cards was dropped, and PPU cards are no longer manufactured.[14]

The last incarnation of PhysX PPU stand alone add in card designed by Ageia has roughly the same Physx performance as a dedicated 9800GTX.[16]

GPU

After Nvidia's acquisition of Ageia, PhysX development turned away from PPU extension cards and focused instead on the GPGPU capabilities of modern GPUs. A graphics processing unit or GPU (also occasionally called visual processing unit or VPU) is a dedicated graphics rendering device for a personal computer, workstation or game console. Modern GPUs are very efficient at manipulating and displaying computer graphics, and their highly parallel structure makes them more effective than general-purpose CPUs for a range of complex algorithms, such as accelerating physical simulations using PhysX. A GPU can be located on a dedicated video card, or it can be integrated directly into the motherboard. More than 90% of new desktop and notebook computers have integrated GPUs.

Any CUDA-ready GeForce graphics card (8-series or later GPU with a minimum of 32 cores and a minimum of 256MB dedicated graphics memory[2]) can take advantage of PhysX without the need to install a dedicated PhysX card.

APEX

Nvidia APEX technology is a multi-platform scalable dynamics framework build around the PhysX SDK. It was first introduced in Mafia II in August 2010.[17] Nvidia's APEX comprises the following modules: APEX Destruction, APEX Clothing, APEX Particles, APEX Turbulence, APEX ForceField and formerly APEX Vegetation which was suspended in 2011.[18][19]

Real World Technologies analysis

On July 5, 2010, Real World Technologies published an analysis[20] of the PhysX architecture. According to this analysis, most of the code used in PhysX applications at the time was based on x87 instructions without any multi-threading optimization. This could cause significant performance drops when running PhysX code on the CPU. The article suggested that a PhysX rewrite using SSE instructions may substantially lessen the performance discrepancy between CPU PhysX and GPU PhysX.

In response to the Real World Technologies analysis, Mike Skolones, product manager of PhysX, said[21] that SSE support had been left behind because most games are developed for consoles first and then ported to the PC. As a result, modern computers run these games faster and better than the consoles even with little or no optimization. Senior PR manager of Nvidia, Bryan Del Rizzo, explained that multi-threading had already been available with CPU PhysX 2.x and that it had been up to the developer to make use of it. He also stated that automatic multithreading and SSE would be introduced with version 3 of the PhysX SDK.[22]

PhysX SDK 3.0 was released in May 2011 and represented a significant rewrite of the SDK, bringing improvements such as more efficient multithreading and a unified code base for all supported platforms.[3]

Usage

PhysX in video games

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

PhysX technology is used by game engines such as Unreal Engine (version 3 onwards), Unity, Gamebryo, Vision (version 6 onwards), Instinct Engine,[23] Panda3D, Diesel, Torque, HeroEngine and BigWorld.[2]

As one of the handful of major physics engines, it is used in many games, such as Mirror's Edge, Bulletstorm, Need for Speed: Shift, Castlevania: Lords of Shadow, Mafia II, Alice: Madness Returns, Batman: Arkham City, Borderlands 2, etc. Most of these games use the CPU to process the physics simulations.

Video games with optional support for hardware-accelerated PhysX often include additional effects such as tearable cloth, dynamic smoke or simulated particle debris.[24][25][26]

PhysX in other software

Other software with PhysX support includes:

See also

References

  1. Lua error in package.lua at line 80: module 'strict' not found.
  2. 2.0 2.1 2.2 Lua error in package.lua at line 80: module 'strict' not found.
  3. 3.0 3.1 Lua error in package.lua at line 80: module 'strict' not found.
  4. Lua error in package.lua at line 80: module 'strict' not found.
  5. Lua error in package.lua at line 80: module 'strict' not found.
  6. http://www.ign.com/articles/2013/03/07/nvidia-announces-physx-support-for-playstation-4
  7. Lua error in package.lua at line 80: module 'strict' not found.
  8. Lua error in package.lua at line 80: module 'strict' not found.
  9. Lua error in package.lua at line 80: module 'strict' not found.
  10. Lua error in package.lua at line 80: module 'strict' not found.
  11. Lua error in package.lua at line 80: module 'strict' not found.
  12. Lua error in package.lua at line 80: module 'strict' not found.
  13. Lua error in package.lua at line 80: module 'strict' not found.
  14. 14.0 14.1 Lua error in package.lua at line 80: module 'strict' not found.
  15. [1] Archived April 26, 2006 at the Wayback Machine
  16. http://www.pcgameshardware.com/&menu=browser&image_id=967623&article_id=674175&page=1&show=original
  17. Lua error in package.lua at line 80: module 'strict' not found.
  18. Lua error in package.lua at line 80: module 'strict' not found.
  19. Lua error in package.lua at line 80: module 'strict' not found.
  20. Real World Technologies – PhysX87: Software Deficiency
  21. Lua error in package.lua at line 80: module 'strict' not found.
  22. Lua error in package.lua at line 80: module 'strict' not found.
  23. Lua error in package.lua at line 80: module 'strict' not found.
  24. Lua error in package.lua at line 80: module 'strict' not found.
  25. Lua error in package.lua at line 80: module 'strict' not found.
  26. Lua error in package.lua at line 80: module 'strict' not found.
  27. Lua error in package.lua at line 80: module 'strict' not found.
  28. Lua error in package.lua at line 80: module 'strict' not found.
  29. Lua error in package.lua at line 80: module 'strict' not found.
  30. Lua error in package.lua at line 80: module 'strict' not found.
  31. Lua error in package.lua at line 80: module 'strict' not found.
  32. Lua error in package.lua at line 80: module 'strict' not found.
  33. Lua error in package.lua at line 80: module 'strict' not found.
  34. Lua error in package.lua at line 80: module 'strict' not found.

External links