Sort
surface node
Reorders points and primitives in different ways.
The Sort op allows you to reorder points and primitives in different ways. Sometimes the primitives are arranged in the desired order, but the point order is not.
To change the order of vertices within a primitive, use the Reverse SOP.
Uses / Works in Relation With
-
Allow points and primitives to be sorted in different ways.
-
Sorting along a vector aids with transparency viewing in GL.
Parameters
Point / Primitive
|
Point/Primitive Sort |
Type of sort to perform.
|
||||||||||||||||||||||
|
Seed |
Seed used for random number generator in Random sort. |
||||||||||||||||||||||
|
Offset |
Amount to shift point/primitive order in Shift sort. |
||||||||||||||||||||||
|
Point |
Position to reference when sorting by proximity to point. |
||||||||||||||||||||||
|
Vector Object |
Sort along a vector specified by object’s xform |
||||||||||||||||||||||
|
Vector |
Specify an arbitrary vector to sort along |
||||||||||||||||||||||
|
Expression |
Specifies an expression to sort by. Each object is reordered so the elements who evaluated to a higher expression value will be found after those with a lower value. Elements with equal expression value maintain their relative position. |
Inputs
|
1 - Source data |
Any geometry type. |
Usages in other examples
| Example name | Example for | |
|---|---|---|
| ParticleCopyScale |
Copy surface node |
|
| CopyTemplateAttribs |
Copy surface node |
|
| ClipParticle |
Clip surface node |
|
| AimPointNormals |
Point surface node |
|
| ForceBasic |
Force surface node |
|
| MagnetBubbles |
Magnet surface node |
|
| FlutteringLeaves |
Particle surface node |
|
| ParticleFountain |
Particle surface node |
|
| ParticlePusher |
Particle surface node |
|
| ParticleAttractor |
Particle surface node |
|
| ParticleExamples |
Particle surface node |
|
| ParticleTube |
Particle surface node |
|
| PasteCones |
Paste surface node |
|
| MatchTopologySphere |
Match Topology surface node |
|
| CreepParticleTubeA |
Creep surface node |
|
| AttractToRing |
Attractor particle node |