15 local lights = {V.new{3,-3,1}}
23 P.make_sphere(V.new{0,0,0}, 1,
24 T.make_phong_texture(lights,
25 T.make_solid_pigment({0,1,0}),
27 P.make_sphere(V.new{0,0,0}, 0.8)),
28 P.make_pipe(V.new{0,0,0}, 0.5, V.new{0,1,0})),
29 P.make_pipe(V.new{0,0,0}, 0.5, V.new{1,0,0})),
31 P.make_plane(V.new{0,0,-1.0}, V.new{0,0,1},
32 T.make_phong_texture(lights,
33 T.make_checkered_pigment({0.5,0,0.2}, {1,1,1}),
36 camera = {location = V.new{2,-5,1},
37 point_at = V.new{0,0,0},
41 Render.render(scene, 1280, 960, "holy_sphere.ppm")