C# Class MHGameWork.TheWizards.DualContouring.Terrain.TerrainLodEnvironment

Shows a terrain with lod based on clipmaps but with an octree like procworld (so no stitching chunks or continuous scrolling)
Mostra file Open project: mhgamework/the-wizards-engine Class Usage Examples

Public Properties

Property Type Description
meshBuilder MHGameWork.TheWizards.DualContouring.Terrain.LodOctreeMeshBuilder

Public Methods

Method Description
CreateUpdatedMeshElements ( ) : void
DrawDebugOutput ( ) : void
LoadIntoEngine ( TWEngine engine ) : void
ProcessUserInput ( ) : void
TerrainLodEnvironment ( ) : System
UpdateCanRenderWithoutHoles ( MHGameWork.TheWizards.DualContouring.Terrain.LodOctreeNode node ) : void
UpdateMeshElements ( MHGameWork.TheWizards.DualContouring.Terrain.LodOctreeNode node ) : void
UpdateQuadtreeClipmaps ( ) : void
densityFunction ( Vector3 v ) : float
generateMeshesJob ( ) : void
meshBuilderJob ( ) : void

Private Methods

Method Description
DestroyMeshElement ( MHGameWork.TheWizards.DualContouring.Terrain.LodOctreeNode node ) : void
DestroyMeshElementRecursive ( MHGameWork.TheWizards.DualContouring.Terrain.LodOctreeNode node ) : void
ensureMeshElementCreated ( MHGameWork.TheWizards.DualContouring.Terrain.LodOctreeNode node ) : void

Method Details

CreateUpdatedMeshElements() public method

public CreateUpdatedMeshElements ( ) : void
return void

DrawDebugOutput() public method

public DrawDebugOutput ( ) : void
return void

LoadIntoEngine() public method

public LoadIntoEngine ( TWEngine engine ) : void
engine TWEngine
return void

ProcessUserInput() public method

public ProcessUserInput ( ) : void
return void

TerrainLodEnvironment() public method

public TerrainLodEnvironment ( ) : System
return System

UpdateCanRenderWithoutHoles() public method

public UpdateCanRenderWithoutHoles ( MHGameWork.TheWizards.DualContouring.Terrain.LodOctreeNode node ) : void
node MHGameWork.TheWizards.DualContouring.Terrain.LodOctreeNode
return void

UpdateMeshElements() public method

public UpdateMeshElements ( MHGameWork.TheWizards.DualContouring.Terrain.LodOctreeNode node ) : void
node MHGameWork.TheWizards.DualContouring.Terrain.LodOctreeNode
return void

UpdateQuadtreeClipmaps() public method

public UpdateQuadtreeClipmaps ( ) : void
return void

densityFunction() public method

public densityFunction ( Vector3 v ) : float
v Vector3
return float

generateMeshesJob() public method

public generateMeshesJob ( ) : void
return void

meshBuilderJob() public method

public meshBuilderJob ( ) : void
return void

Property Details

meshBuilder public_oe property

public LodOctreeMeshBuilder,MHGameWork.TheWizards.DualContouring.Terrain meshBuilder
return MHGameWork.TheWizards.DualContouring.Terrain.LodOctreeMeshBuilder