Hi Phil,Phil wrote:Hi all,
there is a problem when exporting the orthographic camera to indigo.
I configured blender assuming I use millimeters (scale 0.001).
The actual code (camera.py) is:
-----------------------------------------------------------------
if(scene.camera.data.type == 'ORTHO'):
xml_format['camera_type'] = ['orthographic']
xml_format['sensor_width'] = [scene.camera.data.ortho_scale]
This should be:
-----------------------------------------------------------------
if(scene.camera.data.type == 'ORTHO'):
xml_format['camera_type'] = ['orthographic']
xml_format['sensor_width'] = [scene.camera.data.ortho_scale * ws]
Cheers,
Philippe
thanks a lot for the fix. I'll review and commit this change.