|
How would I....Hello gang! trying to make an effect I did for a client a long time ago in a 3d program, just live-action and with a kinect, but can't seem to wrap my head around the right way to approach it in QC... The goal is to feed a greyscale image in (kinect depth) and 3d distort a different image in the Z based on brightness levels. I can use image displacement to kinda/sorta get there,(see below example images for source and final) but that only works in the 2d x/y world, am hoping to get this to bulge in the Z axis (closer/farther from the camera based on brightness levels.) Is this something you can do with meshes? at all? thanks for your input! cheers! jd
|
ahhh this is the direction, i then found after a lil more plunking about.
http://kineme.net/composition/gtoledo3/OpenCLDepthMapTextureMapKernel
and http://kineme.net/composition/dust/kinectdepthimageinmeterstoworldmap
Hey there! I really love the CL approaches (and that one you link too that I made is really fast on well supported GPU's).
This is an approach that uses GLSL, that I've found to be a little better supported across the board :-) Both texture inputs are hooked to an iSight at the moment, but you can hook one to the depth channel. This has a couple of nice things like ability to push around the color texture and to clip the back.
THAT was the ticket. Thanks!!!!! jd