Snippet Category: Houdini

VEX – Delete Points

// // // //Delete Points (Run Over = ‘Detail’) int pts = @numpt; for(int i = pts-1; i >= 0; i–) { removepoint(0,i); }

VEX – Create Quads

// // // //CREATE QUADS //create points (shared among prims) addpoint(0, {-150,0,0}); addpoint(0, {150,0,0}); addpoint(0, {-100,0,100}); addpoint(0, {100,0,100}); addpoint(0, {-150,0,200}); addpoint(0, {150,0,200}); int points[] = primpoints(0, 0); //create prims without