Video Projector Effect

My general goal for this was to approximate the look of a video projection hitting a ‘non-planar surface’ or otherwise intersecting objects in a 3d scene.
The underlying logic wasn’t too painful. The UV coordinates of each vertex are all that need to be solved for. There’s a linear relationship between the position and orientation of the ‘projector’, and the world space position and UV coordinates of each vertex in the scene — requiring just algebra, which is nice, because that’s about all the math I know. JiglibFlash is being used for the physics action.
In its current implementation, the projector is limited to looking straight down the z-axis. I have a feeling that the most elegant approach for all this would be to extend Camera3D or to piggyback on top of the plumbing of the Papervision framework in some other way (hint, hint)(apologies for the mixed metaphor). Should I develop the ‘Projection Manager’ to handle arbitrary projector orientation, I’ll post the source along with an updated example.

May 27th, 2009 at 5:21 am
I like – NICE
May 27th, 2009 at 6:27 am
amazing
May 27th, 2009 at 6:40 am
That’s looking very nice dude. Good work.
May 27th, 2009 at 7:31 am
Great.
May 27th, 2009 at 1:21 pm
Wicked effect! A bit off topic: is that CIE XYZ or L*a*b ?
May 27th, 2009 at 1:31 pm
Good question! Unfortunately, I don’t know, as I just took the image randomly using Google Images.
May 27th, 2009 at 8:25 pm
Awesome, good luck on the Projection Manager if you decide to go that route. I can think of a bunch of really cool uses for a full-fledged Projection Manager.
June 9th, 2009 at 12:54 pm
would like to do the same using box2D to compare the performance