Inspired by a wish in the Wish List sub-forum, I´ve created the attached family to make Camera Matching easier in Revit:
(Make sure to measure your location when shooting the photo to be matched)
- Place the the family in the project, at the same location and direction as you real photo.
- Change the "Camera Height" and "Target Height" in the family to match your real photo (Instance parameters).
- Make sure the "Focal Length" is set to 23.7 mm (Instance Parameter), which apparently is the equalliant of the standard Revit Camera.
- Take note of the "Target Width" in the family, i.e. 4683 mm if the Focal Length = 23.7 and the Camera Distance is 5000 mm
- Take note of the "Target Height" in the family, i.e. 3122 mm if the Focal Length = 23.7 and the Camera Distance is 5000 mm
- Place a Revit Camera on top of the Family, with the same direction and length.
- Go to the Camera view and change the Crop Size width to 4683 mm (Target Width) - Make sure to check "Scale (Locked Proportions)"
- Now change the Crop Size Height to 3122 (Target Height) - Make sure to check "Field of View"
You should now have a Revit Camera that matches the Family, but to make it all fit the actual photo:
- Open the photo, and in the properties take note of the Focal Length, i.e. 18 mm if you used a wide angle lense.
- In the family, change the "Focal Length" to match the photo properties, i.e. 18 mm
- Take a new note of the changed "Target Width" and "Target Height" (6167 mm and 4111 mm if you followed the above examples)
- In the camera view, change the Crop Size to match the above - Make sure to check "Field of View"
Your camera view should now be a pretty exact match of the photo!
The attached family is based on the physics of a Canon EOS 1000D, and is being calculated based on the formulas at Wikipedia - Use at own risk.