There’s someone under the carpet - displacing vertices with image stream
Thursday, July 10th, 2008Making a carpet out of a simple plane is not as difficult as it seems. Just drive the plane through a modifier node and use an image stream as the modifier source. A video or the webcam footage will be perfect. The modifier node displaces the vertices by an offset calculated from the corresponding the pixel values of the mapped source image. The best result can be achieved with a white background and a dark object. Alternately you could also use an interactive sprite and convert it to a bitmap. If you have a webcam and you are in a bright room you have to check out the second composition.




