Remove point by condition

int condition = (@P.x > 0) ? 1: 0; // short form if() test // defines an integer of 1 or 0

if (condition){

removepoint(geoself(), @ptnum); // if true remove points


I just use it like this however, I dont know if having a less code would have for performance or not

if (@P.x > 0 ){

removepoint(geoself(), @ptnum);


2,165 views0 comments

Recent Posts

See All

New Job - Weta Digital

After more than 5 years working at MPC as Fx Td, FX Lead, Crosshow FX Lead and CG Supervisor two shows, I have decided to move forward to look for new adventures. Glad to be a part of this amazing stu