### 3.7.1 The Pointlight Source

Pointlights are exactly what the name indicates. A pointlight has no size, is invisible and illuminates everything in the scene equally no matter how far away from the light source it may be (this behavior can be changed). This is the simplest and most basic light source. There are only two important parameters, location and color. Let's design a simple scene and place a pointlight source in it.

We create a new file and name it `litedemo.pov`. We edit it as follows:

      #include "colors.inc"
      #include "textures.inc"
      camera {
        location  <-4, 3, -9>
        look_at   <0, 0, 0>
        angle 48
      }

We add the following simple objects:

      plane {
        y, -1
        texture {
          pigment {
            checker
            color rgb<0.5, 0, 0>
            color rgb<0, 0.5, 0.5>
          }
          finish {
            diffuse 0.4
            ambient 0.2
            phong 1
            phong_size 100
            reflection 0.25
          }
        }
      }
      torus {
        1.5, 0.5
        texture { Brown_Agate }
        rotate <90, 160, 0>
        translate <-1, 1, 3>
      }
      box {
        <-1, -1, -1>, <1, 1, 1>
        texture { DMFLightOak }
        translate <2, 0, 2.3>
      }
      cone {
        <0,1,0>, 0, <0,0,0>, 1
        texture { PinkAlabaster }
        scale <1, 3, 1>
        translate <-2, -1, -1>
      }
      sphere {
        <0,0,0>,1
        texture { Sapphire_Agate }
        translate <1.5, 0, -2>
      }

Now we add a pointlight:

      light_source {
        <2, 10, -3>
        color White
      }

We render this at 200x150 `-A` and see that the objects are clearly visible with sharp shadows. The sides of curved objects nearest the light source are brightest in color with the areas that are facing away from the light source being darkest. We also note that the checkered plane is illuminated evenly all the way to the horizon. This allows us to see the plane, but it is not very realistic.