Sha256: 57a5bf31d99a66dc50613b32288bd30b65f8b0e7cb048a0f0b3bc04b94d47ce1
Contents?: true
Size: 728 Bytes
Versions: 27
Compression:
Stored size: 728 Bytes
Contents
# -*- encoding : utf-8 -*- # Export for Nuke's CameraTracker node. Same format as Shake Text # except that all trackers have to be called "usertrack0" to "usertrackN" require File.dirname(__FILE__) + "/shake_text" class Tracksperanto::Export::NukeCameraUsertracks < Tracksperanto::Export::ShakeText def self.desc_and_extension "nuke_cam_trk_autotracks.txt" end def self.human_name "Nuke CameraTracker node autotracks (enable import/export in the Tracking tab)" end def start_export(w, h) super @counter = 0 end NAMING = "autotrack%d" # change to "usertrack%d" if user tracks are needed def start_tracker_segment(tracker_name) super(NAMING % @counter) @counter += 1 end end
Version data entries
27 entries across 27 versions & 1 rubygems