Incremental terrain image generation
First Claim
1. A method of real-time computer generation of visual scenes comprising the steps ofstoring a grid data base of elevation posts at predetermined intervals for the visual scene to be generated,defining a horizontal field of view as a predetermined number of sweep increments perpendicular to a boresight at a view point,incrementing the change in range Δ
- R from the view point and for each sweep, defining the changes Δ
X and Δ
Y in said grid data base,accumulating Δ
X and Δ
Y to generate an X,Y data base address for extracting the elevation for that sweep element,for each range increment Δ
R, stepping a view ray down by a increment of Δ
R Tan φ
m, where m refers to the mth view ray,for each range increment Δ
R, increasing the distance between sweeps by the increment Δ
RΔ
Tan φ
,comparing at each range increment the accumulated elevation value of the view ray with the elevation extracted with said X,Y data base address, andif a view ray strikes an elevation post, reading the data for that post to a display means, otherwise reading the elevation data for the next elevation post from the data base.
5 Assignments
0 Petitions
Accused Products
Abstract
An algorithm for the real-time computer generation of visual scenes reduces the processing of elevation data to simple repetitive accumulations and a compare opertion to generate occult data using grid elevation data bases. The approach, when implemented as a software or firmware program, significantly speeds up scene generation time, and when implemented in hardware, significantly reduces the amount of hardware required. Accumulator (16) or counter (38) accumulates increments in tangent of the view angle, while accumulator (18) or counter (40) accumulates increments in range. Depending on the outcome of the compare operation of comparator (32), the accumulated tangent of the view angle or the accumulated range is used to compute in subtractor (26) the elevation of the view ray at each range increment of a sweep. This computed elevation is compared in comparator (32) with the corresponding elevation data for that point in the grid data base.
-
Citations
6 Claims
-
1. A method of real-time computer generation of visual scenes comprising the steps of
storing a grid data base of elevation posts at predetermined intervals for the visual scene to be generated, defining a horizontal field of view as a predetermined number of sweep increments perpendicular to a boresight at a view point, incrementing the change in range Δ - R from the view point and for each sweep, defining the changes Δ
X and Δ
Y in said grid data base,accumulating Δ
X and Δ
Y to generate an X,Y data base address for extracting the elevation for that sweep element,for each range increment Δ
R, stepping a view ray down by a increment of Δ
R Tan φ
m, where m refers to the mth view ray,for each range increment Δ
R, increasing the distance between sweeps by the increment Δ
RΔ
Tan φ
,comparing at each range increment the accumulated elevation value of the view ray with the elevation extracted with said X,Y data base address, and if a view ray strikes an elevation post, reading the data for that post to a display means, otherwise reading the elevation data for the next elevation post from the data base. - View Dependent Claims (2)
- R from the view point and for each sweep, defining the changes Δ
-
3. A computer image generator that is capable of generating in real time visual images of perspective scenes, comprising:
-
first register means for storing a value corresponding to Δ
RΔ
Tan φ
, where Δ
R is an incremental change in range and Δ
Tan φ
is an incremental change in the tangent of the view angle;first accumulator means connected to said first register means for accumulating a value corresponding to n R Tan which is the increment value resulting in incrementing the tangent of the view angle n times; second accumulator means connected to said first register means for accumulating a value corresponding to Δ
R Tan φ
min -mΔ
RΔ
Tan φ
which is the increment value resulting in incrementing the range, said second accumulator means being preloaded with the value Δ
R Tan φ
min where φ
min is the angle defining the edge of the vertical field of view;third accumulator means connected to said first and second accumulator means to receive as its input the output of a selected one thereof, said third accumulator means being preloaded with a value corresponding to h, the elevation of the view point, and accumulating a value corresponding to h-Z'"'"'nm, where Z'"'"'nm is the view ray projection of the nth range increment and the mth increment of the view angle tangent; first memory means for storing a Z grid data base of elevation posts of predetermined intervals for the visual scene to be generated; addressing means for generating an X,Y address for said Z grid data base corresponding to Nth range increment and the mth increment of the view angle tangent; and comparing means connected to said third accumulator means and said memory means for providing a first output if the value of the output of said third accumulator means is greater than or equal to the addressed value in said memory means and a second output if the value of the output of said third accumulator means is less than the addressed value in said memory means, said first output causing selection of the output of said first accumulator means as the input to be supplied to said third accumulator means and causing said second accumulator means to be decremented, and said second output causing selection of the output of the said second accumulator means as the input to be supplied to said third accumulator means, causing the addressed data in said first memory means to be read out to said third accumulator means and causing said first accumulator to be incremented. - View Dependent Claims (4, 5, 6)
-
Specification