-
公开(公告)号:US20240331266A1
公开(公告)日:2024-10-03
申请号:US18191800
申请日:2023-03-28
Applicant: Advanced Micro Devices, Inc.
Inventor: Trevor James Hedstrom
IPC: G06T15/06
CPC classification number: G06T15/06
Abstract: Devices and methods for rendering curves using ray tracing are provided which include tessellating a curve, representing at least a portion of an object in a scene, into a chain of capsules each comprising two spheres and a connecting cone, generating an acceleration structure comprising the chain of capsules, casting a ray in a space comprising the curve, and performing, for a capsule of the chain of capsules, a closed-form intersection test to render the curve. In a first example, the closed-form intersection test is performed using a single quadratic equation quadratic based on coefficients from input values of the two spheres. In a second example, the closed-form intersection test is performed based on an intersection between the ray and a blended sphere generated from a smallest distance between the ray and a centerline of the capsule and an offset.