tracksperanto 2.3.3 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +4 -0
- data/Manifest.txt +4 -0
- data/lib/export/pftrack_2011.rb +30 -0
- data/lib/tracksperanto.rb +1 -1
- data/test/export/samples/ref_PFTrack2011.txt +54 -0
- data/test/export/test_pftrack2011_export.rb +19 -0
- data/test/import/samples/flame_stabilizer/Flame_Stabilizer_2012.stabilizer +6954 -0
- data/test/import/test_flame_import.rb +9 -0
- data/test/test_cli.rb +1 -1
- data/test/test_pipeline.rb +1 -1
- metadata +10 -5
@@ -156,4 +156,13 @@ class FlameImportTest < Test::Unit::TestCase
|
|
156
156
|
assert_equal 3, trackers.length
|
157
157
|
assert_equal 3, trackers[0].length
|
158
158
|
end
|
159
|
+
|
160
|
+
# flame 2012 changed the keyframe format
|
161
|
+
def test_from_flame2012
|
162
|
+
fixture = File.open(File.dirname(__FILE__) + '/samples/flame_stabilizer/Flame_Stabilizer_2012.stabilizer')
|
163
|
+
trackers = Tracksperanto::Import::FlameStabilizer.new(:io => fixture).to_a
|
164
|
+
|
165
|
+
assert_equal 5, trackers.length
|
166
|
+
assert_equal 61, trackers[0].length
|
167
|
+
end
|
159
168
|
end
|
data/test/test_cli.rb
CHANGED
@@ -51,7 +51,7 @@ class CliTest < Test::Unit::TestCase
|
|
51
51
|
fs = %w(. ..
|
52
52
|
flm.stabilizer flm_3de_v3.txt flm_3de_v4.txt flm_boujou_text.txt flm_flame.stabilizer
|
53
53
|
flm_matchmover.rz2 flm_mayalive.txt flm_nuke.nk flm_pfmatchit.txt flm_pftrack_v4.2dt
|
54
|
-
flm_pftrack_v5.2dt flm_shake_trackers.txt flm_syntheyes_2dt.txt
|
54
|
+
flm_pftrack_v5.2dt flm_pftrack_2011.txt flm_shake_trackers.txt flm_syntheyes_2dt.txt
|
55
55
|
)
|
56
56
|
|
57
57
|
assert_same_set fs, Dir.entries(TEMP_DIR)
|
data/test/test_pipeline.rb
CHANGED
@@ -88,7 +88,7 @@ class PipelineTest < Test::Unit::TestCase
|
|
88
88
|
FileUtils.cp("./import/samples/shake_script/four_tracks_in_one_stabilizer.shk", "./input.shk")
|
89
89
|
pipeline = Tracksperanto::Pipeline::Base.new
|
90
90
|
assert_nothing_raised { pipeline.run("./input.shk", :importer => "Syntheyes", :width => 720, :height => 576) }
|
91
|
-
assert_equal
|
91
|
+
assert_equal 14, Dir.glob("./input*").length, "Fourteen files should be present for the input and outputs"
|
92
92
|
end
|
93
93
|
|
94
94
|
def test_run_with_overridden_importer_and_size_for_file_that_would_be_recognized_differently
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tracksperanto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 2.
|
8
|
+
- 4
|
9
|
+
- 1
|
10
|
+
version: 2.4.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Julik Tarkhanov
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-05-
|
18
|
+
date: 2011-05-20 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -94,6 +94,7 @@ files:
|
|
94
94
|
- lib/export/nuke_script.rb
|
95
95
|
- lib/export/pfmatchit.rb
|
96
96
|
- lib/export/pftrack.rb
|
97
|
+
- lib/export/pftrack_2011.rb
|
97
98
|
- lib/export/pftrack_5.rb
|
98
99
|
- lib/export/shake_text.rb
|
99
100
|
- lib/export/syntheyes.rb
|
@@ -149,6 +150,7 @@ files:
|
|
149
150
|
- test/export/samples/ref_NukeScript.nk
|
150
151
|
- test/export/samples/ref_PFMatchit.2dt
|
151
152
|
- test/export/samples/ref_PFTrack.2dt
|
153
|
+
- test/export/samples/ref_PFTrack2011.txt
|
152
154
|
- test/export/samples/ref_PFTrack5.2dt
|
153
155
|
- test/export/samples/ref_ShakeText.txt
|
154
156
|
- test/export/samples/ref_Syntheyes.txt
|
@@ -166,6 +168,7 @@ files:
|
|
166
168
|
- test/export/test_mux.rb
|
167
169
|
- test/export/test_nuke_export.rb
|
168
170
|
- test/export/test_pfmatchit_export.rb
|
171
|
+
- test/export/test_pftrack2011_export.rb
|
169
172
|
- test/export/test_pftrack5_export.rb
|
170
173
|
- test/export/test_pftrack_export.rb
|
171
174
|
- test/export/test_shake_export.rb
|
@@ -174,6 +177,7 @@ files:
|
|
174
177
|
- test/import/samples/3de_v3/3de_export_v3.txt
|
175
178
|
- test/import/samples/3de_v4/3de_export_cube.txt
|
176
179
|
- test/import/samples/boujou_features_text/boujou_txt_export.txt
|
180
|
+
- test/import/samples/flame_stabilizer/Flame_Stabilizer_2012.stabilizer
|
177
181
|
- test/import/samples/flame_stabilizer/fromCombustion_fromMidClip_wSnap.stabilizer
|
178
182
|
- test/import/samples/flame_stabilizer/fromTracksperanto.stabilizer
|
179
183
|
- test/import/samples/flame_stabilizer/hugeFlameSetup.stabilizer
|
@@ -299,6 +303,7 @@ test_files:
|
|
299
303
|
- test/export/test_mux.rb
|
300
304
|
- test/export/test_nuke_export.rb
|
301
305
|
- test/export/test_pfmatchit_export.rb
|
306
|
+
- test/export/test_pftrack2011_export.rb
|
302
307
|
- test/export/test_pftrack5_export.rb
|
303
308
|
- test/export/test_pftrack_export.rb
|
304
309
|
- test/export/test_shake_export.rb
|