Photomatching in Blender possible? One function I'd like to see in Blender is the possibility of matching 3D geometry to photos. The method I have in mind consists of picking corresponding points between the mesh and a photo of the same mesh. When multiple points are picked this gives enough information for finding out the camera location in the photo.  Some (expensive) software already has this feature, like 3Ds max, Rhino and FormZ. I wonder if anyone knows of any script that makes this possible in Blender, or might be able to help me figure out how to setup this operation in blender. I'll describe the operation, step by step.


Load a 3D mesh.
Load a photo that features an identical 3D mesh from any angle as background image.
Pick point on 3D mesh (for example: left corner of building)
Pick corresponding point on photo (in this example: left corner of building).
Repeat step 3-4, X amount of times, picking different points.
Making use of information from step 3-X to position the camera so that the 3D mesh "matches" the background image.


It would be awesome if there might a way to do this in blender, either by a script or manually.

Thanks for any help, and have a wonderful day!
You are most likely looking for BLAM.

"A camera and projector calibration toolkit for Blender that also does automatic 3D reconstruction of geometry with rectangular faces."

https://github.com/stuffmatic/blam

See this introduction video:
https://vimeo.com/35153437 and other videos and documentation listed there.

It does not match an existing mesh though, it creates it for you...
There's other methods too, perhaps using the camera tracker over a sequence of images.