System and method for adjusting image pixel color to create a parallax depth effect

US9153065B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9153065-B2
Application numberUS-201313759666-A
CountryUS
Kind codeB2
Filing dateFeb 5, 2013
Priority dateFeb 5, 2013
Publication dateOct 6, 2015
Grant dateOct 6, 2015

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method carried out by a graphics processing apparatus samples a texture value of a first texture layer at an offset to a second texture layer of a surface and adjusts pixel color for a pixel of the second texture layer using the texture value such that an appearance of depth is created between the first texture layer and the second texture layer. The method may adjust the pixel color using the sampled texture value alpha component. Another method includes transforming a surface normal vector to eye space for a surface having at least first and second texture layers mapped thereto, determining an offset between the first texture layer and the second texture layer using the transformed surface normal vector, sampling a texture value of the first texture layer using the offset, and adjusting pixel color for a pixel of the second texture layer using the texture value.

First claim

Opening claim text (preview).

What is claimed is: 1. A method of a graphics processing apparatus comprising: sampling a texture value of a first texture layer at an offset to a second texture layer of a surface having at least the first texture layer and the second texture layer mapped thereto; adjusting pixel color for a pixel of the second texture layer using the texture value; and determining a background pixel color as a sum of a background texture color and a specular component, the specular component multiplied by an alpha component at a coordinate determined by the offset, and the sum multiplied by a product of a diffuse component and the alpha component at the coordinate determined by the offset. 2. The method of claim 1 , wherein sampling a texture value of a first texture layer at an offset to a second texture layer comprises: sampling the alpha component of the first texture layer at the offset, where the alpha component is the texture value, and adjusting the pixel color for a pixel of the second texture layer using the alpha component. 3. The method of claim 2 , wherein sampling the texture value of the first texture layer at the offset to the second texture layer comprises: determining the offset as a two-dimensional coordinate offset. 4. The method of claim 3 , further comprising: transforming a surface normal vector to eye space for the surface; and determining the offset between the first texture layer and the second texture layer using the transformed surface normal vector. 5. The method of claim 3 , further comprising: rendering a content comprising the surface such that an appearance of depth is created between the first texture layer and the second texture layer using a single rendering pass of a graphics pipeline, the appearance of depth achieved via a shadow effect between the first texture layer and the second texture layer. 6. The method of claim 1 , wherein the adjusting the pixel color includes adjusting the pixel color for the pixel of the second texture using the texture value and the determined background pixel color. 7. A method of a graphics processing apparatus comprising: transforming a surface normal vector to eye space for a surface having at least first and second texture layers mapped thereto; determining an offset between the first texture layer and the second texture layer using the transformed surface normal vector; sampling a texture value of the first texture layer using the offset; adjusting pixel color for a pixel of the second texture layer using the texture value; and determining a background pixel as a sum of background texture color and a specular component, the specular component multiplied by an alpha component at a coordinate determined by the offset, and the sum multiplied by a product of a diffuse component and the alpha component at the coordinate determined by the offset. 8. The method of claim 7 , wherein transforming the surface normal vector comprises: calculating a dot product result of a surface normal of a primitive and a light direction vector; determining an x-coordinate offset as the product of the dot product result and an x-component magnitude of the light direction vector; and determining a y-coordinate offset as the product of the dot product result and a y component magnitude of the light direction vector. 9. The method of claim 7 , further comprising: determining a content pixel color as a sum of a content texture color and the specular component, the sum multiplied by the diffuse component. 10. The method of claim 9 , further comprising: determining a final color as a sum of the background pixel color and the content pixel color, the content pixel color multiplied by the value of one minus a content pixel color alpha component value. 11. A graphics processing apparatus comprising: a processing unit; and memory comprising executable instructions stored thereon that, when executed by the processing unit, are configured to cause the graphics processing apparatus to implement at least: texture sampler logic, operative to sample a texture value of a first texture layer at an offset to a second texture layer of a surface having at least the first texture layer and the second texture layer mapped thereto; pixel color modulation logic, operatively coupled to the texture sampler logic, the pixel color modulation logic operative to adjust pixel color for a pixel of the first texture layer using the texture value; and background pixel color logic, operative to determine a background color as a sum of a background texture color and a specular component, the specular component multiplied by an alpha component at a coordinate determined by the offset, and the sum multiplied by a product of a diffuse component and the alpha component at the coordinate determined by the offset. 12. The graphics processing apparatus of claim 11 , wherein the texture sampler logic is further operative to sample the alpha component of the first texture layer at the offset, where the alpha component is the texture value, and where the pixel color modulation logic is further operative to adjust the pixel color for a pixel of the second texture layer using the alpha component. 13. The graphics processing apparatus of claim 11 , wherein the instructions stored on the memory are further configured to cause the graphics processing apparatus to implement: offset determination logic, operatively coupled to the texture sampler logic, the offset determination logic operative to determine the offset as a two-dimensional coordinate offset. 14. The graphics processing apparatus of claim 13 , wherein the instructions stored on the memory are further configured to cause the graphics processing apparatus to implement: transform logic, operatively coupled to the offset determination logic, the transform logic operative to transform a surface normal vector to eye space for the surface; and the offset determination logic further operative to determine the offset between the first texture layer and the second texture layer using the transformed surface normal vector. 15. The graphics processing apparatus of claim 11 , wherein the pixel color modulation logic is operative to adjust the pixel color for the pixel of the first texture layer using the texture value and the determined background color. 16. The graphics processing apparatus of claim 11 , wherein the instructions are further configured to cause the graphics processing apparatus to implement: rendering logic, operative to render a content comprising the surface such that an appearance of depth is created between the first texture layer and the second texture layer using a single rendering pass of a graphics pipeline, the appearance of depth achieved via a shadow effect between the first texture layer and the second texture layer. 17. A graphics processing apparatus comprising: a processing unit; and memory comprising executable instructions stored thereon that, when executed by the processing unit, are configured to cause the graphics processing apparatus to implement at least: transform logic, operative to transform a surface normal vector to eye space for a surface having at least first and second texture layers mapped thereto; offset determination logic, operatively coupled to the transform logic, operative to determine an offset between the first texture layer and the second texture layer using the transformed surface normal vector; texture sampler logic, operatively coupled to the offset determination logic, operative to sample a texture value of the first texture layer using the offs

Assignees

Inventors

Classifications

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9153065B2 cover?
A method carried out by a graphics processing apparatus samples a texture value of a first texture layer at an offset to a second texture layer of a surface and adjusts pixel color for a pixel of the second texture layer using the texture value such that an appearance of depth is created between the first texture layer and the second texture layer. The method may adjust the pixel color using th…
Who is the assignee on this patent?
Google Technology Holdings LLC
What technology area does this patent fall under?
Primary CPC classification G06T15/04. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Oct 06 2015 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).