PhysxParticleAnisotropyAPI#

Anisotropy post-processing on a particle system: per-particle ellipsoid scales and orientations computed 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

physxParticleAnisotropy:particleAnisotropyEnabled

bool8

none

true

resolved USD value (authored, else raw fallback)

false diverges

false: no anisotropy 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.

physxParticleAnisotropy:scale

float32

none

1.0

resolved USD value (authored, else raw fallback)

0.0 diverges

0 is passed as the anisotropy scale of the PhysX anisotropy generator. USD’s fallback is 1, so write the value.

physxParticleAnisotropy:min

float32

none

0.2

resolved USD value (authored, else raw fallback)

0.0 diverges

0 is passed as the minimum anisotropy of the PhysX anisotropy generator. USD’s fallback is 0.2, so write the value.

physxParticleAnisotropy:max

float32

none

2.0

resolved USD value (authored, else raw fallback)

0.0 diverges

0 is passed as the maximum anisotropy of the PhysX anisotropy generator. USD’s fallback is 2, 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.

  • Points: Anisotropy without an isosurface cannot be rendered on a Points particle set; the runtime warns when it creates such a set.