Twig: Doing Open-Source Physics In DarkPlaces

Posted by Michael Larabel on September 07, 2012

While the DarkPlaces open-source game engine can already be used for some impressive games -- see Nexuiz and Xonotic as prime examples -- there's also the Twig Physics Library for the game engine to further enhance its physics.

The Twig Physics Library doesn't appear to have been updated in some time, but a Phoronix reader wrote in about this side-project, which was co-authored by "LordHavoc", the lead DarkPlaces developer that's now working for Valve Software on Linux.

Twig is a QuakeC-written physics library for DarkPlaces games and mods. Twig currently can handle simple rigid objects like crates/barrels and hanging/dangling objects while support for vehicles, gyro, and real rag doll physics as future features, assuming development picks back up.

More information on Twig can be found from its project page for the open-source library. Below is a short Twig demo video.

The Phoronix reader that sent in the notice about Twig had titled the email "Darkplaces with Half-Life 2 Style Physics!", but this is a rather over-ambitious statement considering the incomplete state of Twig and not supporting more advanced features yet like rag dolls, etc.

The reader went on to say, "There is no open source linux game with gameplay similar to that of Half-Life or Deus Ex where you could use the environment to your advantage by stacking stuff to get to higher places or killing your enemy by dropping a heavy object on his head. I believe the pieces to the puzzle are there to make a $60 game (like Bioshock or something) in a open source engine is there, somebody just needs to put the pieces together." The open-source pieces may be available to create a nice game, but one of the biggest issues is that most open-source game artwork/assets look awful. There's a real lack of quality artists within the open-source/community game projects with only a few titles actually looking good, such as Xonotic or Unvanquished.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. New NVIDIA Linux Driver Supports The GeForce GTX 780
  2. Chrome 28 To Offer More Speed Improvements
  3. Digia Announces "Boot To Qt" Project
  4. X.Org Libraries Hit By Round Of Security Issues
  5. Wayland's Weston Gets Output Scaling Support
  6. Raspberry Pi Gets New Wayland Weston Renderer
  7. Debian GNU/Hurd 2013 Release Brings New Packages
  8. Intel Ultrabook Performance Is Faster With Mesa 9.2
  9. Hot Relocation HDD To SSD Support For Btrfs
  10. Phoronix Test Suite 4.6.0 "Utsira" Released
  11. New Intel X.Org Driver Supports All Of Haswell
Latest Forum Talk
  1. Xserver 1.14 support will arrive with Catalyst...
  2. Radeon HD 7850 Catalyst wine performance
  3. X.Org Libraries Hit By Round Of Security Issues
  4. Digia Announces "Boot To Qt" Project
  5. Fedora 18 Comes To ARMv6, Raspberry Pi
  6. Updated and Optimized Ubuntu Free Graphics Drivers
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite