Blender Git Commit Log
Git Commits -> Revision d225331
Revision d225331 by Sybren A. Stüvel (sybren-usd) July 5, 2019, 16:11 (GMT) |
USD: Added exporting the camera Only perspective cameras are supported for now. I also had to add a function `BKE_camera_sensor_size_for_render()` that calculates the sensor width or height, depending on the fitting parameter and the scene render resolution aspect ratio. |
Commit Details:
Full Hash: d225331ac7d72d87f56e7dc7711702b997fe847a
Parent Commit: 50843f4
Lines Changed: +118, -4
2 Added Paths:
/source/blender/usd/intern/usd_writer_camera.cc (+61, -0) (View)
/source/blender/usd/intern/usd_writer_camera.h (+16, -0) (View)
/source/blender/usd/intern/usd_writer_camera.h (+16, -0) (View)
6 Modified Paths:
/source/blender/blenkernel/BKE_camera.h (+6, -0) (Diff)
/source/blender/blenkernel/intern/camera.c (+26, -0) (Diff)
/source/blender/usd/CMakeLists.txt (+2, -0) (Diff)
/source/blender/usd/intern/usd_hierarchy_iterator.cc (+5, -2) (Diff)
/source/blender/usd/intern/usd_writer_abstract.cc (+1, -1) (Diff)
/source/blender/usd/intern/usd_writer_abstract.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/camera.c (+26, -0) (Diff)
/source/blender/usd/CMakeLists.txt (+2, -0) (Diff)
/source/blender/usd/intern/usd_hierarchy_iterator.cc (+5, -2) (Diff)
/source/blender/usd/intern/usd_writer_abstract.cc (+1, -1) (Diff)
/source/blender/usd/intern/usd_writer_abstract.h (+1, -1) (Diff)