instantreality 1.0

Component:
Rendering
Status:
fully implemented
Structure type:
concrete
Standard:
Avalon

SliceSet

This node is a dynamic geometry which creates polygons which slice the bbox according to the current camera position and field settings. The size and bounding box in the local coordinate system is defined by the size field. The slice-distance and therefore the number of slices is controlled by the sliceDistance value. Every is slice/polygon is clipped by the bbox-sides and defined by 3-6 vertices. Every vertices gets a 3d-texture coordinate which defines a normalized position [0-1] inside of the bbox-cube. The node can be used for direct vorlume rendering or local fog effects.

Inheritance

Code

XML encoding
<SliceSet sliceDistance='1'
size='1 1 1'
resolution='1'
multiResolutionLevel='1'
invalidateVolume='FALSE'
normalUpdateMode='nice'
cacheMode='auto'
optimizationMode='auto'
logFeature=''
 />
Classic encoding
SliceSet {
	sliceDistance 1
	size 1 1 1
	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
SFString cacheMode SFString initializeOnly auto auto; dlist; vbo; off controls the creation of geo cache objects; auto is vbo or dlist for dynamic objects
SFInt32 multiResolutionLevel SFInt32 initializeOnly 1 resolution level in progressive mesh
SFString normalUpdateMode SFString initializeOnly nice none; fast; nice force update of normals; nice update is with creaseAngle, fast is without
SFBool invalidateVolume SFBool inputOutput FALSE set volume invalid
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
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element
MFString optimizationMode MFString inputOutput auto auto; all, none, sharedVertex; stripFan; vertexResort; reduceIndexSize; singleIndex optimization mode settings; used leading +/- to switch modes on and off
SFFloat resolution SFFloat inputOutput 1 factor for subdivision of mesh
SFVec3f size SFVec3f inputOutput 1 1 1 Defines the bounding box in the local coordinate system
SFFloat sliceDistance SFFloat inputOutput 1 The distance between eche slice and therefore the slice-number