IVisibleRegion
Description
- Extended by
-
VisibleRegion abstract
Base interface for classes that represent a visible region in 3D-space, which is used to limit mesh refinement to specific parts of a terrain.
Public / Methods
TestSphere
Tests if the given mesh sector bounding sphere intersects with the visible region.
The bounding spheres in a hierarchy of mesh sectors are nested. However, a mesh sector bounding sphere may not necessarily contain the bounding spheres of the mesh sectors that belong to the direct child vertices of the mesh sector center vertex. Because of this, implementing methods will use an expanded bounding sphere for the -1
test, which has the same center point and a radius of: radius in* Maths.Sqrt2
Extensions
TestSphere
Tests if the given mesh sector bounding sphere intersects with the visible region.
The bounding spheres in a hierarchy of mesh sectors are nested. However, a mesh sector bounding sphere may not necessarily contain the bounding spheres of the mesh sectors that belong to the direct child vertices of the mesh sector center vertex. Because of this, implementing methods will use an expanded bounding sphere for the -1
test, which has the same center point and a radius of:
radius in*Maths.Sqrt2