PhysX and Shadows

by Michael Horsch
www.BonzaiSoftware.com

Important!:
This demo requires the installation of the AGEIA PhysX SystemSoftware. You can install it by running AGEIA_PhysX_2.4.2_SystemSoftware.exe. The PhysX Installer will also offer you to install optional components, these components are not required to run the demo.
For more info about AGEIA PhysX visit: www.ageia.com

Required Extensions:
GL_ARB_multitexture
GL_ARB_shading_language_100
GL_EXT_framebuffer_object

Controls:
E -> Reset Scene
Space -> Throw Box
R -> Throw Rag Doll

Description:
This demo shows a physics playground with soft shadow mapping.
For the physics calculations the AGEIA PhysX SDK is used. Physics effects in this demo are: Many ridig bodies, a rag doll, a joint-rope, a 3D-version of Galton's Board and an unstable tower.
For shadow mapping the depth is rendered to a 2048x2048 texture using the EXT_framebuffer_object extension. To avoid shadow aliasing, a GLSL shader blurs the results of the depth comparisons using 21 samples, producing soft fuzzy shadows.

Please send your feedback, questions
or bugs to:
feedback@bonzaisoftware.com
or visit the forum at:
http://forum.bonzaisoftware.com/