主权项 |
1. A method comprising:
organizing, by at least one processor, a plurality of primitives in a hierarchical data structure; rasterizing, by the at least one processor, a plurality of bounding volumes associated with non-root nodes of the hierarchical data structure to an off-screen render target; determining, by the at least one processor and based on rasterizing the plurality of bounding volumes to the off-screen render target, a non-root node of the hierarchical data structure as a start node in the hierarchical data structure to start traversal of the hierarchical data structure; and traversing, by the at least one processor, the hierarchical data structure starting from the start node to determine the primitive that is intersected by a ray. |