BinaryGeometry
Experimental geometry node to test different binary packages.
Inheritance
Code
XML encoding
<BinaryGeometry vertexCount='' primType='triangles' position='0 0 0' size='1 1 1' normalPerVertex='TRUE' index='' coord='' normal='' texCoord='' color='' tangent='' binormal='' indexType='Uint16' coordType='Float32' normalType='Float32' texCoordType='Float32' colorType='Float32' normalAsSphericalCoordinates='FALSE' idsPerVertex='FALSE' rgbaColors='FALSE' numTexCoordComponents='2' compressed='FALSE' useGeoCache='TRUE' solid='TRUE' lit='TRUE' resolution='1' multiResolutionLevel='1' invalidateVolume='FALSE' normalUpdateMode='nice' cacheMode='auto' optimizationMode='auto' logFeature='' />
Classic encoding
BinaryGeometry { vertexCount [] primType ["triangles"] position 0 0 0 size 1 1 1 normalPerVertex TRUE index "" coord "" normal "" texCoord "" color "" tangent "" binormal "" indexType "Uint16" coordType "Float32" normalType "Float32" texCoordType "Float32" colorType "Float32" normalAsSphericalCoordinates FALSE idsPerVertex FALSE rgbaColors FALSE numTexCoordComponents 2 compressed FALSE useGeoCache TRUE solid TRUE lit 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 |
---|---|---|---|---|---|---|
vertexCount | MFInt32 | inputOutput | The vertexCount describes how many elements are used per primType. | |||
primType | MFString | inputOutput | triangles | The primType defines the used primitive types. | ||
position | SFVec3d | inputOutput | 0 0 0 | Object center in local coordinates | ||
size | SFVec3d | inputOutput | 1 1 1 | Object size in local coordinates | ||
normalPerVertex | SFBool | inputOutput | TRUE | Whether normals are applied per vertex (true) or per triangle (false). | ||
index | SFString | inputOutput | Holds the mesh indices | |||
coord | SFString | inputOutput | Holds the vertex coordinate components | |||
normal | SFString | inputOutput | Holds the vertex normal components | |||
texCoord | SFString | inputOutput | Holds the vertex texture coordinate components | |||
color | SFString | inputOutput | Holds the vertex color components | |||
tangent | SFString | inputOutput | Holds the per-vertex tangents (NYI) | |||
binormal | SFString | inputOutput | Holds the per-vertex binormals (NYI) | |||
indexType | SFString | inputOutput | Uint16 | [Int8, Uint8, Int16, Uint16, Int32, Uint32] | Defines the index array data type (highly experimental!) | |
coordType | SFString | inputOutput | Float32 | [Int8, Uint8, Int16, Uint16, Int32, Uint32, Float32, Float64] | Defines the coordinate attribute data type (experimental!) | |
normalType | SFString | inputOutput | Float32 | [Int8, Uint8, Int16, Uint16, Int32, Uint32, Float32, Float64] | Defines the normal attribute data type (experimental!) | |
texCoordType | SFString | inputOutput | Float32 | [Int8, Uint8, Int16, Uint16, Int32, Uint32, Float32, Float64] | Defines the texture coordinate attribute data type (experimental!) | |
colorType | SFString | inputOutput | Float32 | [Int8, Uint8, Int16, Uint16, Int32, Uint32, Float32, Float64] | Defines the color attribute data type (experimental!) | |
normalAsSphericalCoordinates | SFBool | inputOutput | FALSE | Specifies if the normals are encoded as 3d vectors (default) or as 2d spherical coordinates (experimental and only for 8/16 bit representations). | ||
idsPerVertex | SFBool | inputOutput | FALSE | Defines if object identifiers are encoded per vertex in the texCoords (true) or per shape (false). Warning: highly experimental, may be removed! | ||
rgbaColors | SFBool | inputOutput | FALSE | Specifies whether the colors are encoded as RGB or as RGBA values. | ||
numTexCoordComponents | SFInt32 | inputOutput | 2 | Specifies the number of components of the texCoords (default: 2). | ||
compressed | SFBool | inputOutput | FALSE | Specifies if the binary data containers are GZip compressed (default: FALSE). | ||
useGeoCache | SFBool | initializeOnly | TRUE | controlls the use of geometry caches for primitives with equal properties | ||
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! | ||
lit | SFBool | initializeOnly | TRUE | Specifies whether to enable/disable lighting the geometry. TRUE enables lighting, FALSE disables lighting. | ||
resolution | SFFloat | inputOutput | 1 | factor for subdivision of mesh | ||
multiResolutionLevel | SFInt32 | initializeOnly | 1 | resolution level in progressive mesh | ||
invalidateVolume | SFBool | inputOutput | FALSE | set volume invalid | ||
normalUpdateMode | SFString | initializeOnly | nice | none; fast; nice | force update of normals; nice update is with creaseAngle, fast is without | |
cacheMode | SFString | initializeOnly | auto | auto; dlist; vbo; off | controls the creation of geo cache objects; auto is vbo or dlist for dynamic objects | |
optimizationMode | MFString | inputOutput | auto | auto; all, none, sharedVertex; stripFan; vertexResort; reduceIndexSize; singleIndex | optimization mode settings; used leading +/- to switch modes on and off | |
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 | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element |