Switched output format to P6.
[raymarcher.git] / mandel_wall.lua
index 3c1f741..7f55cda 100644 (file)
@@ -25,22 +25,12 @@ local scene = {
                       T.make_phong_texture(lights,
                                            T.map_rectangular(
                                               T.make_mandelbrot_pigment(
-                                                 make_image_pigment("images/wood1.ppm",1),
-                                                 make_image_pigment("images/wood2.ppm",1),
+                                                 T.make_image_pigment("images/wood1.ppm",1),
+                                                 T.make_image_pigment("images/wood2.ppm",1),
                                                  20),
                                               texture_x, texture_y),
                                            0.2, 1.0, 0, 1)),
 
-   -- sdf = P.make_plane(V.origin, plane_normal,
-   --                    T.make_phong_texture(
-   --                       lights,
-   --                       T.map_rectangular(
-   --                          -- T.make_solid_pigment({0.5,0.2,1.0}),
-   --                          T.make_checkered_pigment(
-   --                             make_image_pigment("images/wood1.ppm", 1),
-   --                             make_image_pigment("images/wood2.ppm", 1)),
-   --                          texture_x, texture_y), 0.2, 1.0, 0.5, 20)),
-                               
    camera = {location = V.new{0,-5,0},
              point_at = V.new{0,0,0},
              right = V.x,