1. A database generation method comprising: generating a three-dimensional image of an identified subject; and generating a plurality of two-dimensional images of said identified subject based on said three-dimensional image; wherein each of said plurality of two-dimensional images represents a varied orientation or illumination condition on said three-dimensional image; and wherein said step of generating a three-dimensional image of an identified subject comprises: illuminating said subject with a light source having a variable intensity pattern; imaging said illuminated subject with a charge-coupled device camera, said charge coupled device camera separated from said light source by a known baseline distance; and calculating a distance to a point on said subject using a triangulation method, based on a baseline distance between said light source and said camera, an angle between said camera and said baseline, and an angle at which light striking said point is emitted by said light source as determined from an intensity of a light striking said point.