instantreality 1.0

Component:
Simulator
Status:
fully implemented
Structure type:
concrete
Standard:
X3D3.2

ProgrammableParticleSystem

Defines a Particle System. It is only a Simulator and does not rendering. For Rendering use e. ParticleSet oder PointSet and route the coord,secCoord,... data.

Inheritance

Code

XML encoding
<ProgrammableParticleSystem logFeature=''
enabled='TRUE'
localCoordSystem='TRUE'
maxStepsPerFrame='-1'
maxStepTime='-1'
minStepsPerFrame='-1'
speed='1'
velocity=''
time='0'
size=''
color=''
coord=''
secCoord=''
transparency='0'
shaderUrl=''
whichShader='-1'
secCoordDomainParam='1 1 1'
secCoordDomainType='point'
velocityDomainParam='1 1 1'
velocityDomainType='point'
sizeDomainParam='1 1 1'
sizeDomainType='point'
colorDomainParam='1 1 1'
colorDomainType='point'
sourceDomainParam='0 0 0'
sourceDomainType='point'
sourceRate='0'
startingAge='0'
maxParticle='1000'
addParticleData='FALSE'
trackCoord='TRUE'
 />
Classic encoding
ProgrammableParticleSystem {
	logFeature [""]
	enabled TRUE
	localCoordSystem TRUE
	maxStepsPerFrame -1
	maxStepTime -1
	minStepsPerFrame -1
	speed 1
	velocity []
	time 0
	size []
	color []
	coord []
	secCoord []
	transparency 0
	shaderUrl [""]
	whichShader -1
	secCoordDomainParam [1 1 1]
	secCoordDomainType "point"
	velocityDomainParam [1 1 1]
	velocityDomainType "point"
	sizeDomainParam [1 1 1]
	sizeDomainType "point"
	colorDomainParam [1 1 1]
	colorDomainType "point"
	sourceDomainParam [0 0 0]
	sourceDomainType "point"
	sourceRate 0
	startingAge 0
	maxParticle 1000
	addParticleData FALSE
	trackCoord TRUE
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFBool addParticleData SFBool inputOutput FALSE controls if new coord/secCoord/color/size and velocity data should be set or add to the current particle group
MFColorRGBA color MFColorRGBA inputOutput holds the particle color data
MFFloat colorDomainParam MFFloat inputOutput 1 1 1 define the domain parameter
SFString colorDomainType SFString inputOutput point none, point, line, triangle, plane, rectangle, box, sphere, cylinder, cone, blob, disc Defines the domain of the particle color.
MFVec3f coord MFVec3f inputOutput holds the particle position data
SFBool enabled SFBool inputOutput TRUE Flag to enable/disable the node behaviour
SFBool localCoordSystem SFBool inputOutput TRUE evaluate calculations (e.g. gravitation) in local or global coordinate frame
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
SFInt32 maxParticle SFInt32 inputOutput 1000 The maximum number of particles of the particle system.
SFInt32 maxStepsPerFrame SFInt32 inputOutput -1 maximum value for iteration steps per frame
SFTime maxStepTime SFTime inputOutput -1 upper bound for dT (useful for preventing simulation from blowing off if frame rate is too low)
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element
SFInt32 minStepsPerFrame SFInt32 inputOutput -1 minimum value for iteration steps per frame
MFVec3f secCoord MFVec3f inputOutput holds the particle position data
MFFloat secCoordDomainParam MFFloat inputOutput 1 1 1 define the domain parameter
SFString secCoordDomainType SFString inputOutput point none, point, line, triangle, plane, rectangle, box, sphere, cylinder, cone, blob, disc Defines the domain of the particle second position.
MFString shaderUrl MFString inputOutput cdata holds the particle system shader code
MFVec3f size MFVec3f inputOutput holds the particle size data
MFFloat sizeDomainParam MFFloat inputOutput 1 1 1 define the domain parameter
SFString sizeDomainType SFString inputOutput point none, point, line, triangle, plane, rectangle, box, sphere, cylinder, cone, blob, disc Defines the domain of the particle size.
MFFloat sourceDomainParam MFFloat inputOutput 0 0 0 define the domain parameter
SFString sourceDomainType SFString inputOutput point none, point, line, triangle, plane, rectangle, box, sphere, cylinder, cone, blob, disc Defines the domain of the particle source position.
SFInt32 sourceRate SFInt32 inputOutput 0 The source rate of the particle system defines the number of particles to add per unit time.
SFFloat speed SFFloat inputOutput 1 Scaling factor for simulation speed.
SFFloat startingAge SFFloat inputOutput 0 The starting age of the particles.
SFTime time SFTime inputOutput 0 Externally triggered time (internally used for dT).
SFBool trackCoord SFBool inputOutput TRUE controlls the tracking of the second coordinate
SFFloat transparency SFFloat inputOutput 0 defines the transparency of sourced particle
MFVec3f velocity MFVec3f inputOutput holds the particle velocity data
MFFloat velocityDomainParam MFFloat inputOutput 1 1 1 define the domain parameter
SFString velocityDomainType SFString inputOutput point none, point, line, triangle, plane, rectangle, box, sphere, cylinder, cone, blob, disc Defines the domain of the particle velocity.
SFInt32 whichShader SFInt32 inputOutput -1 defines which shader shout be used. -1 switches all shader code off