1. A method for recognizing an object embodied in a computer-readable medium and executed by a processor, comprising: defining an object for recognition; defining an illumination mode to be applied to the object; defining an animation mode to be applied to the object; rendering a scene by applying the defined illumination and animation modes to the object; comparing the rendered scene to an input frame to determine whether the object is recognized in the input frame.