Patent ID: 8665271

Claim:
A method, comprising: receiving scene model data including a scene geometry model and a plurality of pixel data describing objects arranged in a scene; selecting a first pixel data of the plurality of pixel data; generating a primary ray based on the first pixel data; determining whether the primary ray intersects an object in the scene; in the event the primary ray intersects an object in the scene, determining a primary hit color; generating a primary blend factor for the first pixel data based on the primary ray and primary hit color; in the event the primary ray intersects an object in the scene, generating a plurality of secondary rays, each secondary ray including an associated direction vector, wherein each direction vector comprises an octant; grouping the plurality of secondary rays into a plurality of secondary ray packets based on the octant of each direction vector; arranging the secondary ray packets in a queue based on the octant of each direction vector in the secondary ray packet; generating a first secondary color and a first secondary blend factor based on the secondary ray packets in the queue; generating a pixel color for the pixel data based on the primary hit color, the primary blend color, the first secondary color, and the first secondary blend factor; and generating, by a hardware device, an image based on the pixel color for the pixel data.