Patent ID: 6975329

Claim:
A method for rendering a three-dimensional (3D) scene generated in a field of view having in-focus and out-of-focus regions on a two-dimensional (2D) screen region of pixels, the method comprising the steps of: initially rendering the scene to create a color texture map and a depth texture map; creating mip-map layers for the color texture map; and subsequently rendering the scene by, for each pixel: creating a mip-map layer selection value as a function of a depth of the pixel from the depth texture map, generating a color value by interpolation using color values from at least one of the mip-map layers chosen according to the mip-map layer selection value, and setting a color of the pixel to the generated color value, wherein the mip-map layers for the color texture map have a one-dimensional coordinate spacing of 2 N /S, where N is a mip-map level and S is the corresponding one-dimensional number of pixels on the screen.