Gogledd-Orllewin

Archive

POV-Ray

Blobmap

29 09 20.23


    // Persistence Of Vision raytracer version 3.8
    // Blob shape with environment map example
    #declare imageFile = "source.png";
    global_settings { assumed_gamma 2.2 }
    
    camera {
      location <0, 0, -5>
      direction <0, 0, 1.2071>
      look_at <0, 0, 0>
    }
    
    //Similar to sky_sphere but with no_image set so it doesn't draw
    sphere {
      0,1.3
        pigment {
          image_map {
            png imageFile once interpolate 2 map_type  1
          }
       }
      finish {
        emission 1.2
      }
      scale 30
      hollow
      no_image
    }
    
    blob {
      threshold 0.60
       sphere { <.75, 0, 0>, 1, 1 }
        sphere { <-.375, .64952, 0>, 1, 1 }
        sphere { <-.375, -.64952, 0>, 1, 1 }
      scale 1.75
      finish {
        ambient 0.9
        diffuse 0.5
        reflection .82
      }
    }