PhysxParticleIsosurfaceAPI#
Isosurface extraction post-processing on a particle system: a triangle mesh around the fluid particles for rendering, 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 extractor settings, auto-computing sizes from the system’s resolved fluidRestOffset.
Applies to:
PhysxParticleSystemRead only when listed in
usd-schemas.No builder:
ovphysx.populationandPopulation.hppdo 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 |
|---|---|---|---|---|---|---|
|
bool8 |
none |
true |
resolved USD value (authored, else raw fallback) |
false diverges |
false: no isosurface (the stage is not enabled at creation, and an extractor, if any, is disabled). USD’s fallback is true, so write the value. |
|
int32 |
none |
1048576 |
resolved USD value (authored, else raw fallback) |
0 diverges |
0 is passed as the vertex capacity of the PhysX isosurface extractor. USD’s fallback is 1048576, so write the value. |
|
int32 |
none |
2097152 |
resolved USD value (authored, else raw fallback) |
0 diverges |
0 is passed as the triangle capacity of the PhysX isosurface extractor. USD’s fallback is 2097152, so write the value. |
|
int32 |
none |
2048 |
resolved USD value (authored, else raw fallback) |
0 diverges |
0 is passed as the sparse grid’s maximum subgrid count. USD’s fallback is 2048, so write the value. |
|
float32 |
length |
|
resolved USD value (authored, else raw fallback) |
0.0 diverges |
Read as 0, which is not the auto sentinel: a spacing not larger than 0.9 x the system’s resolved fluidRestOffset is raised to it, so an absent column yields 0.9 x fluidRestOffset (0 when fluidRestOffset is absent too). |
|
float32 |
length |
|
resolved USD value (authored, else raw fallback) |
0.0 diverges |
Read as 0, which is not the auto sentinel: the isosurface passes through the particle centers. A value above 2.5 x the resolved gridSpacing is clamped to it. |
|
uint8 array |
none |
GSRS |
resolved USD value (authored, else raw fallback) |
no passes |
No grid filtering passes. The runtime decodes no string column of an ovstage Stage, so there this column reads as absent even when written; on other sources each S, G or R adds a smooth, grow or reduce pass, consecutive repeats collapse, other characters are ignored and more than 32 passes fall back to GSRS. |
|
float32 |
length |
|
resolved USD value (authored, else raw fallback) |
0.0 diverges |
Read as 0, which is not the auto sentinel: no grid smoothing radius. |
|
int32 |
none |
4 |
resolved USD value (authored, else raw fallback) |
0 diverges |
0 smoothing passes on the extracted mesh. USD’s fallback is 4, so write the value. |
|
int32 |
none |
4 |
resolved USD value (authored, else raw fallback) |
0 diverges |
0 normal smoothing passes on the extracted mesh. USD’s fallback is 4, so write the value. |
Interactions#
PhysxParticleSystem: The enable flag is read in the system parse when this API is listed on the system, and every auto value derives from the system’s resolved fluidRestOffset, which is 0 when that column is absent. Applying or removing the API at runtime turns the stage on or off.