PhysX
Developer(s) | Nvidia Corporation |
---|---|
Stable release | 9.12.0604, 306.97 nvidia drivers
/ October 10, 2012 |
Repository | |
Operating system | Windows 7, Windows Vista, Windows XP, Mac OS X, Linux (not GPU accelerated), Wii, PlayStation 3, Xbox 360 |
Type | Physics simulation |
License | Proprietary, Commercial |
Website | Nvidia PhysX developer site |
PhysX is a proprietary realtime physics engine middleware SDK. It was developed by Ageia with the purchase of ETH Zurich spin-off NovodeX in 2004. Ageia was acquired by Nvidia in February 2008[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 CUDA cores), thus offloading physics calculations from the CPU, allowing it to perform other tasks instead. This typically results in a smoother gaming experience and additional visual effects.
Middleware physics engines allow game developers to avoid writing their own code to handle the complex physics interactions possible in modern games. PhysX is one of the handful of physics engines used in all of today's games.[2]
The PhysX engine and SDK are available for Microsoft Windows, Mac OS X, Linux, PlayStation 3,[3][4] Xbox 360[5] and the Wii.[6] The PhysX SDK is provided to developers of all platforms for free, both for commercial and non-commercial use.[7]
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.[8]
In 2008, Ageia was itself acquired by graphics technology manufacturer Nvidia. Nvidia started enabling PhysX hardware acceleration on its line of GeForce graphics cards[9] and eventually dropped support for Ageia PPUs.[10]
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, volumetric fluid simulation and cloth simulation including tearing and pressurized cloth.
APEX PhysX
Nvidia APEX technology is a multi-platform scalable dynamics framework first introduced in Mafia II in August 2010.[11] Nvidia's APEX engine comprises the following features: APEX Destruction, APEX Clothing, APEX Particles, APEX Vegetation, and APEX Turbulence.[12]
Hardware acceleration
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[13] 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.[10]
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 sit on top of a 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 (series 8 and newer, with a minimum of 32 cores and 256MB of video memory[14]) can take advantage of PhysX without the need to install a dedicated PhysX card.
Versions 186 and newer of the ForceWare drivers disable PhysX hardware acceleration if a GPU from a different manufacturer, such as AMD, is present in the system.[14] Representatives at Nvidia stated to customers that the decision was made due to development expenses, and for quality assurance and business reasons.[15] This decision has caused a backlash from the community that led to the creation of a community patch for Windows 7, circumventing the GPU check in Nvidia's updated drivers. To counter this patch, Nvidia implemented a time bomb in driver versions 196 and 197 that slowed down hardware accelerated PhysX and reversed the gravity,[16] but an updated version of the patch removed all unwanted effects.[17]
Real World Technologies analysis
On 5 July 2010, Real World Technologies published an analysis[18] 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[19] 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.[20]
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.[2]
Use
PhysX in video games
PhysX technology is used by game engines such as Unreal Engine (version 3 onwards), Unity 3D, Gamebryo, Vision (version 6 onwards), Instinct Engine[21], Panda3D, Diesel, Torque, HeroEngine and BigWorld[22].
As one of the handful of major physics engines, it is used in many games, such as Bulletstorm, Need for Speed: Shift, Castlevania: Lords of Shadow, Mafia II, Alice: Madness Returns, Batman: Arkham City 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.[23][24][25]
PhysX in other software
Other software with PhysX support includes:
- Active Worlds (AW), a 3D virtual reality platform with its client running on Windows
- Autodesk 3ds Max, Autodesk Maya and Autodesk Softimage, computer animation suites[26][27][28]
- DarkBASIC Professional (with DarkPHYSICS upgrade), a programming language targeted at game development[29]
- DX Studio, an integrated development environment for creating interactive 3D graphics[30]
- Futuremark 3DMark Vantage, a benchmarking tool[31]
- Microsoft Robotics Studio, an environment for robot control and simulation[32]
- Nvidia SuperSonic Sled and Raging Rapids Ride, technology demos
- OGRE (via the NxOgre wrapper), an open source rendering engine
- The Physics Abstraction Layer, a physical simulation API abstraction system (it provides COLLADA and Scythe Physics Editor support for PhysX)[33]
- Rayfire, a plug-in for Autodesk 3ds Max that allows fracturing and other physics simulations
See also
References
- ^ "NVIDIA completes Acquisition of AGEIA Technologies" (Press release). NVIDIA Corporation. 2008-02-13. Retrieved 2009-03-18.
- ^ a b "NVIDIA announces the release of PhysX SDK V3". Nvidia. Retrieved 2011-06-03.
- ^ "Sony Computer Entertainment Enters Into Strategic Licensing Agreement With AGEIA" (PDF) (Press release). Sony Computer Entertainment, Inc. 2005-07-21. Retrieved 2006-08-23.
- ^ "Playstation 3 gets free PhysX from Nvidia". Kotaku.
- ^ "PhysX - Overview - GeForce". Nvidia.com. Retrieved 2011-11-30.
- ^ "News - Pre-GDC: Nvidia PhysX Approved For Wii Developers". Gamasutra. 2009-03-19. Retrieved 2011-11-30.
- ^ "PhysX Downloads". Nvidia. Retrieved 2011-06-08.
- ^ César A. Berardini (2005-04-12). "AGEIA Technologies Interview". Retrieved 2011-06-08.
- ^ "PhysX For CUDA, Linux Support A Given?". Phoronix. Phoronix Media. 2008-02-14. Retrieved 2008-02-14.
- ^ a b "How to restore PPU support with latest PhysX Drivers | PhysXInfo.com - PhysX News". PhysXInfo.com. 2011-01-17. Retrieved 2011-11-30.
- ^ Olin Coles. "Mafia-II Video Game Performance Review". BenchmarkReviews.com. Retrieved 2010-08-23.
- ^ "APEX". Retrieved 2011-06-08.
- ^ http://www.bfgtech.com/news_8.31.05.html
- ^ a b "PhysX FAQ". Nvidia.com. Retrieved 2011-11-30.
- ^ "Nvidia disables PhysX when ATI card is present". Ngohq.com. Retrieved 2011-11-30.
- ^ "Hybrid PhysX Patch 1.03 With Reverse Gravity Timebomb Fix - 3D Tech News and Pixel Hacking". Geeks3D.com. 2010-04-22. Retrieved 2011-11-30.
- ^ "Hybrid PhysX mod v1.03 / v1.05ff". Ngohq.com. Retrieved 2011-11-30.
- ^ Real World Technologies - PhysX87: Software Deficiency
- ^ Stokes, Jon (2010-07-08). "Did NVIDIA cripple its CPU gaming physics library to spite Intel?". Arstechnica.com. Retrieved 2011-11-30.
- ^ "Nvidia: We're not hobbling CPU PhysX | thinq_ | Page 1". Thinq.co.uk. Retrieved 2011-11-30.
- ^ http://www.instinctengine.com/index.php/products/instinct-studio-sdk
- ^ "PhysX FAQ". Nvidia. Retrieved 2011-04-06.
- ^ Matt Butrovich (2009-02-12). "A look at PhysX in Mirror's Edge". The Tech Report. Retrieved 2011-04-06.
- ^ Rich Brown (2009-09-21). "Nvidia's PhysX makes PC Batman: Arkham Asylum worth the wait". cNET.com. Retrieved 2011-04-06.
- ^ Matthew Murray (2010-09-02). "Mafia II: Is Applied PhysX Worth It?". ExtremeTech. Retrieved 2011-04-06.
- ^ Jim Thacker (2011-03-01). "Videos: Autodesk reveals new features in Maya 2012". cgchannel.com. Retrieved 2011-04-06.
- ^ "3ds Max 2012 and Maya 2012 adds PhysX support". Beyond3D.com. 2011-03-01. Retrieved 2011-04-06.
- ^ Randall Hand (2010-05-05). "NVidia PhysX and CUDA in Softimage 2011". Vizworld.com. Retrieved 2011-04-06.
- ^ "The Game Creators Integrate AGEIA PhysX Technology into DarkBASIC Professional" (Press release). The Game Creators. 2006-03-22. Retrieved 2006-09-23.
- ^ "Overview". DX Studio. Worldweaver. Retrieved 2008-11-02.
- ^ "AGEIA Joins Futuremark's 3DMark Benchmark Development Program". FindArticles. CBS Interactive. BusinessWire. 2006-09-27. Retrieved 2008-11-03.
- ^ "Simulation Overview". Microsoft Robotics Developer Center. Microsoft.
- ^ Boeing, Adrian. "Engines". Physics Abstraction Layer. Retrieved 2007-11-18.