Newer
Older
scene{
camera = view{ from = {0, 0.2, -1.2},
at = {0, 0, 0},
up = {0,1,0},
fov = 60,
imgw=512, imgh=512 },
light = dist_light{ direction = {0, 1, 1} },
object = group{
transform = affine { translation = {0, 0, 0},
rotation = {0, 0, motor{ arg{ v1 = .2 }}}},
child = group {
transform = affine { translation = {.1, 0, 0},
scaling = {1, .4, .4}},
child = primobj{ shape = sphere{radius = .1 }}
},
child = group {
transform = affine { translation = {.2, 0, 0},
rotation = {0, 0, motor{ arg{ v2 = .1 }}}},
child = group {
transform = affine { translation = {.2, 0, 0},
scaling = {2, .4, .4}},
child = primobj{ shape = sphere{radius = .1}}
}
},
}
};