PhysxParticleSmoothingAPI#

Position smoothing post-processing on a particle system: smoothed particle positions for rendering fluid particle sets, without effect on the dynamics. The system parse reads the enable flag only when the API is listed, and the post-process re-parses the API for the generator settings.

  • Applies to: PhysxParticleSystem

  • Read only when listed in usd-schemas.

  • No builder: ovphysx.population and Population.hpp do not write this component; the consumer reads it when another population writes it.

Columns#

Raw fallback is the USD schema value. Producer writes is what ovstage population puts in the column for a USD stage. Parser default applies on the consumer when the column is absent, in stage units. diverges means writing the raw fallback literally parses differently from omitting the column (the parser default): USD population may well publish that very value for an unauthored attribute, so the marker is about the column being present, not about its value.

Column

Type

Units

Raw fallback

Producer writes

Parser default

If absent

physxParticleSmoothing:particleSmoothingEnabled

bool8

none

true

resolved USD value (authored, else raw fallback)

false diverges

false: no smoothing post-processing (the stage is not enabled at creation, and a generator, if any, is disabled). USD’s fallback is true, so write the value.

physxParticleSmoothing:strength

float32

none

0.8

resolved USD value (authored, else raw fallback)

0.0 diverges

0 (no smoothing) is passed to the PhysX smoothed-position generator. USD’s fallback is 0.8, so write the value.

Interactions#

  • PhysxParticleSystem: The enable flag is read in the system parse when this API is listed on the system. Applying or removing the API at runtime turns the stage on or off.

  • PhysxParticleSetAPI: While smoothing is active the runtime writes the smoothed positions to points (positions on a PointInstancer) and the simulated ones to physxParticle:simulationPoints.