Dynamically configuring and selecting multiple ray tracing intersection methods
First Claim
1. A method of performing ray tracing image processing using a computer system for a three-dimensional scene, comprising:
- providing a spatial index having a first portion and a second portion and having at least one branch from a node in the first portion to a node in the second portion, wherein nodes in the first portion correspond to bounding volumes which partition the three -dimensional scene with respect to a first coordinate system, and wherein nodes in the second portion correspond to bounding volumes which partition the three-dimensional scene with respect to a second coordinate system;
issuing a ray into the three-dimensional scene;
tracing the ray through the three-dimensional scene by taking branches to nodes corresponding to bounding volumes intersected by the ray until the at least one branch from a node in the first portion to a node in the second portion is reached; and
selecting a coordinate system to use when tracing the ray through the portion of the spatial index which partitions the three-dimensional scene with respect to the second coordinate system.
4 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the invention provide methods and apparatus to determine a coordinate system to use when traversing rays through a portion of a spatial index corresponding to a dynamic object which has a unique object coordinate system. An image processing system may take into consideration a number of factors including, but not limited to, a distance form a viewpoint to the dynamic object, a distance from the origin of the world coordinate system to the object coordinate system, a rate of traversal of the dynamic object, and a number of primitives which make up the object. These factors alone or together may indicate whether it is more efficient to perform ray intersection tests in an object coordinate system or in a world coordinate system. Embodiments of the invention may update a spatial index according to the selected coordinate system.
105 Citations
5 Claims
-
1. A method of performing ray tracing image processing using a computer system for a three-dimensional scene, comprising:
-
providing a spatial index having a first portion and a second portion and having at least one branch from a node in the first portion to a node in the second portion, wherein nodes in the first portion correspond to bounding volumes which partition the three -dimensional scene with respect to a first coordinate system, and wherein nodes in the second portion correspond to bounding volumes which partition the three-dimensional scene with respect to a second coordinate system; issuing a ray into the three-dimensional scene; tracing the ray through the three-dimensional scene by taking branches to nodes corresponding to bounding volumes intersected by the ray until the at least one branch from a node in the first portion to a node in the second portion is reached; and selecting a coordinate system to use when tracing the ray through the portion of the spatial index which partitions the three-dimensional scene with respect to the second coordinate system. - View Dependent Claims (2, 3, 4, 5)
-
Specification