google-research / kubric

A data generation pipeline for creating semi-realistic synthetic multi-object videos with rich annotations such as instance segmentation masks, depth maps, and optical flow.
Apache License 2.0
2.35k stars 233 forks source link

Cloned from CL 568999187 by 'hg patch'. #305

Closed Qwlouse closed 8 months ago

Qwlouse commented 1 year ago

Cloned from CL 568999187 by 'hg patch'. Original change by phenzler@phenzler:fig-export-syn_ren-228-change-26:4824:citc on 2023/09/27 16:53:25.

Allow kubric to set principal point shift for blender camera.

Note that this cl, however, does not handle the support for principal points in kubric.

codecov-commenter commented 1 year ago

Codecov Report

Merging #305 (6ef12f0) into main (f7e6b9f) will increase coverage by 0.0%. The diff coverage is 100.0%.

@@          Coverage Diff          @@
##            main    #305   +/-   ##
=====================================
  Coverage   66.0%   66.0%           
=====================================
  Files         43      43           
  Lines       3565    3572    +7     
=====================================
+ Hits        2353    2360    +7     
  Misses      1212    1212           
Files Coverage Δ
kubric/core/cameras.py 71.6% <100.0%> (+0.7%) :arrow_up:
kubric/renderer/blender.py 60.8% <100.0%> (+0.3%) :arrow_up:
kubric/safeimport/bpy.py 55.5% <ø> (+5.5%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more