Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ XR Studio

Emitting Snow Particles

  • Last UpdatedJan 24, 2023
  • 1 minute read

Snow particles are randomly emitted around the emitter position.

Spawning behavior

A spawned particle operates in world coordinates. It does not follow the emitter around.

A particle dies when it either:

  • Collides with the HeightMap

  • Drops below a predefined Y value (yDrain)

On the next frame, the dead particle attempts to respawn. If the new respawn position is not valid, the particle dies again and is not rendered. This continues until the particle respawns in a valid position.

Emission Volume Problem

Respawning behavior can cause problems when the emission volume is halfway between a valid position, such as outside, and an invalid position, such as inside a building. In this case, half the particles are invalid and the code renders half the particles.

To resolve this issue, increase the number of particles and the emission volume.

Emission Diagram

Black labels are node parameters. Blue labels are code calculations.

In This Topic
TitleResults for “How to create a CRG?”Also Available in