boolean effect in jitter?

MRTN's icon

Hello! Sorry the maybe stupid question I wonder if there is a way to recreate the c4d boolean effect in maxmsp jitter. I have a patch in wich there are a lot of cubes and I wish that if they overlap themselves they create like a hole (really like the boolean in c4d).
Is there a way to do it? or maybe some tricks for make it anyway...?

thanks

martina

Jonny's icon

Would appear not, sadly :(

Rob Ramirez's icon
Max Patch
Copy patch and select New From Clipboard in Max.

if you can describe your shapes using distance functions, you can use jit.gen and jit.gl.isosurf to perform the boolean operation.
(i'm assuming this is the same as the subtraction operation described here: http://www.iquilezles.org/www/articles/distfunctions/distfunctions.htm )

Jonny's icon

Thanks Robert, that does work nicely in your patch, but my stuff is all layout out somewhat differently and i don't have time to rework it all - will just have to get by with my 50MB obj files and try and simplify them later! :)