Level of detail selection during ray tracing
AssigneeIntel Corporation
InventorsDavid Baldwin, Karthik Vaidyanathan
Life of this patent
Estimating the term…
Abstract
A level of detail node may hold in a bounding volume hierarchy, an object identifier, a distance at which a transition occurs between levels of detail and a bias. When a level of detail node is encountered in the hierarchy, the distance value may be used to select a level of detail. Sometimes a different level of detail is loaded because the preferred level is not available. The different level may be marked in a register. Then for a subsequence frame, the correct level is used. A node bias may be used to override the level of detail selection is some cases.
Claims21
A method comprising:
- using a hardware processor to traverse an acceleration structure during ray tracing, said acceleration structure including internal, leaf, and level of detail nodes, where a level of detail node is a node that points to a plurality of nodes with different levels of detail;
- selecting a level of detail using said level of detail nodes;
- using a different level of detail in place of the selected level of detail;
- marking a data structure to indicate that the different level of detail was used in a first frame in place of the selected level of detail;
- using the marked data structure to select the selected level of detail in a second frame;
- determining that the selected level of detail is not available;
- and
- selecting said different level of detail in response to determining that the selected level of detail was not available.
At least one non-transitory computer readable medium storing instructions executed to perform a sequence comprising:
- using a hardware processor to traverse an acceleration structure during ray tracing, said acceleration structure including internal, leaf, and level of detail nodes, where a level of detail node is a node that points to a plurality of nodes with different levels of detail;
- selecting a level of detail using said level of detail nodes;
- using a different level of detail in place of the selected level of detail;
- marking a data structure to indicate that the different level of detail was used in a first frame in place of the selected level of detail;
- using the marked data structure to select the selected level of detail in a second frame;
- determining that the selected level of detail is not available;
- and
- selecting said different level of detail in response to determining that the selected level of detail was not available.
An apparatus comprising:
- a hardware processor to traverse an acceleration structure during ray tracing, said acceleration structure including internal, leaf, and level of detail nodes, where a level of detail node is a node that points to a plurality of nodes with different levels of detail and to select a level of detail using said level of detail nodes, use a different level of detail in place of the selected level of detail, mark a data structure to indicate that the different level of detail was used in a first frame in place of the selected level of detail, use the marked data structure to select the selected level of detail in a second frame, determine that the selected level of detail is not available, and select said different level of detail in response to determining that the selected level of detail was not available;
- and
- a memory coupled to said processor.
Dependencies are inferred from the claim text.