material projection mapping

1 message Options
Embed this post
Permalink
fxkill

material projection mapping

Reply Threaded More More options
Print post
Permalink
I'm trying to find this demo I saw once, where a bunch of cubes where dropped and stacked with a physics engine. While this was happening, a material was mapped to these cubes as if a projector was projecting an image onto them. Does anyone know where this demo is? Or better yet how to achive this effect?

I do have another question, in the case that this technique does not work for me properly.
In photoshop, it is simple to take a flat image and superimpose it onto the side of a round object to make it look like it was there to begin with. I am looking for a way to achieve this effect though papervision in a dynamic way.
Say I have a flat bitmap image with a sphere. I've made a 3Dsphere with a UV map to map only the sphere in the bitmap. (why do it this way, because the bitmap is imported dynamically through webcam). The sphere is up and running with a bitmap material in papervision. Now I want to update that bitmap material with a graphic, say a stamp for example.

I could update the bitmap material directly, but the image of the stamp is still flat. So when I add the flat image to the desired location and update the 3DSphere's material, the graphics is stretched and looks like a terrible photoshop job. Is there a way to project the graphic material onto the 3Dsphere and update the correct dimension and distortion onto the material? Thanks for reading.