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. | |||
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 | The primType defines the used primitive types. | ||
compressed | SFBool | inputOutput | FALSE | Specifies if the binary data containers are GZip compressed (default: FALSE). | ||
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! | ||
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. | ||
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). | ||
normalPerVertex | SFBool | inputOutput | TRUE | Whether normals are applied per vertex (true) or per triangle (false). | ||
rgbaColors | SFBool | inputOutput | FALSE | Specifies whether the colors are encoded as RGB or as RGBA values. | ||
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! | ||
useGeoCache | SFBool | initializeOnly | TRUE | controlls the use of geometry caches for primitives with equal properties | ||
resolution | SFFloat | inputOutput | 1 | factor for subdivision of mesh | ||
multiResolutionLevel | SFInt32 | initializeOnly | 1 | resolution level in progressive mesh | ||
numTexCoordComponents | SFInt32 | inputOutput | 2 | Specifies the number of components of the texCoords (default: 2). | ||
metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element | ||
binormal | SFString | inputOutput | Holds the per-vertex binormals (NYI) | |||
cacheMode | SFString | initializeOnly | auto | auto; dlist; vbo; off | controls the creation of geo cache objects; auto is vbo or dlist for dynamic objects | |
color | SFString | inputOutput | Holds the vertex color components | |||
colorType | SFString | inputOutput | Float32 | [Int8, Uint8, Int16, Uint16, Int32, Uint32, Float32, Float64] | Defines the color attribute data type (experimental!) | |
coord | SFString | inputOutput | Holds the vertex coordinate components | |||
coordType | SFString | inputOutput | Float32 | [Int8, Uint8, Int16, Uint16, Int32, Uint32, Float32, Float64] | Defines the coordinate attribute data type (experimental!) | |
index | SFString | inputOutput | Holds the mesh indices | |||
indexType | SFString | inputOutput | Uint16 | [Int8, Uint8, Int16, Uint16, Int32, Uint32] | Defines the index array data type (highly experimental!) | |
normal | SFString | inputOutput | Holds the vertex normal components | |||
normalType | SFString | inputOutput | Float32 | [Int8, Uint8, Int16, Uint16, Int32, Uint32, Float32, Float64] | Defines the normal attribute data type (experimental!) | |
normalUpdateMode | SFString | initializeOnly | nice | none; fast; nice | force update of normals; nice update is with creaseAngle, fast is without | |
tangent | SFString | inputOutput | Holds the per-vertex tangents (NYI) | |||
texCoord | SFString | inputOutput | Holds the vertex texture coordinate components | |||
texCoordType | SFString | inputOutput | Float32 | [Int8, Uint8, Int16, Uint16, Int32, Uint32, Float32, Float64] | Defines the texture coordinate attribute data type (experimental!) | |
position | SFVec3d | inputOutput | 0 0 0 | Object center in local coordinates | ||
size | SFVec3d | inputOutput | 1 1 1 | Object size in local coordinates |