instantreality 1.0

Component:
Rendering
Status:
interface only
Structure type:
concrete
Standard:
Avalon

Terrain

Dynamic Terrain Rendering Node, Interface _will_ changed int future.

Inheritance

Code

XML encoding
<Terrain heightDataUrl=''
textureUrl=''
heightDataScale='1.0'
heightDataOffset='0.0'
sampleDistance='1.0'
levelSize='255'
enableFrustumCulling='TRUE'
useGpuRenderer='FALSE'
useVboExtension='TRUE'
enableSmoothTransition='TRUE'
showBoundingBoxes='FALSE'
showTransitionRegions='FALSE'
enableUpdate='TRUE'
resolution='1'
multiResolutionLevel='1'
invalidateVolume='FALSE'
normalUpdateMode='nice'
cacheMode='auto'
optimizationMode='auto'
logFeature=''
 />
Classic encoding
Terrain {
	heightDataUrl [""]
	textureUrl [""]
	heightDataScale 1.0
	heightDataOffset 0.0
	sampleDistance 1.0
	levelSize 255
	enableFrustumCulling TRUE
	useGpuRenderer FALSE
	useVboExtension TRUE
	enableSmoothTransition TRUE
	showBoundingBoxes FALSE
	showTransitionRegions FALSE
	enableUpdate TRUE
	resolution 1
	multiResolutionLevel 1
	invalidateVolume FALSE
	normalUpdateMode "nice"
	cacheMode "auto"
	optimizationMode ["auto"]
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
MFString heightDataUrl MFString initializeOnly URL to a grayscale Image used as Heightmap
MFString textureUrl MFString inputOutput URL to a colorimage used as a texture map for the terrain
SFFloat heightDataScale SFFloat inputOutput 1.0 scaling of the height data (y-value)
SFFloat heightDataOffset SFFloat inputOutput 0.0 offset of the height data (y-value).
SFFloat sampleDistance SFFloat inputOutput 1.0 distance between two height samples
SFInt32 levelSize SFInt32 inputOutput 255 Defines the number of Samples in a terrain level. Must be a power of 2 minus 1.
SFBool enableFrustumCulling SFBool inputOutput TRUE enables the frustum culling mechanism.
SFBool useGpuRenderer SFBool inputOutput FALSE Set tu TRUE to use the GPU Version of the Renderer (works only, if GLSL Programs are supported) or FALSE to use the CPU Version.
SFBool useVboExtension SFBool inputOutput TRUE enable/disable the usage of Vertex Buffers.
SFBool enableSmoothTransition SFBool inputOutput TRUE enable/disable the smooth transition between different levels of detail
SFBool showBoundingBoxes SFBool inputOutput FALSE set this to TRUE, to see the bounding boxes used for frustum culling
SFBool showTransitionRegions SFBool inputOutput FALSE enable/disable the display of the transition regions. This is only for testing purposes.
SFBool enableUpdate SFBool inputOutput TRUE enable/disable view dependent update of the geometry.
SFFloat resolution SFFloat inputOutput 1 factor for subdivision of mesh
SFInt32 multiResolutionLevel SFInt32 initializeOnly 1 resolution level in progressive mesh
SFBool invalidateVolume SFBool inputOutput FALSE set volume invalid
SFString normalUpdateMode SFString initializeOnly nice none; fast; nice force update of normals; nice update is with creaseAngle, fast is without
SFString cacheMode SFString initializeOnly auto auto; dlist; vbo; off controls the creation of geo cache objects; auto is vbo or dlist for dynamic objects
MFString optimizationMode MFString inputOutput auto auto; all, none, sharedVertex; stripFan; vertexResort; reduceIndexSize; singleIndex optimization mode settings; used leading +/- to switch modes on and off
MFString logFeature MFString inputOutput state, child, parent, route, eventIn, eventOut controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element