alicevision / MeshroomMaya

Photomodeling plugin for Maya
http://alicevision.org
Mozilla Public License 2.0
140 stars 36 forks source link

Configure camera correctly #115

Closed eprana closed 8 years ago

eprana commented 9 years ago

Currently, cameras are not correctly configured : focal and camera aperture are not ok. So we need to :

  1. Set camera aperture and ratio
  2. Apply "Fit to Film Gate" to Image Plane (ie: apply camera aperture as image plane size)
  3. Compute Angle of view and focal in mm.

In order to do that, we need to write camera information like sensor size in OpenMVG format in order to be able to use it in MayaMVG when loading camera.

Be careful, the order to set camera attribute is important

fabiencastan commented 8 years ago

Resolved with https://github.com/mikrosimage/mayaMVG/issues/130