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
MFColorRGBA color MFColorRGBA inputOutput holds the particle color data
MFFloat colorDomainParam MFFloat inputOutput 1 1 1 define the domain parameter
MFFloat secCoordDomainParam MFFloat inputOutput 1 1 1 define the domain parameter
MFFloat sizeDomainParam MFFloat inputOutput 1 1 1 define the domain parameter
MFFloat sourceDomainParam MFFloat inputOutput 0 0 0 define the domain parameter
MFFloat velocityDomainParam MFFloat inputOutput 1 1 1 define the domain parameter
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 shaderUrl MFString inputOutput cdata holds the particle system shader code
MFVec3f coord MFVec3f inputOutput holds the particle position data
MFVec3f secCoord MFVec3f inputOutput holds the particle position data
MFVec3f size MFVec3f inputOutput holds the particle size data
MFVec3f velocity MFVec3f inputOutput holds the particle velocity data
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
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
SFBool trackCoord SFBool inputOutput TRUE controlls the tracking of the second coordinate
SFFloat speed SFFloat inputOutput 1 Scaling factor for simulation speed.
SFFloat startingAge SFFloat inputOutput 0 The starting age of the particles.
SFFloat transparency SFFloat inputOutput 0 defines the transparency of sourced particle
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
SFInt32 minStepsPerFrame SFInt32 inputOutput -1 minimum value for iteration steps per frame
SFInt32 sourceRate SFInt32 inputOutput 0 The source rate of the particle system defines the number of particles to add per unit time.
SFInt32 whichShader SFInt32 inputOutput -1 defines which shader shout be used. -1 switches all shader code off
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element
SFString colorDomainType SFString inputOutput point none, point, line, triangle, plane, rectangle, box, sphere, cylinder, cone, blob, disc Defines the domain of the particle color.
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.
SFString sizeDomainType SFString inputOutput point none, point, line, triangle, plane, rectangle, box, sphere, cylinder, cone, blob, disc Defines the domain of the particle size.
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.
SFString velocityDomainType SFString inputOutput point none, point, line, triangle, plane, rectangle, box, sphere, cylinder, cone, blob, disc Defines the domain of the particle velocity.
SFTime maxStepTime SFTime inputOutput -1 upper bound for dT (useful for preventing simulation from blowing off if frame rate is too low)
SFTime time SFTime inputOutput 0 Externally triggered time (internally used for dT).