Page MenuHome

Tracking: unify data storage for lens distortions
Needs ReviewPublic

Authored by Ivan Perevala (ivpe) on Oct 21 2020, 2:17 AM.

Details

Summary

Task description: T82645

In terms of Tracking project it should replace MovieTrackingCamera which is too limited in case of code and data reuse.
The main idea of this patch is create LensDistortion ID which contains all camera intrinsics relative to lens distortions only. This allow to animate them, as far as movieclip can be captured using zoom lenses as well as using optical or sensor stabilization, that mean lens intrinsics can be changed per frame. And moreover, compositing node, camera background image/movieclip can reuse this data. Expected that "Movie Distortion" compositing node will have UI representation of lens distortion it used.
For now, it is only draft implementation, missing many important things like actually, MovieTrackingCamera replacement, versioning, ect and less important (correct icon for datablock, ...).

How it should look like:

Diff Detail

Repository
rB Blender
Branch
arcpatch-D9291 (branched from master)
Build Status
Buildable 11233
Build 11233: arc lint + arc unit

Event Timeline

Ivan Perevala (ivpe) requested review of this revision.Oct 21 2020, 2:17 AM
Ivan Perevala (ivpe) created this revision.
Ivan Perevala (ivpe) retitled this revision from Implement Camera DNA struct distortion members to Paint texture camera mapping .Oct 21 2020, 2:22 AM
Ivan Perevala (ivpe) edited the summary of this revision. (Show Details)
Ivan Perevala (ivpe) retitled this revision from Paint texture camera mapping to Paint texture camera mapping.

Draft DNA implementation for unification of data storage for camera intrinsics.

Ivan Perevala (ivpe) retitled this revision from Paint texture camera mapping to Tracking: Draft DNA implementation for unification of data storage for camera intrinsics.Sun, Nov 1, 11:50 PM
Ivan Perevala (ivpe) edited the summary of this revision. (Show Details)
Ankit Meel (ankitm) edited the summary of this revision. (Show Details)Mon, Nov 2, 6:39 AM
  • Prepare files layout
  • Implemented LensDistortion ID
Ivan Perevala (ivpe) edited the summary of this revision. (Show Details)Tue, Nov 10, 12:50 PM
Ivan Perevala (ivpe) retitled this revision from Tracking: Draft DNA implementation for unification of data storage for camera intrinsics to Tracking: unification of data storage for camera intrinsics (lens distortion).Tue, Nov 10, 2:11 PM
Ivan Perevala (ivpe) edited the summary of this revision. (Show Details)
  • Resolved makesdna.c
  • Added translation context
Ivan Perevala (ivpe) edited the summary of this revision. (Show Details)Wed, Nov 11, 2:21 PM
  • Tracking member for LensDistortion structure
  • Add new lens distortion operator
  • More colaborated with tracking
Ivan Perevala (ivpe) edited the summary of this revision. (Show Details)Wed, Nov 11, 8:48 PM
  • Lens distortions added with movieclip opening
  • Base RNA implementation of coefficients
Ivan Perevala (ivpe) edited the summary of this revision. (Show Details)Wed, Nov 11, 9:55 PM
  • Animateable principal point
Ivan Perevala (ivpe) retitled this revision from Tracking: unification of data storage for camera intrinsics (lens distortion) to Tracking: unify data storage for lens distortions.Thu, Nov 12, 11:35 AM
Ivan Perevala (ivpe) edited the summary of this revision. (Show Details)