Go to file
Lukas Tönne 658b4c0d56 New Corner Pin node: uses explicit corner values for a plane warp transformation.
This was suggested by Christopher Barrett (terrachild). Corner pin is a common feature in compositing.

The corners for the plane warping can be defined by using vector node inputs to allow using perspective plane transformations without having to go via the MovieClip editor tracking data.
Uses the same math as the PlaneTrack node, but without the link to MovieClip and Object.

{F78199}

The code for PlaneTrack operations has been restructured a bit to share it with the CornerPin node.

* PlaneDistortCommonOperation.h/.cpp: Shared generic code for warping images based on 4 plane corners and a perspective matrix generated from these. Contains operation base classes for both the WarpImage and Mask operations.

* PlaneTrackOperation.h/.cpp: Current plane track node operations, based on the common code above. These add pointers to MovieClip and Object which define the track data from wich to read the corners.

* PlaneCornerPinOperation.h/.cpp: New corner pin variant, using explicit input sockets for the plane corners.

One downside of the current compositor design is that there is no concept of invariables (constants) that don't vary over the image space. This has already been an issue for Blur nodes (size input is usually constant except when "variable size" is enabled) and a few others. For the corner pin node it is necessary that the corner input sockets are also invariant. They have to be evaluated for each tile now, otherwise the data is not available. This in turn makes it necessary to make the operation "complex" and request full input buffers, which adds unnecessary overhead.
2014-03-11 14:12:08 +01:00
build_files tweaks to buildinfo 2014-03-07 18:27:16 +06:00
doc Bump version to Blender2.70rc and new splash 2014-03-06 04:40:49 +11:00
extern OSX/bullet: Truely fix T38746 now, compile flags where not propagated right, 2014-03-11 13:27:06 +01:00
intern OSX: fix another kCGLRendererAppleSWID 2014-03-10 22:29:08 +01:00
release New Corner Pin node: uses explicit corner values for a plane warp transformation. 2014-03-11 14:12:08 +01:00
scons@59512aadd1 Revert changes to submodules 2014-03-10 15:17:22 +06:00
source New Corner Pin node: uses explicit corner values for a plane warp transformation. 2014-03-11 14:12:08 +01:00
.arcconfig Use HTTPS protocol for arc 2013-12-24 22:57:27 +06:00
.gitignore .gitignore: Adding CMakeLists.txt.user for QtCreator users. 2014-01-26 17:52:14 -08:00
.gitmodules Initialize git submodules for addons, locales and scons 2013-11-15 12:19:08 +06:00
CMakeLists.txt Make CMake use Jack debug libraries when compiling a debug build 2014-03-08 18:47:02 +01:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile Found another place where nproc can be used 2014-03-02 10:29:40 +01:00
SConstruct Splash screen: use a retina resolution image for Mac OS X. 2014-02-18 19:38:44 +01:00