instantreality 1.0

fully implemented
Structure type:


ElevationGrid is a geometry node. ElevationGrid is a rectangular grid of varying height above a flat surface. ElevationGrid can contain Color, Normal and TextureCoordinate nodes. Hint: insert a Shape node before adding geometry or Appearance. You can also substitute a type-matched ProtoInstance for content.



XML encoding
<ElevationGrid logFeature=''
Classic encoding
ElevationGrid {
	logFeature [""]
	optimizationMode ["auto"]
	normalUpdateMode "nice"
	cacheMode "auto"
	multiResolutionLevel 1
	invalidateVolume FALSE
	resolution 1
	zSpacing 1
	zDimension 0
	lit TRUE
	xDimension 0
	xSpacing 1
	normalPerVertex TRUE
	solid TRUE
	colorPerVertex TRUE
	creaseAngle 0
	ccw TRUE
	height []


Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
MFFloat height MFFloat inputOutput (-inf, inf) Grid array of height vertices along upward Y direction, with xDimension rows and zDimension columns.
SFNode color SFNode inputOutput Color Specifies per-vertex or per-quadrilateral colours for the ElevationGrid node depending on the value of colorPerVertex. If the color field is NULL, the node is rendered with the overall attributes of the Shape node.
SFNode normal SFNode inputOutput Normal Specifies per-vertex or per-quadrilateral normals for the ElevationGrid node. If the normal field is NULL, the browser automatically generates normals.
SFNode texCoord SFNode inputOutput TextureCoordinateBase Specifies per-vertex texture coordinates for the ElevationGrid node. If texCoord is NULL, default texture coordinates are applied to the geometry. Default texture coordinates range from (0,0) at the first vertex to (1,1) at the last vertex.
SFNode fogCoord SFNode inputOutput FogCoordinate If not NULL, it shall contain a FogCoordinate node.
MFNode attrib MFNode inputOutput VertexAttribute If the "attrib" field is not empty it shall contain a list of per-vertex attribute information for programmable shaders
SFBool ccw SFBool initializeOnly TRUE ccw = counterclockwise: ordering of vertex coordinates orientation. Hint: ccw false can reverse solid (backface culling) and normal-vector orientation.
SFBool colorPerVertex SFBool initializeOnly TRUE TRUE: Color node is applied per vertex; FALSE: Color node is applied per quadrilateral
SFFloat creaseAngle SFFloat initializeOnly 0 [0, inf) CreaseAngle defines the angle (in radians) for determining whether adjacent polygons are drawn with sharp edges or smooth shading. If angle between normals of two adjacent polygons is less than creaseAngle, smooth shading is rendered across the shared line segment. Hint: creaseAngle=0 means render all edges sharply, creaseAngle=3.14 means render all edges smoothly.
SFBool normalPerVertex SFBool initializeOnly TRUE TRUE: Normal node is applied per vertex; FALSE: Normal node is applied per quadrilateral
SFBool solid SFBool initializeOnly TRUE Specifies whether to draw only one side or both sides of polygons. Warning: default value true can completely hide geometry if viewed from wrong side. TRUE: draw only one side of polygons (backface culling on); FALSE: draw both sides of polygons (backface culling off)
SFBool lit SFBool initializeOnly TRUE Specifies whether the Shape is lit.
SFInt32 xDimension SFInt32 initializeOnly 0 [0, inf) Number of elements of the grid height array in the X direction.
SFFloat xSpacing SFFloat initializeOnly 1 (0, inf) Indicates the distance between vertices in the X direction. Hint: total horizontal X-axis distance equals (xDimension-1) * xSpacing.
SFInt32 zDimension SFInt32 initializeOnly 0 [0, inf) Number of elements of the grid height array in the Z direction.
SFFloat zSpacing SFFloat initializeOnly 1 (0, inf) Indicates the distance between vertices in the X direction. Hint: total vertical Z-axis distance equals (zDimension-1) * zSpacing.
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