VEX – Rotate Points
// // // //Rotate Points in XZ-Plane vector rotAxis = set(0,1,0); // Set rotation axis to Y (we’re working on ‘2D’ here) vector N = set(1,0,0); //set Normal to x
Technical Art & Games
// // // //Rotate Points in XZ-Plane vector rotAxis = set(0,1,0); // Set rotation axis to Y (we’re working on ‘2D’ here) vector N = set(1,0,0); //set Normal to x
// // // //Assign random colors points or primitives float r = random(@ptnum+1); float g = random(@ptnum+2); float b = random(@ptnum+3); @Cd = set(r, g, b);
VEX – Get number of points pr primitive … Continue readingVEX – Get number of points pr. primitive