Patent ID: 7345686

Claim:
A method for rendering a plurality of objects, the method comprising: receiving at least information associated with a plurality of objects; generating a first plurality of geometric primitives based on at least information associated with the plurality of objects; generating a first plurality of grids based on at least information associated with the first plurality of geometric primitives; shading the first plurality of grids; generating an image based on at least information associated with the first plurality of grids; wherein the generating a first plurality of grids includes: generating a second plurality of grids associated with the first plurality of geometric primitives, the second plurality of grids including a first plurality of micropolygons; selecting a third plurality of grids from the second plurality of grids based on at least information associated with the first plurality of micropolygons and a first buffer state related to a buffer, the third plurality of grids including a second plurality of micropolygons, the selecting a third plurality of grids including updating the buffer from the first buffer state to a second buffer state before the shading the first plurality of grids; selecting the first plurality of grids from the third plurality of grids based on at least information associated with the second buffer state and the second plurality of micropolygons; processing information associated with the second plurality of grids; performing displacement shading to the second plurality of grids if a predetermined condition is satisfied, wherein the performing displacement shading to the second plurality of grids comprises: for each of the second plurality of grids, determining whether the displacement shading can be performed independently from surface shading; if the displacement shading can be performed independently from the surface shading, performing the displacement shading to the each of the second plurality of grids.