×

Cylindrical wrapping using shader hardware

  • US 7,663,621 B1
  • Filed: 11/03/2006
  • Issued: 02/16/2010
  • Est. Priority Date: 11/03/2006
  • Status: Active Grant
First Claim
Patent Images

1. A method of processing graphics information comprising:

  • receiving information regarding a plurality of primitives defining an object;

    receiving information regarding a texture;

    receiving an instruction to cylindrically wrap the object with the texture;

    executing the instruction to cylindrically wrap the object with the texture using a geometry shader program running on shader hardware; and

    storing the results in a memory,wherein executing the instruction to cylindrically wrap the object with the texture using a geometry shader program running on shader hardware comprises;

    selecting a first vertex from a plurality of vertices for a primitive in the plurality of primitives as a reference; and

    for a second vertex of the primitive, for each coordinate of the second vertex;

    determining whether a coordinate of the second vertex is more than a threshold distance away from a corresponding coordinate of the first vertex; and

    if it is, thenmodifying the coordinate of the second vertex;

    elsenot modifying the coordinate of the second vertex, andwherein modifying the coordinate comprises;

    if a value of the coordinate of the second vertex is less than a value of the corresponding coordinate of the first vertex;

    thenadding a length of the texture in the direction of the coordinate;

    elsesubtracting a length of the texture in the direction of the coordinate.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×