Textured sphere and spherical environment map rendering using texture map double indirection
First Claim
1. In a rendering system for generating pixel values for rendering textured spheres and spherical environment maps, said rendering system utilizing a screen look-up table to identify pixel values in a texture map corresponding to pixel addresses in said screen look-up table, a method for generating said screen look-up table comprising the steps of:
- a) identifying a projection orientation of a textured sphere;
b) generating a set of look-up addresses for a first scanline of a plurality of scanlines in a display window;
c) storing said set of look-up addresses for said first scanline;
d) for each of the scanlines in said plurality of scanlines other than said first scanline in said display window;
scaling said look-up addresses for said first scanline by a factor corresponding to the position of the scanline being processed; and
storing said scaled look-up address in a corresponding location of said screen look-up table.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for rendering textured spheres and spherical environment maps. The method of the present invention provides for real time rotation of a textured sphere and panning of the view into a spherical environment map, along multiple axes without the need for special rendering hardware. A two-level indexing scheme for accessing pixel data in a texture map, is used to identify shading values for pixels in a display window. The two-level indexing scheme is comprised of a screen look-up table and a parametric look-up table. The screen look-up table has the dimensions of the display window, whereas the parametric look-up table has the dimensions of the parametric spherical environment map (wherein the pixel addresses are rotated 90 degrees from the origin). The method for the present invention is comprised primarily of the steps of: providing a parametric spherical environment map of the image to be viewed, generating a screen look-up table comprised of look-up addresses, generating a parametric look-up table comprised of index values into the parametric spherical environment map, and for each look-up address in the screen look-up table, mapping to an entry in the parametric look-up table, retrieving the value in the entry, and using the value to retrieve pixel values from the parametric spherical environment map. Rotation or movement of the view being seen is accomplished by adding offsets to the look-up address and/or the index values.
-
Citations
2 Claims
-
1. In a rendering system for generating pixel values for rendering textured spheres and spherical environment maps, said rendering system utilizing a screen look-up table to identify pixel values in a texture map corresponding to pixel addresses in said screen look-up table, a method for generating said screen look-up table comprising the steps of:
-
a) identifying a projection orientation of a textured sphere; b) generating a set of look-up addresses for a first scanline of a plurality of scanlines in a display window; c) storing said set of look-up addresses for said first scanline; d) for each of the scanlines in said plurality of scanlines other than said first scanline in said display window; scaling said look-up addresses for said first scanline by a factor corresponding to the position of the scanline being processed; and storing said scaled look-up address in a corresponding location of said screen look-up table. - View Dependent Claims (2)
-
Specification