×

Method of compiling compositing expressions for optimised rendering

  • US 7,190,376 B1
  • Filed: 03/14/2000
  • Issued: 03/13/2007
  • Est. Priority Date: 03/16/1999
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of creating a pixel image, the pixel image to be formed by rendering and compositing a plurality of graphical objects according to an expression tree representing a compositing expression for the image, at least one of said graphical objects being non-rectangular, the expression tree comprising a plurality of nodes arranged in a hierarchical structure, each of said nodes representing one of the objects or a compositing operation for combining graphical objects or results of other compositing operations, each of the graphical objects having a predetermined object outline forming a region comprising a plurality of pixels therein, said method comprising the steps of:

  • determining an active region for each of the graphical object nodes, the active region for each particular graphical object node being equal to the region inside the predetermined object outline for the graphical object represented by the particular graphical object node;

    determining an active region for each of the compositing operation nodes, the active region for each particular compositing operation node being determined based on the active regions of each child node of the particular compositing operation node;

    determining a clip region for each of the compositing operation nodes, the clip region for each particular compositing operation node being equal to the intersection of the active region of the particular compositing operation node and the clip region of a parent compositing operation node of the particular compositing operation node, at least one of the clip regions determined for one of the compositing operation nodes being smaller in area than the active region for said one compositing operation node;

    determining an effective region for each of the compositing operation nodes, the effective region for each particular compositing operation node being equal to the intersection of the clip region of the particular compositing operation node and the active regions of the child nodes of the particular compositing operation node, at least one of said effective regions determined for one of said compositing operation nodes being smaller in area than the clip region for said one compositing operation node; and

    applying the compositing operation represented by each operation node to the pixels falling wholly within the corresponding effective region for the operation node to create the image, wherein pixels falling outside the effective regions are disregarded in applying the compositing operations and the arrangement of nodes in the hierarchical structure remains stable during the creation of the image.

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