This is the title on the semester project I did last semester (7th) as a Medialogy student.
The idea behind the semester project was to look into generating shadows for Augmented Reality, as we hadn’t seen shadows implemented in many frameworks for Augmented Reality.
We looked into creating projection shadows, shadow maps and shadow volumes for ARToolkit.
As the project evolved, we became more and more interested in updating the positions for the shadows in real time, so the shadows aren’t static. As the shadows themselves were not important for this, we implemented projected shadows (as they were the fastest to implement), and focussed on a way for finding light in the environment and create shadows based on this.
Based on prior research, we created a reflective sphere to collect light in the environment and used math to calculate an environment map of the scene.
From this, we used median cut [gl.ict.usc.edu] (which is usually used for HDR environment maps), and created light sources and direction based on this. From there it was just using OpenGL lights and our created projected shadows.
Image of the final implementation:
The paper is available for download here [jbmadsen.com].
A video of the implementation has been uploaded to youtube and can be seen here [youtube.com].