Point Light

        light intensity point x y z
Figure 3-7

Define a light source of the specified intensity at (x,y,z). The light radiates in all directions from (x,y,z). This light is the simplest of the types of light; use it when modelling point light sources such as incandescent lights. It is also wise to use point lights to replace more complex light types while a scene is being produced.

Figure 3-8

        /*
           point.ray
           Point Light Example
           Stephen Peter 14 Feb 93
        */
        eyep 11.25 -6.72 5
        lookp 5 2 1.5
        screen 300 200
        background .9 .9 .9

        light 1 point 0 0 8

        ------- the remainder is the same as area.ray-------

Go to next section: Spot Light.

Return to Contents.

THE END - Notes on Rayshade - 3 - Lighting and Atmospheric Effects - Point Light