instantreality 1.0

Component:
Geometry3D
Status:
experimental
Structure type:
concrete
Standard:
X3D2.0

PopGeometry

Experimental geometry node, implementing the level-wise packaged result data of the "Progressively Sorted Primititves" algorithm.

Inheritance

Code

XML encoding
<PopGeometry sphericalNormals='false'
vertexBufferSize='0'
indexedRendering='true'
logFeature=''
optimizationMode='auto'
cacheMode='auto'
normalUpdateMode='nice'
invalidateVolume='FALSE'
resolution='1'
multiResolutionLevel='1'
lit='TRUE'
useGeoCache='TRUE'
solid='TRUE'
tightSize='1 1 1'
bbMaxModF='1 1 1'
bbMin='0 0 0'
numAnchorVertices='0'
bbMinModF='0 0 0'
vertexCount=''
primType='triangles'
position='0 0 0'
size='1 1 1'
normalPerVertex='TRUE'
attributeStride='0'
positionOffset='0'
normalOffset='0'
texcoordOffset='0'
colorOffset='0'
positionPrecision='2'
normalPrecision='1'
texcoordPrecision='2'
colorPrecision='1'
 />
Classic encoding
PopGeometry {
	sphericalNormals false
	vertexBufferSize 0
	indexedRendering true
	logFeature [""]
	optimizationMode ["auto"]
	cacheMode "auto"
	normalUpdateMode "nice"
	invalidateVolume FALSE
	resolution 1
	multiResolutionLevel 1
	lit TRUE
	useGeoCache TRUE
	solid TRUE
	tightSize 1 1 1
	bbMaxModF 1 1 1
	bbMin 0 0 0
	numAnchorVertices 0
	bbMinModF 0 0 0
	vertexCount []
	primType ["triangles"]
	position 0 0 0
	size 1 1 1
	normalPerVertex TRUE
	attributeStride 0
	positionOffset 0
	normalOffset 0
	texcoordOffset 0
	colorOffset 0
	positionPrecision 2
	normalPrecision 1
	texcoordPrecision 2
	colorPrecision 1
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
MFInt32 vertexCount MFInt32 inputOutput vertexCount describes how many elements are used per primType
MFNode levels MFNode inputOutput PopGeometryLevel holds all of the geometry levels
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
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 primType MFString inputOutput triangles defines the primitive types
SFBool indexedRendering SFBool initializeOnly true specifies whether indexed rendering should be used
SFBool invalidateVolume SFBool inputOutput FALSE set volume invalid
SFBool lit SFBool initializeOnly TRUE Specifies whether to enable/disable lighting the geometry. TRUE enables lighting, FALSE disables lighting.
SFBool normalPerVertex SFBool initializeOnly TRUE Whether normals are applied per vertex (true) or per triangle (false).
SFBool solid SFBool initializeOnly TRUE Setting "solid" true means draw only one side of polygons (backface culling on), setting "solid" false means draw both sides of polygons (backface culling off). Warning: default value true can completely hide geometry if viewed from wrong side!
SFBool sphericalNormals SFBool initializeOnly false Specifies whether normals are encoded using spherical coordinates
SFBool useGeoCache SFBool initializeOnly TRUE controlls the use of geometry caches for primitives with equal properties
SFFloat resolution SFFloat inputOutput 1 factor for subdivision of mesh
SFInt32 attributeStride SFInt32 initializeOnly 0 size (in bytes) of a single vertex buffer element which contains all attribute data for that vertex
SFInt32 colorOffset SFInt32 initializeOnly 0 offset of color data in the interleaved vertex attribute buffer
SFInt32 colorPrecision SFInt32 initializeOnly 1 Precision (in bytes) of color data in the interleaved vertex data buffer
SFInt32 multiResolutionLevel SFInt32 initializeOnly 1 resolution level in progressive mesh
SFInt32 normalOffset SFInt32 initializeOnly 0 offset of normal data in the interleaved vertex attribute buffer
SFInt32 normalPrecision SFInt32 initializeOnly 1 Precision (in bytes) of normal data in the interleaved vertex data buffer
SFInt32 numAnchorVertices SFInt32 initializeOnly 0 number of anchor vertices, which are constrained to keep their original positions. Used to locate those in the (begin of the) buffer.
SFInt32 positionOffset SFInt32 initializeOnly 0 offset of position data in the interleaved vertex attribute buffer
SFInt32 positionPrecision SFInt32 initializeOnly 2 Precision (in bytes) of position data in the interleaved vertex data buffer
SFInt32 texcoordOffset SFInt32 initializeOnly 0 offset of texture coordinate data in the interleaved vertex attribute buffer
SFInt32 texcoordPrecision SFInt32 initializeOnly 2 Precision (in bytes) of texture coordinate data in the interleaved vertex data buffer
SFInt32 vertexBufferSize SFInt32 initializeOnly 0 size of the vertex data buffer - for indexed rendering, this usually differs from the total vertexCount
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element
SFString cacheMode SFString initializeOnly auto auto; dlist; vbo; off controls the creation of geo cache objects; auto is vbo or dlist for dynamic objects
SFString normalUpdateMode SFString initializeOnly nice none; fast; nice force update of normals; nice update is with creaseAngle, fast is without
SFVec3d bbMaxModF SFVec3d inputOutput 1 1 1 (maximum values of bounding box) mod (maximal bounding box size)
SFVec3d bbMin SFVec3d inputOutput 0 0 0 minimum values of bounding box in object space
SFVec3d bbMinModF SFVec3d inputOutput 0 0 0 (minimum values of bounding box) mod (maximal bounding box size)
SFVec3d position SFVec3d inputOutput 0 0 0 object center in local coordinates
SFVec3d size SFVec3d inputOutput 1 1 1 object size of the largest bounding box (for fmod encoding) in local coordinates
SFVec3d tightSize SFVec3d inputOutput 1 1 1 real object size in local coordinates