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