Opacity texture-driven triangle splitting
AssigneeAdvanced Micro Devices, Inc.
InventorsRuijin Wu, Sagar S. Bhandare, Young In Yeo, Skyler Jonathon Saleh
Life of this patent
Estimating the term…
Abstract
Techniques for performing ray tracing operations are provided. The techniques include dividing a primitive of a scene to generate primitive portions; identifying, from the primitive portions, and based on an opacity texture, one or more opaque primitive portions and one or more invisible primitive portions; generating box nodes for a bounding volume hierarchy corresponding to the opaque primitive portions, but not the invisible primitive portions; and inserting the generated box nodes into the bounding volume hierarchy.
Claims20
A method for performing ray tracing operations, the method comprising:
- dividing a primitive of a scene to generate primitive portions;
- identifying, from the primitive portions, and based on an opacity texture, one or more opaque primitive portions and one or more invisible primitive portions;
- generating box nodes for a bounding volume hierarchy, wherein the box nodes enclose the opaque primitive portions and do not enclose the invisible primitive portions;
- and
- inserting the generated box nodes into the bounding volume hierarchy.
A device for performing ray tracing operations, the device comprising:
- a memory storing a bounding volume hierarchy;
- and
- a bounding volume hierarchy builder configured to:
- divide a primitive of a scene to generate primitive portions;
- identify, from the primitive portions, and based on an opacity texture, one or more opaque primitive portions and one or more invisible primitive portions;
- generate box nodes for the bounding volume hierarchy, wherein the box nodes enclose the opaque primitive portions and do not enclose the invisible primitive portions;
- and
- insert the generated box nodes into the bounding volume hierarchy.
A non-transitory computer-readable medium storing instruction that, when executed by a processor, cause the processor to:
- divide a primitive of a scene to generate primitive portions;
- identify, from the primitive portions, and based on an opacity texture, one or more opaque primitive portions and one or more invisible primitive portions;
- generate box nodes for the bounding volume hierarchy, wherein the box nodes enclose the opaque primitive portions and do not enclose the invisible primitive portions;
- and
- insert the generated box nodes into the bounding volume hierarchy.
Dependencies are inferred from the claim text.