×

Method and apparatus for rendering a computer generated image

  • US 20100289809A1
  • Filed: 05/17/2010
  • Published: 11/18/2010
  • Est. Priority Date: 05/18/2009
  • Status: Active Grant
First Claim
Patent Images

1. A method for rendering a computer generated image using a stencil buffer, comprising:

  • receiving an arbitrary closed polygonal contour, the contour having N vertices;

    dividing the arbitrary closed polygonal contour into primitives, each primitive being a polygon having at least 3 and at most P vertices where 2<

    P<

    N; and

    using a stencil buffer to render the primitives to produce a computer generated image;

    wherein dividing comprises;

    i) selecting a vertex of the arbitrary closed polygonal contour as a first index vertex and setting the source contour as the arbitrary closed polygonal contour;

    ii) outputting a primitive of Q vertices using the index vertex and (Q−

    1) contiguous vertices of the source contour;

    iii) forming a reduced source contour by removing from the source contour the (Q−

    2) vertices between the index vertex and the end vertex of the outputted primitive;

    iv) setting the end vertex of the outputted primitive as the index vertex;

    v) repeating steps (ii) to (iv) until all vertices of the source contour have been included in at least one of the generated primitives;

    vi) selecting a vertex of the reduced source contour as an index vertex and setting the source contour as the reduced source contour;

    vii) repeating steps (ii) to (v) until either the reduced source contour is outputted as a primitive or until the reduced source contour has trivially zero area.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×