glt_PaintTrajectory3d

Creates a paintstroke as the connected 3d point's trajectory on the given framerange, seen by the connected camera, projected to screenspace. Weighted by distance from camera.

Updated: 11 April 2012

Author: gltoth

Compatible Nuke versions: 6.0 or later

Compatibility: Linux, Mac, Windows

Connect the viewing camera to cam input, and link a (animated) 3d point (that can be seen by the camera) to motionpath knob, and press run. Spits out a rotopaint with the trajectory painted. In the paint node on stroke tab, set the pressure alters to size, and uncheck opacity (sorry, do it manually at this time), and you can see that the further the point from camera, the thinner the painted line. Change the brush size to make it thicker. If the bounding box clips the stroke, put a crop before the rotopaint.

The main script in this gizmo is a combination of two scripts from python developer docs, a little bit reworked, so almost all credit goes to foundry.

Sign in or register to download or rate.