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
SFString cacheMode SFString initializeOnly auto auto; dlist; vbo; off controls the creation of geo cache objects; auto is vbo or dlist for dynamic objects
SFBool enableFrustumCulling SFBool inputOutput TRUE enables the frustum culling mechanism.
SFBool enableSmoothTransition SFBool inputOutput TRUE enable/disable the smooth transition between different levels of detail
SFBool enableUpdate SFBool inputOutput TRUE enable/disable view dependent update of the geometry.
SFFloat heightDataOffset SFFloat inputOutput 0.0 offset of the height data (y-value).
SFFloat heightDataScale SFFloat inputOutput 1.0 scaling of the height data (y-value)
MFString heightDataUrl MFString initializeOnly URL to a grayscale Image used as Heightmap
SFBool invalidateVolume SFBool inputOutput FALSE set volume invalid
SFInt32 levelSize SFInt32 inputOutput 255 Defines the number of Samples in a terrain level. Must be a power of 2 minus 1.
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
SFInt32 multiResolutionLevel SFInt32 initializeOnly 1 resolution level in progressive mesh
SFString normalUpdateMode SFString initializeOnly nice none; fast; nice force update of normals; nice update is with creaseAngle, fast is without
MFString optimizationMode MFString inputOutput auto auto; all, none, sharedVertex; stripFan; vertexResort; reduceIndexSize; singleIndex optimization mode settings; used leading +/- to switch modes on and off
SFFloat resolution SFFloat inputOutput 1 factor for subdivision of mesh
SFFloat sampleDistance SFFloat inputOutput 1.0 distance between two height samples
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.
MFString textureUrl MFString inputOutput URL to a colorimage used as a texture map for the terrain
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.