Blender Git Loki

Git Commits -> Revision 5cc3770

Revision 5cc3770 by Sergey Sharybin (master)
February 18, 2013, 10:12 (GMT)
Correction to r54600

Calculate dependent area based on distortion model rather than
using 15% of image resolution for this.

Some assumptions here:

- We're assuming real-life camera calibration is used here
- Maximal undistortion delta would be achieved on frame boundary
- Distortion fully goes inside frame

This makes it possible to approximate margin for distortion by
checking undistortion delta across frame boundary and use it
for dependent area of interest.

We do not use any formula-based equation here because we're likely
support other distortion models and in that case it'll be stupid
to try detecting formula here.

Commit Details:

Full Hash: 5cc377022b810cb2ab291a0064e5749b976e185a
SVN Revision: 54622
Parent Commit: a0ede5b
Lines Changed: +91, -7

4 Modified Paths:

/source/blender/blenkernel/BKE_tracking.h (+3, -0) (Diff)
/source/blender/blenkernel/intern/tracking.c (+61, -0) (Diff)
/source/blender/compositor/operations/COM_MovieDistortionOperation.cpp (+26, -7) (Diff)
/source/blender/compositor/operations/COM_MovieDistortionOperation.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021