Ambient occlusion using bounding volume hierarchy bounding box tests
AssigneeAdvanced Micro Devices, Inc.
InventorsSkyler Jonathon Saleh, Chen Huang
Life of this patent
Estimating the term…
Abstract
A technique for performing a ray intersection test, the method comprising: receiving a request for an early termination ray intersection test for a ray; testing the ray against one or more early termination box nodes and one or more normal box nodes of a bounding volume hierarchy; and based on the test of the ray against the one or more early termination box nodes, determining whether to end traversal of the bounding volume hierarchy and determine whether the ray intersects geometry for the purpose of the ray intersection test.
Claims20
A method for performing a ray intersection test, the method comprising:
- receiving a request for an early termination ray intersection test for a ray;
- testing the ray against one or more early termination box nodes and one or more normal box nodes of a bounding volume hierarchy;
- and
- based on the test of the ray against the one or more early termination box nodes, determining whether to end traversal of the bounding volume hierarchy and determine whether the ray intersects geometry for the purpose of the ray intersection test.
A device for performing a ray intersection test, the accelerated processing device comprising:
- a processor;
- and
- a memory configured to store at least a portion of a bounding volume hierarchy,
- wherein the processor is configured to:
- receive a request for an early termination ray intersection test for a ray;
- test the ray against one or more early termination box nodes and one or more normal box nodes of the bounding volume hierarchy;
- and
- based on the test of the ray against the one or more early termination box nodes, determine whether to end traversal of the bounding volume hierarchy and determine whether the ray intersects geometry for the purpose of the ray intersection test.
A non-transitory computer-readable medium storing instructions that, when executed by a processor, cause the processor to perform a ray intersection test, by:
- receiving a request for an early termination ray intersection test for a ray;
- testing the ray against one or more early termination box nodes and one or more normal box nodes of a bounding volume hierarchy;
- and
- based on the test of the ray against the one or more early termination box nodes, determining whether to end traversal of the bounding volume hierarchy and determine whether the ray intersects geometry for the purpose of the ray intersection test.
Dependencies are inferred from the claim text.