CornerPin3d

vfxwiki  >  Post Techniques  >  Nuke ToolKit  >  CornerPin3d
Page's that link from here:

intro

CornerPin3d is similar to a card 3d. i.e. it uses a 3d card and 3d camera to cheaply generate a 2d transform. The cardTotrack or cardToCornerPin node (nukeapedia or at post houses) are also different ways of generating an alternative to the expensive scanlineRender node when only requiring a card. The imagePlane tool of nukepedia is also similar in regard that it is a card3d that can stabilize the image.

code

Pros & Cons

Pros

  • very fast including motion blur
  • reproduces the same perspective as a scanline render as it's not a transform node, but a cornerpin.
  • concatenates
  • maintains BBOX
  • can use a 3d viewer
  • is live
  • peforms the same funcion as a project3d
  • uses the same model of a reference-frame like a tracker.
  • can stabilize as well as matchmove

Cons

  • only use with card geo.
  • IS IN BETA AND NOT YET PRODUCTION TESTED.

Manual

Method:

matchmoveThis is the same mode as a scanline render in 'render camera' projection mode.
matchmove(ref frame)This is the same mode as a scanline render node in 'render camera' projection mode with a project3D node. The render camera and the projection camera are same. The projection camera is held on the ref. frame.
stabilizeThis is the same mode as a scanline render node in 'uv' projection mode.
stabilize(ref frame)This is the same mode as a scanline render node in 'render camera' projection mode, but the render camera is held on the ref. frame.
project(projCam Input)This is the same mode as a scanline render node in 'render camera' projection mode with a project3D node. Note: if the projection camera and the render camera are the same expect that the projection camera is set to hold a ref. frame this method is the same as 'matchmove(ref frame)'

Ref Frame.

If the method has 'ref frame' in its name then this is then used, otherwise it does nothing. It is used like the reference frame in the tracker node

Example

Script

Intro

This example script compares how the cornerPin3d node matches the scanline render node in its different methods. It also show working production examples of the following:
  • 'rig removal' using the uv unwrap method.
  • 'rig removal' using the project3d held to a single frame method.
  • 'fix bad matchmove using a 2d tracker' - using the stabilize-tracker-matchmove method.

Created by admin. Last Modification: Sunday 08 of December, 2013 23:17:07 GMT by admin.