Adaptive span computation when ray casting
First Claim
1. A computer-implemented method comprising:
- identifying a down point location;
determining one or more start point fractional values based upon the down point location;
selecting one of the start point fractional values for a view screen segment, wherein the selecting further comprises;
identifying a view screen segment identifier that corresponds to the view screen segment;
determining a last bit value of the view screen segment identifier;
selecting a fifty percent start point fractional value in response to determining that the last bit value is one;
in response to determining that the last bit value is zero, determining a second to last bit value of the view screen segment identifier;
selecting a twenty five percent start point fractional value in response to determining that the second to last bit value is one;
in response to determining that the second to last bit value is zero, determining a third to last bit value of the view screen segment identifier; and
selecting a twelve and one-half percent start point fractional value in response to determining that the third to last bit value is one;
computing a view screen segment start point using the selected start point fractional value;
generating image values corresponding to the view screen segment starting at the view screen segment start point; and
displaying the image values on a view screen.
3 Assignments
0 Petitions
Accused Products
Abstract
A processor uses start point fractional values during view screen segment computations that start a view screen segment'"'"'s computations a particular distance away from a down point. This prevents an excessive sampling density during image generation without wasting processor resources. The processor identifies a start point fractional value for each view screen segment based upon each view screen segment'"'"'s identifier, and computes a view screen segment start point for each view screen segment using the start point fractional value. View screen segment start points are “tiered” and are a particular distance away from the down point. This stops the view screen segments from converging to a point of severe over sampling while, at the same time, providing a pseudo-uniform sampling density.
-
Citations
6 Claims
-
1. A computer-implemented method comprising:
-
identifying a down point location; determining one or more start point fractional values based upon the down point location; selecting one of the start point fractional values for a view screen segment, wherein the selecting further comprises; identifying a view screen segment identifier that corresponds to the view screen segment; determining a last bit value of the view screen segment identifier; selecting a fifty percent start point fractional value in response to determining that the last bit value is one; in response to determining that the last bit value is zero, determining a second to last bit value of the view screen segment identifier; selecting a twenty five percent start point fractional value in response to determining that the second to last bit value is one; in response to determining that the second to last bit value is zero, determining a third to last bit value of the view screen segment identifier; and selecting a twelve and one-half percent start point fractional value in response to determining that the third to last bit value is one; computing a view screen segment start point using the selected start point fractional value; generating image values corresponding to the view screen segment starting at the view screen segment start point; and displaying the image values on a view screen. - View Dependent Claims (2, 3, 4, 5, 6)
-
Specification