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