Patent ID: 8253737

Claim:
A method, comprising: performing a z-buffering operation, utilizing a processor; calculating at least two disparity values, a first of the disparity values referring to a first distance between a first pixel of a first image intended for a first eye and a corresponding first pixel of a second image intended for a second eye, and a second of the disparity values referring to a second distance between a second pixel of the first image intended for the first eye and a corresponding second pixel of the second image intended for the second eye; generating a disparity map to an output image buffer, utilizing the at least two disparity values, by; sending the at least two disparity values to a vertex color register, interpolating the at least two disparity values in the vertex color register, and writing each of the interpolated values to the output image buffer as a color intensity value, such that the output image buffer contains the disparity map comprising a plurality of color intensity values, each of the color intensity values associated with a corresponding pixel of a two-dimensional image, and each of the color intensity values representing a disparity of the corresponding pixel in the two-dimensional image; and generating at least two images adapted for stereoscopic display, utilizing the disparity map; wherein the disparity map is generated in a color buffer, while a separate depth buffer is concurrently used during image generation for hidden surface removal.