Smooth shading of objects on display devices

G - Physics – 06 – F

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

G06F 3/14 (2006.01) G06T 5/00 (2006.01) G06T 15/20 (2006.01)

Patent

CA 2234566

A method for defining a color gradient across a region in a display space that includes defining a bi-cubic patch enclosing the region. The bi-cubic patch includes four corners having a color associated therewith and four curves connecting pairs of the corners forming a closed loop. The four curves define the color gradient across the bi-cubic patch as a function of the four colors associated with the four corners of the bi-cubic patch. The method includes defining a unit square in parameter space including a mapping function from the unit square to the bi-cubic patch such that the corners of the bi-cubic patch map to the corners of the unit square. The color of every point in the unit square is a bi-cubic interpolation of the four colors associated with the four corners of the bi-cubic patch. The method includes clipping the bi-cubic patch for display of the region. In another aspect, the invention provides a method of accurately rendering color gradients across a bi-cubic patch that includes subdividing the bi-cubic patch into sub-patches until each side of a given sub-patch is a good approximation of a line and checking to determine if for all points inside of a given sub-patch the color associated with each point is sufficiently accurate. If not, the sub-patch is further subdivided until the color associated with each point inside a given sub-patch is sufficiently accurate. The method includes dividing the sub-patches into polygons and rendering the polygons.

Méthode permettant de déterminer les variations de couleurs d'une zone dans un espace d'affichage en définissant, notamment, une surface paramétrique bicubique autour de la zone. Cette surface comprend : quatre coins, chacun des coins étant associé à une couleur; et quatre courbes reliant des paires de coins formant une boucle fermée. Les quatre courbes définissent les variations de couleurs de la surface paramétrique bicubique en fonction des quatre couleurs attribuées aux quatre coins de la surface paramétrique bicubique. La méthode consiste à définir une maille dans un espace de paramètre, y compris une fonction de mappage de la maille jusqu'à la surface paramétrique bicubique, de sorte que les coins de la surface paramétrique bicubique soient en correspondance jusqu'aux coins de la maille. La couleur de chaque point de la maille est une interpolation bicubique des quatre couleurs associées aux quatre coins de la surface paramétrique bicubique. La méthode consiste en outre à détourer la surface paramétrique bicubique pour afficher la zone. Dans une autre version, on fait état d'une méthode permettant de rendre avec précision les variations de couleurs d'une surface paramétrique bicubique. Cette méthode consiste : à subdiviser la surface paramétrique bicubique en sous-surfaces jusqu'à ce que chaque côté d'une surface paramétrique bicubique donnée produise une bonne approximation d'une ligne; et à procéder à une vérification afin de déterminer si, pour chaque point à l'intérieur d'une sous-surface donnée, la couleur associée à chaque point est suffisamment juste. Si ce n'est pas le cas, la sous-surface est subdivisée davantage jusqu'à ce que la couleur associée à chaque point à l'intérieur d'une sous-section donnée soit suffisamment juste. Il s'agit de diviser les sous-surfaces en polygones et de reproduire les polygones.

LandOfFree

Say what you really think

Search LandOfFree.com for Canadian inventors and patents. Rate them and share your experience with other people.

Rating

Smooth shading of objects on display devices does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Smooth shading of objects on display devices, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Smooth shading of objects on display devices will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFCA-PAI-O-1407125

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.