17 local lights = {V.new{1,-1,1}}
19 local plane_normal = V.normalize(V.new{0.0,-1,0.0})
20 local texture_y = V.normalize(V.cross(plane_normal,V.x))
21 local texture_x = V.cross(texture_y,plane_normal)
24 sdf = P.make_plane(V.new{0,0,0}, plane_normal,
25 T.make_phong_texture(lights,
27 T.make_mandelbrot_pigment(
28 T.make_image_pigment("images/wood1.ppm",1),
29 T.make_image_pigment("images/wood2.ppm",1),
31 texture_x, texture_y),
34 camera = {location = V.new{0,-5,0},
35 point_at = V.new{0,0,0},
39 Render.render(scene, 1280, 960, "mandel_wall.ppm")