Method, system, and computer program product for visibility culling of terrain
First Claim
1. A method for visibility culling, comprising:
- (A) modulating a first height field as a function of distance to obtain a perspective modulated height field; and
(B) generating an occlusion height field based on an orthographic height propagation of the perspective modulated height field.
6 Assignments
0 Petitions
Accused Products
Abstract
A method, system, and computer program product are provided for visibility culling of terrain. A height field is perspective modulated. An occlusion height field is generated based on an orthographic height propagation of the perspective modulated height field. Graphics data is culled based on the generated occlusion height field. Texturing and blending operations can be used to accelerate the perspective modulation. A perspective modulation disk is used to modulate the first height field along radial slices from a viewpoint. Texture from a one-dimensional texture with distance values is mapped to the radial slices to obtain the perspective modulated height field. Generating an occlusion height field can also be carried out using texturing and blending and can be hardware-accelerated. According to a further feature, a shift disk or shift texture is used.
16 Citations
27 Claims
-
1. A method for visibility culling, comprising:
-
(A) modulating a first height field as a function of distance to obtain a perspective modulated height field; and
(B) generating an occlusion height field based on an orthographic height propagation of the perspective modulated height field. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 17, 19, 20)
-
-
15. A routine for hardware-accelerated visibility culling, comprising:
-
drawing an original height field to obtain a first image in a frame buffer color channel;
drawing a polygon of the same size as the domain of a height field with a constant color representative of the height at a viewpoint to obtain a second image in the frame buffer, said drawing including blending to subtract the polygon color from the first image frame buffer color, such that a polygon having a color equal to a viewpoint reference height field is stored as the second image in the frame buffer, the reference height field being equal to the original height minus the constant color height;
drawing a perspective modulation disk, including texture mapping with a first texture addressed by a first set of texture coordinates, blending to modulate the second image frame buffer color channel value by the texels in the first texture, and storing a resultant perspective modulated image as a second texture addressed by a second set of texture coordinates, wherein the first texture includes a one-dimensional array of texels having values which are a function of the first set of texture coordinates, and the second texture includes a two-dimensional array of texels having values which represent a perspective modulation of the viewpoint reference height field; and
for each propagation, modifying a shift disk to shift texture coordinates by a respective propagation distance; and
drawing an updated shift disk with texture mapped from the second texture, including blending with a maximum blending function that saves a maximum height value between two compared sampling locations along radial directions on the shift disk.
-
-
16. A system for visibility culling, comprising:
-
(A) modulating means for modulating a first height field as a function of distance to obtain a perspective modulated height field; and
(B) generating means for generating an occlusion height field based on an orthographic height propagation of the perspective modulated height field.
-
-
18. A system, comprising:
-
a host computer; and
a graphics subsystem coupled to the host computer;
wherein the host computer includes a visibility culling controller that controls the graphics subsystem to modulate a first height field as a function of distance to obtain a perspective modulated height field and to generate an occlusion height field based on an orthographic height propagation of the perspective modulated height field.
-
-
21. A system, comprising:
a visibility culling controller that controls a graphics subsystem to modulate a first height field as a function of distance to obtain a perspective modulated height field, and to generate an occlusion height field based on an orthographic height propagation of the perspective modulated height field. - View Dependent Claims (22, 27)
-
23. A visibility culling controller, comprising:
-
first control logic that enables a graphics subsystem to modulate a first height field as a function of distance to obtain a perspective modulated height field; and
second control logic that enables a graphics subsystem to generate an occlusion height field based on an orthographic height propagation of the perspective modulated height field.
-
-
24. A computer program product comprising a computer useable medium having computer program logic recorded thereon for enabling a processor to render a computer scene, said computer program logic comprising:
-
first computer readable code that enables a processor to modulate a first height field as a function of distance to obtain a perspective modulated height field; and
; and
second control logic that enables a processor to generate an occlusion height field based on an orthographic height propagation of the perspective modulated height field.
-
-
25. A visibility culling controller, comprising:
-
first control logic that modulates a first height field as a function of distance to obtain a perspective modulated height field; and
second control logic that generates an occlusion height field based on an orthographic height propagation of the perspective modulated height field.
-
-
26. A system, comprising:
-
a visibility culling controller;
a first height field; and
a graphics pipeline;
wherein, in response to the visibility culling controller, the graphics pipeline carries out operations in multiple passes to modulate the first height field as a function of distance to obtain a perspective modulated height field, and to generate an occlusion height field based on an orthographic height propagation of the perspective modulated height field.
-
Specification