Hi guys, I'm trying to find a solution to match a projector output with a real 3D object. I know that it is possible (look at this article for example http://www.merl.com/papers/docs/TR2001-21.pdf), but I'd like to do it in QC. You can also read this interesting solution using http://vvvv.org/tiki-index.php?page=How+To+Project+On+3D+Geometry I think the best solution is to write a custom patch using OpenGL and OpenCV. My current approach is this:
1. I write a stand-alone application using OpenGL and OpenCV. It implements the POSIT algorithm (http://opencv.willowgarage.com/wiki/Posit) using webcam input, and tries to match a projection of a 3D cube with a real one. 2. The POSIT algorithm (cvPOSIT function of the OpenCV library) takes in input the focal lenght of the webcam, 3D object-coords of 4 non-co-planar point of a cube, and their correspondent 2D coordinates in the webcam input (there is a real cube in the scene), which is positioned over the projector (so as to capture the same scene from the same point of view). 3. The POSIT algorithm outputs the opengl model-view (rotation, translation), and projection matrix. 4. Then I write a custom GLSL shader in QC which use the same matix for the projection of a cube. The result is not so perfect, but the cube is projected nearly in the right place. Is there someone how tried to do something similar? How can I improve my workflow, so as to perfectly match the projected image with the real 3D object? Are there in your opinion any additional step to take into account? Thank you!
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to [email protected]

