The present invention provides a method and apparatus for performing H-space bump mapping. The apparatus of the present invention is a fragment processor of a computer graphics display system. The method of the present invention is performed by the fragment processor. In accordance with the method of the present invention, for each vertex of each polygon being processed, the fragment processor calculates both diffuse and specular lighting terms. Then, for each fragment within the polygon defined by the vertices, the fragment processor interpolates the specular and diffuse lighting terms to obtain diffuse and specular lighting terms for each fragment. If bump mapping has been enabled, the fragment processor adds perturbations to the diffuse and specular lighting terms to generate the bump mapping. Preferably, prior to performing the H-space bump mapping algorithm, texture coordinate gradient vectors are calculated for the image to be rendered. During the H-space bump mapping algorithm of the present invention, the H-space reference vectors are aligned with the texture coordinate gradient vectors. The specular and diffuse lighting terms are calculated using the H-space reference vectors. Since the H-space reference vectors are aligned with the texture coordinate vectors, it is not necessary to transform the specular and diffuse lighting terms into the coordinate system associated with the texture coordinates of the bump map on a per fragment (i.e., per pixel basis). Once the H-space reference vectors have been aligned with the texture coordinate gradient vectors, the algorithm proceeds in the aforementioned manner.

_ presente invención proporcionar uno método y aparato para performing H-espacio topetón mapping. _ aparato presente invención ser uno fragmento procesador uno computadora gráfico exhibir sistema. _ método presente invención ser realizar por fragmento procesador. _ de acuerdo con método presente invención, para cada cima cada polígono ser procesar, fragmento procesador calcular ambo difundir y specular iluminación término. _ entonces, para cada fragmento dentro polígono defined por cima, fragmento procesador interpolar specular y difundir iluminación término obtener difundir y specular iluminación término para cada fragmento. _ si topetón mapping tener ser permitir, fragmento procesador agregar perturbación difundir y specular iluminación término generar topetón mapping. _ preferible, antes performing H-espacio topetón mapping algoritmo, textura coordinar gradiente vector ser calculated para imagen ser rendir. _ durante H-espacio topetón mapping algoritmo presente invención, H-espacio referencia vector ser alinear con textura coordinar gradiente vector. _ specular y difundir iluminación término ser calculated using H-espacio referencia vector. _ puesto que H-espacio referencia vector ser alinear con textura coordinar vector, él ser no necesario transformar specular y difundir iluminación término en coordinar sistema asociado con textura coordinar topetón mapa en uno por fragmento (es decir, por pixel base). _ una vez que H-espacio referencia vector tener ser alinear con textura coordinar gradiente vector, algoritmo proceder en ya mencionado manera. _

 
Web www.patentalert.com

< (none)

< System and method of selecting pages that an appliance is sending

> Configurable nanoscale crossbar electronic circuits made by electrochemical reaction

> (none)

~ 00060