Student: Hamilton Chong (peridexion)
Mentor: Steve Streeting (sinbad)
Status: Incorporated into Eihort (OGRE 1.4)
I propose to extend OGREâ€™s real-time shadowing system and provide demos, tutorials, and documentation so that developers may easily leverage OGREâ€™s shadow capabilities.
This plan consists of 3 main parts:
- Implementing Plane Optimal Shadow Mapping: With almost no computational overhead and at most a screen resolutionâ€™s worth of shadow samples, it is possible to guarantee pixel perfect shadowing on a chosen plane of interest (quality on other planes is not guaranteed to be perfect, but in practice off-plane quality is still good). Implementation will make use of the customizable frusta for shadow setup. This allows applications with dominant and nearly planar shadow receivers (e.g., ground, wall) to achieve very good shadowing no matter the camera and light configuration.
- Demo code showcasing existing/new methods: as noted in the Help Requested section of the wiki, there is interest in generating more examples that help developers take advantage of shadow mapping, percentage closest filtering, and custom shadow map setups (this last one in particular).
- Documentation: tutorial for newbies to easily set up OGRE with shadowing. Also highlight practical and theoretical considerations when choosing between shadow variants.
The above 3 items are the key aims. As time permits, I will also work on various other add-ons to the system.
- sample project that demonstrate custom shadow maps
- OgreMain code for custom shadow camera setups
- sample project that demonstrates custom shadow camera usage
- documentation on shadows (algorithm, variants, analysis, implementation)
Code provides GLSL, HLSL, and Cg implementations to support both OpenGL and DirectX.