[comp.graphics] 3d brightness algorithm requested

brett@umd5.umd.edu (Brett Bourbin) (08/16/89)

	I am working on a 3d project and need to color the "floor" of the
scene with some value.  The light source for the scene is same as the viewpoint,
and is located 5 feet above the ground.

	What I want to do is paint the floor with accurate shades according
to the distance from the light source.  Can anyone throw out an algorithm that
could handle such a case?  Thanks in advance.

--Brett S Bourbin, Instructional Computing Programs -- Univ of Maryland
            Computer Science Center, College Park, MD 20742
       INTERNET: brett@umd5.umd.edu  BIX: brettb  DELPHI: brettb