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 |
---|---|---|---|---|---|---|
vertexCount | MFInt32 | inputOutput | vertexCount describes how many elements are used per primType | |||
levels | MFNode | inputOutput | PopGeometryLevel | holds all of the geometry levels | ||
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 | ||
optimizationMode | MFString | inputOutput | auto | auto; all, none, sharedVertex; stripFan; vertexResort; reduceIndexSize; singleIndex | optimization mode settings; used leading +/- to switch modes on and off | |
primType | MFString | inputOutput | triangles | defines the primitive types | ||
indexedRendering | SFBool | initializeOnly | true | specifies whether indexed rendering should be used | ||
invalidateVolume | SFBool | inputOutput | FALSE | set volume invalid | ||
lit | SFBool | initializeOnly | TRUE | Specifies whether to enable/disable lighting the geometry. TRUE enables lighting, FALSE disables lighting. | ||
normalPerVertex | SFBool | initializeOnly | TRUE | Whether normals are applied per vertex (true) or per triangle (false). | ||
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! | ||
sphericalNormals | SFBool | initializeOnly | false | Specifies whether normals are encoded using spherical coordinates | ||
useGeoCache | SFBool | initializeOnly | TRUE | controlls the use of geometry caches for primitives with equal properties | ||
resolution | SFFloat | inputOutput | 1 | factor for subdivision of mesh | ||
attributeStride | SFInt32 | initializeOnly | 0 | size (in bytes) of a single vertex buffer element which contains all attribute data for that vertex | ||
colorOffset | SFInt32 | initializeOnly | 0 | offset of color data in the interleaved vertex attribute buffer | ||
colorPrecision | SFInt32 | initializeOnly | 1 | Precision (in bytes) of color data in the interleaved vertex data buffer | ||
multiResolutionLevel | SFInt32 | initializeOnly | 1 | resolution level in progressive mesh | ||
normalOffset | SFInt32 | initializeOnly | 0 | offset of normal data in the interleaved vertex attribute buffer | ||
normalPrecision | SFInt32 | initializeOnly | 1 | Precision (in bytes) of normal data in the interleaved vertex data buffer | ||
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. | ||
positionOffset | SFInt32 | initializeOnly | 0 | offset of position data in the interleaved vertex attribute buffer | ||
positionPrecision | SFInt32 | initializeOnly | 2 | Precision (in bytes) of position data in the interleaved vertex data buffer | ||
texcoordOffset | SFInt32 | initializeOnly | 0 | offset of texture coordinate data in the interleaved vertex attribute buffer | ||
texcoordPrecision | SFInt32 | initializeOnly | 2 | Precision (in bytes) of texture coordinate data in the interleaved vertex data buffer | ||
vertexBufferSize | SFInt32 | initializeOnly | 0 | size of the vertex data buffer - for indexed rendering, this usually differs from the total vertexCount | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
cacheMode | SFString | initializeOnly | auto | auto; dlist; vbo; off | controls the creation of geo cache objects; auto is vbo or dlist for dynamic objects | |
normalUpdateMode | SFString | initializeOnly | nice | none; fast; nice | force update of normals; nice update is with creaseAngle, fast is without | |
bbMaxModF | SFVec3d | inputOutput | 1 1 1 | (maximum values of bounding box) mod (maximal bounding box size) | ||
bbMin | SFVec3d | inputOutput | 0 0 0 | minimum values of bounding box in object space | ||
bbMinModF | SFVec3d | inputOutput | 0 0 0 | (minimum values of bounding box) mod (maximal bounding box size) | ||
position | SFVec3d | inputOutput | 0 0 0 | object center in local coordinates | ||
size | SFVec3d | inputOutput | 1 1 1 | object size of the largest bounding box (for fmod encoding) in local coordinates | ||
tightSize | SFVec3d | inputOutput | 1 1 1 | real object size in local coordinates |