From 074cc319d1aaf7628a4f2d232b37a9e6e93f0085 Mon Sep 17 00:00:00 2001 From: ultrakatiz <ultrakatiz@gmail.com> Date: Wed, 12 Apr 2023 03:07:21 +0200 Subject: [PATCH] removed old code from cubes_test.ass --- examples/cubes_test.ass | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/examples/cubes_test.ass b/examples/cubes_test.ass index e31b1eb..dfff633 100644 --- a/examples/cubes_test.ass +++ b/examples/cubes_test.ass @@ -14,8 +14,7 @@ Last Style Storage: Default Video File: ?dummy:24.000000:120:1920:1080:0:0:0: Video AR Value: 1.777778 Video Zoom Percent: 0.500000 -Active Line: 12 -Video Position: 58 +Active Line: 9 [V4+ Styles] Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding @@ -41,11 +40,8 @@ Comment: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,code once,c1 = shape.new(t1, sha Comment: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,code once,tc1 = transform.new() tc2 = transform.new(vector.new({0, 0, 700})) tc2.parent = tc1 cam = camera.new(tc2, math.pi/2) Comment: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,, Comment: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,code once,light_t = transform.new(vector.new(3, {-500,0,1000})) l1 = light.new(light_t, vector.new(3, {255, 255, 255}), vector.new(3, {255, 255, 255})) light_t2 = transform.new(vector.new(3, {1000,0,-1000})) l2 = light.new(light_t2, vector.new(3, {255, 0, 0}), vector.new(3, {255, 0, 0})) ambient = vector.new(3, {80,80,80}) lights = {l1} -Comment: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,,color = _G.face.shade(vector.new(3, {0,0,-1}), vector.new(3, {0,0,10}), mat, lights, ambient, cam) -Comment: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,,!t1.rot:set(quaternion.axis_angle(vector.new({1, 1, 0}), 0.3 * math.pi)):tostring()!\N!t2.rot:set(quaternion.axis_angle(vector.new({0, 1, 0}), 0 * math.pi)):tostring()!\N!light_t.pos:set_values({0, -3000, 0}):tostring()! Comment: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,, Comment: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,template line notext,!maxloop(24*5)!!retime("preline", (j-1)/maxj * line.duration, j/maxj * line.duration)!{!t1.rot:set(quaternion.axis_angle(vector.new({0.1, 0, 1}), (j-1)/(maxj-1) * 2 * math.pi)):tostring()!}{!t2.rot:set(quaternion.axis_angle(vector.new({1, 1, 1}), (j-1)/(maxj-1) * 4 * math.pi)):tostring()!}{!tc1.rot:set(quaternion.axis_angle(vector.new({0, 1, 0}), (j-1)/(maxj-1) * math.pi/2)):tostring()!}{\pos(960, 540)}!c1:draw(subs, line, "", cam, ambient, lights)!!c2:draw(subs, line, "\\3c&H00FF00&", cam, ambient, lights)!!c3:draw(subs, line, "\\3c&H00FFFF&", cam, ambient, lights)!!c4:draw(subs, line, "\\3c&HFFFF00&", cam, ambient, lights)! -Comment: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,,!maxloop(24*5)!!retime("preline", (j-1)/maxj * line.duration, j/maxj * line.duration)!{}{}{}{\pos(960, 540)}!c1:draw(subs, line, "", true, cam, ambient, lights)!!c2:draw(subs, line, "\\3c&H00FF00&", true, cam, ambient, lights)!!c3:draw(subs, line, "\\3c&H00FFFF&", true, cam, ambient, lights)!!c4:draw(subs, line, "\\3c&HFFFF00&", true, cam, ambient, lights)! Comment: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,, Comment: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,, Comment: 0,0:00:00.00,0:00:00.00,Default,,0,0,0,, -- GitLab