if (@Cd.x<chf("seuilColor"))removepoint(0,@ptnum);
deleteByConnectivity
if (rand(@class+8675)<ch("seuil"))removepoint(0,@ptnum,1);
deletePrimitivesByCamera
// From yarg666 - Get cameraOrigin in input 1
vector pt0 = point(1,'P',0);
v@raydir = normalize( pt0 - @P )*-1;
// Get falloff attribute
@falloff = dot(v@raydir, @N);
// Promote falloff on Primitives then in a Wrangle set on Primitives
if ( f@falloff>chf("seuil") ) removeprim(0,@primnum,1);
deletePrimitivesByHeight
if ( @P.y<chf("seuil") ) removeprim(0,@primnum,1);
deleteSmallPieces
// As seen on Sidefx forum, posted by paulboiii
// First create a measure SOP, set to per piece
// Then, in an attribwrangle set on primitives
float threshold = chf("Size_Threshold");
if ( f@area < threshold ) removeprim(0,@primnum,1);
groupByUvY
if(@uv.y<chf("seuil")) @group_base = 1;
oldschool_blendshapeThroughMask
//// Blend shape through a mask attribute - Posted by Cudarsjanis on Odforce
// Geo with mask attribute in first input, blend shape in second
v@P=lerp(v@P, point(1,'P',@ptnum), f@mask*ch('blend'));