I’ve just put together an add-on called blam, the Blender camera calibration toolkit, that automatically aligns the Blender camera to match photographs based on user defined line segments.
More information, including videos, can be found here.
@tungee That could be a problem with your input mesh. Make sure it has only quad faces, no duplicate vertices and that the normals are “consistent”, i.e all on the outside or all on the inside. Adding checks for this in the script is on my list. Let me know if that fixed your problem.
Followed the tipps on the issue page of code for reconstruction. So removed the gabel triangles of example house - it even worked if the bottom face normals were inside in opposite to outside normals of rest of house mesh. But i am using Version 2.61 revision 42615 without the changes. My difficulties are more holding Strg + D and placing the strokes right. And i had the feeling one must set all grease layers to it respecting axis even if default setting will be used, x at first (internally 0) in my case.
Ho Amazing year 2012??? Shader tool, 3D cursor Enhanced, Stored view, Automatic UV Projection and now BLAM!
And The Winner Is…??? :o :o :o :o :o
Very nice job, my Friends! BLENDER IS NO CONTEST THE BEST 5D MODELER ALL OVER THE WORLD!
But I am disappointed by the silence of Chromoly because his work was also exceptional, especially its addons: “Local Grid Menu” and “Ruler” stoped at Blender v2.56a…:eek:
I just committed a new version of blam that should also work for recent Blender revisions and be less sensitive to the topology of the input mesh (properly ignoring triangles and edges that are not part of faces).
@tungee This should hopefully solve the crash you reported.
best presented add-on ever and usefull one also. I was wondering if camera tracking could do this but it [seems it] can’t from just 1 frame. so thanks again for making it easy to mix photo and cgi.