instantreality 1.0

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

SortedPrimitiveSet

The SortedPrimitiveSet is a special node for rendering (quad-)strips, which can be sorted in a back to front order with respect to their reference point. Its usage is similiar to the ParticleSet node, but on a "higher" level. Besides this some rendering information like tangents is given.

Inheritance

Code

XML encoding
<SortedPrimitiveSet optimizationMode='auto'
logFeature=''
cacheMode='auto'
normalUpdateMode='nice'
multiResolutionLevel='1'
invalidateVolume='FALSE'
lit='TRUE'
resolution='1'
occluderSpheres=''
upThreshold='0 1 0 0.85'
size='1 1 1'
lowerBound='0.25'
index=''
drawOrder='BackToFront'
mode='QuadSet'
 />
Classic encoding
SortedPrimitiveSet {
	optimizationMode ["auto"]
	logFeature [""]
	cacheMode "auto"
	normalUpdateMode "nice"
	multiResolutionLevel 1
	invalidateVolume FALSE
	lit TRUE
	resolution 1
	occluderSpheres []
	upThreshold 0 1 0 0.85
	size 1 1 1
	lowerBound 0.25
	index []
	drawOrder "BackToFront"
	mode "QuadSet"
}

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
SFNode color SFNode inputOutput Color Additional vertex colors
SFNode coord SFNode inputOutput Coordinate Contains the vertices of all quads
SFString drawOrder SFString inputOutput BackToFront None, BackToFront Specifies if primitives shall be sorted
MFInt32 index MFInt32 inputOutput holds topological information, primitives divided by -1
SFBool invalidateVolume SFBool inputOutput FALSE set volume invalid
SFBool lit SFBool initializeOnly TRUE Lit field.
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
SFFloat lowerBound SFFloat inputOutput 0.25 Percentage of not rendered primitives.
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element
SFString mode SFString inputOutput QuadSet TriSet, QuadSet Primitives (i.e. strips) can consist if tris or (much better) quads
SFInt32 multiResolutionLevel SFInt32 initializeOnly 1 resolution level in progressive mesh
SFNode normal SFNode inputOutput Normal Per vertex normals
SFString normalUpdateMode SFString initializeOnly nice none; fast; nice force update of normals; nice update is with creaseAngle, fast is without
MFVec4f occluderSpheres MFVec4f inputOutput For advanced sorting based on visibility
MFString optimizationMode MFString inputOutput auto auto; all, none, sharedVertex; stripFan; vertexResort; reduceIndexSize; singleIndex optimization mode settings; used leading +/- to switch modes on and off
SFNode refPoint SFNode inputOutput Coordinate reference point for sorting
SFFloat resolution SFFloat inputOutput 1 factor for subdivision of mesh
SFVec3f size SFVec3f inputOutput 1 1 1 For BBox calculation
SFNode tangent SFNode inputOutput Normal Per vertex tangents for special lighting
SFNode texCoord SFNode inputOutput TextureCoordinateBase Texture coordinates
SFVec4f upThreshold SFVec4f inputOutput 0 1 0 0.85 up vector and threshold value for second sorting pass