摘要 |
A method and apparatus are provided for compressing a list of primitives in a computer graphics system from a tessellated patch of surface data. Uncompressed domain point indices 2410 are received and stored in an index buffer 2420. The domain point index for the next primitive in the list is compared 2430 with the domain point indices stored in the buffer to determine any matches. The domain point indices of the next primitive are stored in the buffer or, where a match was found, a reference to the position of the matched index. The step of storing the domain point indices in the buffer 2430 includes the storage of a further predicted domain point index which is computed from the domain point indices stored in the buffer. Compressed domain point indices 2490 for the tessellated patch are then output from the buffer. This application specifically relates to the domain point index value which may be split into a base identifier as an offset from that base position. The base identifier comprises a row number for point or line primitives or a ring/edge number for triangular primitives. |