Clipmap
Extends:
A 3D geometry clipmap.
Finds world octants that are close to the viewer and arranges them in concentric LOD shells. Octants that leave or enter a shell are reported for further processing.
Constructor Summary
| Public Constructor | ||
| public |
constructor(world: WorldOctree) Constructs a new clipmap. |
|
Member Summary
| Public Members | ||
| public |
position: Vector3 The current view position. |
|
| public |
The world octree. |
|
Method Summary
| Public Methods | ||
| public |
clear() Clears this clipmap. |
|
| public |
process() Generates voxel data for the cells in the current scene and contours them to extract a polygonal mesh. |
|
| public |
update(camera: PerspectiveCamera) Updates the clipmap. |
|
Public Constructors
public constructor(world: WorldOctree) source
Constructs a new clipmap.
Params:
| Name | Type | Attribute | Description |
| world | WorldOctree | A world octree. |
