X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Frasterize;a=blobdiff_plain;f=animate.lua;fp=animate.lua;h=9917cb148f9f2187a920917b45abc4d321b5e653;hp=476051ff8fb08accdd01018703df710b99e010f2;hb=34efcdbb29b75754fef5066c5999671bc2d2fb12;hpb=aca1bceb5ab7dd87e910f0b8c5dba784ab6e8290 diff --git a/animate.lua b/animate.lua index 476051f..9917cb1 100755 --- a/animate.lua +++ b/animate.lua @@ -15,7 +15,7 @@ local size = {w = 640, h = 480} -- Set the number of frames to be rendered for the animation. -local frames = 512 +local frames = 360 -- Define the code to calculate where the camera is, in world coordinates. local eye = function(frame) @@ -47,6 +47,7 @@ c 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 t 2 0 -2 s 1 1 1 g dragon.raw +M 0.3 0.3 0.3 5 c 0.7 0.3 0.2 0.8 0.2 0.1 0.9 0.2 0.2 t -2 -1 -2 s 2 2 2 @@ -55,10 +56,12 @@ c 0.1 0.2 0.7 0.1 0.3 0.9 0.2 0.1 0.8 t 2 -1.5 2 s 10 10 10 g bunny.raw +M 0.2 0.2 0.2 1 c 0.9 0.8 0.9 0.8 0.7 0.9 0.9 0.8 0.7 t -2 -1 2 s 10 10 10 g teapot2.raw +M 1 1 1 128 c 0 1 0 0 1 0 0 1 0 t 0 -1 0 s 0.6 0.6 0.6