instantreality 1.0

Component:
Geometry3D
Status:
partly implemented
Structure type:
concrete
Standard:
X3D2.0

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