Patent ID: 8405658

Claim:
A computer-implemented method for lighting a graphics object inserted into a video image of a real-world scene that includes a fiducial marker and a light source emitting light on the fiducial marker, the method comprising: analyzing video data associated with the video image to determine a location of the fiducial marker within the real-world scene; computing a color value associated with the light emitted at a first point on the fiducial marker based on a light intensity value associated with the first point and specified by the video data; determining a location of a real-world shadow captured by the video image and cast by an object placed on the fiducial marker within the real-world scene by analyzing one or more light intensity values associated with a set of points surrounding the fiducial marker and specified by the video data; computing a direction of the emitted light based on the location of the real-world shadow cast by the object; and modifying one or more lighting properties associated with the graphics object based on the color value of the light emitted at the first point and the direction of the emitted light.