-
Notifications
You must be signed in to change notification settings - Fork 0
/
script.mdl
51 lines (51 loc) · 1.43 KB
/
script.mdl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
ambient 255 255 255 light l1 0 1 1 255 0 255
light l2 1 1 0 0 255 255
light l3 1 0 1 255 255 0
constants white 0.25 0.5 0.25 0.25 0.5 0.25 0.25 0.5 0.25
frames 25
basename robot
//set spin .1
//BODY
push
move 250 250 0
rotate y 360 spin
box white -100 125 50 200 250 100
//HEAD
push
move 0 175 0
rotate y 90
sphere white 0 0 0 50
pop
//LEFT ARM
push
move -100 125 0
rotate x -45
box white -40 0 40 40 100 80
//LEFT LOWER ARM
push
move -20 -100 0
box white -10 0 10 20 125 20
pop
pop
//RIGHT ARM
push
move 100 125 0
rotate x -45
box white 0 0 40 40 100 80
//RIGHT LOWER ARM
push
move 20 -100 0
rotate x -20
box white -10 0 10 20 125 20
pop
pop
//LEFT LEG
push
move -100 -125 0
box white 0 0 40 50 120 80
pop
//RIGHT LEG
push
move 100 -125 0
box white -50 0 40 50 120 80
vary spin 0 24 0 1