DECOMPOSING CUBIC BEZIER SEGMENTS FOR TESSELLATION-FREE STENCIL FILLING
First Claim
Patent Images
1. A method of decomposing cubic Bè
- zier path segments, the method comprising;
receiving a path including a cubic Bè
zier path segment;
subdividing the cubic Bè
zier path segment into simple cubic Bè
zier path segments when the cubic Bè
zier path segment is classified as having a serpentine or loop topology;
assigning texture map coordinates to vertices of the simple cubic Bè
zier path segments that define a convex hull geometry; and
generating a stencil buffer indicating pixels that are inside of the cubic Bè
zier path segment by processing the texture map coordinates.
1 Assignment
0 Petitions
Accused Products
Abstract
One embodiment of the present invention sets forth a technique for decomposing and filling cubic Bèzier segments of paths without tessellating the paths. Path rendering may be accelerated when a GPU or other processor is configured to perform the decomposition operations. Cubic Bèzier paths are classified and decomposed into simple cubic Bèzier path segments based on the classification. A stencil buffer is then generated that indicates pixels that are inside of the decomposed cubic Bèzier segments. The paths are then filled according to the stencil buffer to produce a filled path.
5 Citations
20 Claims
-
1. A method of decomposing cubic Bè
- zier path segments, the method comprising;
receiving a path including a cubic Bè
zier path segment;subdividing the cubic Bè
zier path segment into simple cubic Bè
zier path segments when the cubic Bè
zier path segment is classified as having a serpentine or loop topology;assigning texture map coordinates to vertices of the simple cubic Bè
zier path segments that define a convex hull geometry; andgenerating a stencil buffer indicating pixels that are inside of the cubic Bè
zier path segment by processing the texture map coordinates. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
- zier path segments, the method comprising;
-
11. A non-transitory computer-readable storage medium storing instructions that, when executed by a processor, cause the processor to decompose cubic Bè
- zier path segments, by performing the steps of;
receiving a path including a cubic Bè
zier path segment;subdividing the cubic Bè
zier path segment into simple cubic Bè
zier path segments when the cubic Bè
zier path segment is classified as having a serpentine or loop topology;assigning texture map coordinates to vertices of the simple cubic Bè
zier path segments that define a convex hull geometry; andgenerating a stencil buffer indicating pixels that are inside of the cubic Bè
zier path segment by processing the texture map coordinates. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
- zier path segments, by performing the steps of;
-
20. A system for decomposing cubic Bè
- zier path segments, the system comprising;
a memory that is configured to store a stencil buffer; and a processor that is coupled to the memory and configured to; receive a path including a cubic Bè
zier path segment;subdivide the cubic Bè
zier path segment into simple cubic Bè
zier path segments when the cubic Bè
zier path segment is classified as having a serpentine or loop topology;assign texture map coordinates to vertices of the simple cubic Bè
zier path segments that define a convex hull geometry; andwrite values to the stencil buffer indicating pixels that are inside of the cubic Bè
zier path segment by processing the texture map coordinates.
- zier path segments, the system comprising;
Specification