A novel LED modeling algorithm for precise three-dimensional light pattern simulation is proposed and demonstrated. We propose to use normalized cross correlation to verify the validity of the simulation in one-dimensional intensity patterns as well as tw