15 local lights = {V.new{1,-1,1}}
17 local plane_normal = V.normalize(V.new{0.0,-1,0.0})
18 local texture_y = V.normalize(V.cross(plane_normal,V.x))
19 local texture_x = V.cross(texture_y,plane_normal)
22 sdf = P.make_plane(V.new{0,0,0}, plane_normal,
23 T.make_phong_texture(lights,
25 T.make_rainbow_pigment(0.1),
26 texture_x, texture_y),
29 camera = {location = V.new{-0.5,-5,0},
30 point_at = V.new{-0.5,0,0},
34 Render.render(scene, 320, 200, "out/rainbow_wall.ppm")