Xj3D Particle System Examples

Simple emitter

This should produce a rough red smoke effect that emits point particles in all directions.
ParticleSystem {
  appearance Appearance {
    material Material { diffuseColor 1 0 0 }
  }
  emitter PointEmitter {
    position 0.5 0 -10
  }
}

Physics model

The particles are randomly generated in direction and velocity, but gravity also takes effect making the particles slowly fall down.
ParticleSystem {
  appearance Appearance {
    material Material { diffuseColor 1 0 0 }
  }
  emitter PointEmitter {
    position 0.5 0 -10
  }
  physics [
    GravityPhysicsModel {}
    WindPhysicsModel {
      speed 0.5 0 0
    }
  ]
}


[ Xj3D Homepage | Xj3D @ Web3d | Screenshots | Dev docs | Dev Releases | Contributors | Getting Started ]
Last updated: $Date: 2004-10-13 17:30:23 $