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