Omnidirectional shadow texture mapping

   
   

An invention is provided for rendering using an omnidirectional light. A shadow cube texture map having six cube faces centered by a light source is generated. Each cube face comprises a shadow texture having depth data from a perspective of the light source. In addition, each cube face is associated with an axis of a three-dimensional coordinate system. For each object fragment rendered from the camera's perspective a light-to-surface vector is defined from the light source to the object fragment, and particular texels within particular cube faces are selected based on the light-to-surface vector. The texel values are tested against a depth value computed from the light to surface vector. The object fragment is textured as in light or shadow according to the outcome of the test.

Una invención se proporciona para rendir usando una luz omnidireccional. Un mapa de la textura del cubo de la sombra que hace seis caras del cubo centrar por una fuente de luz se genera. Cada cara del cubo abarca una textura de la sombra que tiene datos de la profundidad de una perspectiva de la fuente de luz. Además, cada cara del cubo se asocia a un eje de un sistema coordinado tridimensional. Para cada objeto el fragmento rindió de la perspectiva de la cámara fotográfica que un vector de la luz-a-superficie se define de la fuente de luz al fragmento del objeto, y los texels particulares dentro de caras particulares del cubo se seleccionan basaron en el vector de la luz-a-superficie. Los valores del texel se prueban contra un valor de la profundidad computado de la luz para emerger vector. El fragmento del objeto textured como en luz o sombra según el resultado de la prueba.

 
Web www.patentalert.com

< Method of fabricating a pad over active circuit I.C. with meshed support structure

< High-performance heat sink for printed circuit boards

> Demand-based memory system for graphics applications

> Displaced subdivision surface representation

~ 00172