Physics Abstraction Layer

The Physics Abstraction Layer (PAL) is an open source cross-platform physical simulation API abstraction system. It is similar to a physics engine wrapper, however it is far more flexible providing extended abilities. PAL is free software, released under the BSD license.

PAL is a high-level interface for low-level physics engines used in games, simulation systems, and other 3D applications. It supports a number of dynamic simulation methodologies, including rigid body, liquids, soft body, ragdoll and vehicle dynamics. PAL features a simple C++ API, intuitive objects (e.g. Solids, Joints, Actuators, Sensors, Materials), and COLLADA, Scythe Physics Editor and XML-based file storage.

The Physics Abstraction Layer provides a number of benefits over directly using a physics engine:

  • Flexibility - It allows developers to switch between different physics engines to see which engine provides their needs, as well as quickly testing a new engine.
  • Portable - Developers are able to use the physics engine which provides the best performance for different platforms, and are able to write platform independent code.
  • Security - If a middleware provider is acquired by another company or development is discontinued, developers can switch engines.
  • Scalable - The abstraction layer allows developers to run their code on handheld console platforms up to supercomputers.
  • Ease of use - Implementation details of the physics engine are abstracted, providing a cleaner interface to the developer.
  • Benchmarking - Researchers can directly compare the performance of various dynamic simulations systems.

PAL is designed with a pluggable abstract factory allowing code to be written and compiled once and allowing runtime selection of different physics engines, as well as feature upgrades.

Read more about Physics Abstraction Layer:  Supported Engines, Supported File Formats, Benchmark, See Also

Famous quotes containing the words physics, abstraction and/or layer:

    The pace of science forces the pace of technique. Theoretical physics forces atomic energy on us; the successful production of the fission bomb forces upon us the manufacture of the hydrogen bomb. We do not choose our problems, we do not choose our products; we are pushed, we are forced—by what? By a system which has no purpose and goal transcending it, and which makes man its appendix.
    Erich Fromm (1900–1980)

    There’s no such thing as socialism pure
    Except as an abstraction of the mind.
    There’s only democratic socialism,
    Monarchic socialism, oligarchic
    The last being what they seem to have in Russia.
    Robert Frost (1874–1963)

    This world is run by people who know how to do things. They know how things work. They are equipped. Up there, there’s a layer of people who run everything. But we—we’re just peasants. We don’t understand what’s going on, and we can’t do anything.
    Doris Lessing (b. 1919)