evanw/csg.js — Issue #5: b.inverse().union(a) example in more.html
Author: jceddy
Created: 2012-01-03 21:26:24+00:00
State: open

Noticed that the image labeled "b.inverse().union(a)" in the more.html page is actually generated by "a.subtract(b)" and that the former (b.inverse().union(a)) doesn't actually work because this "inverted solid inside another solid" gets all polygons eliminated in the first two clipTo() calls in union().

I think I understand why this happens (because both solids are completely "behind" the bsp node plane(s) of the other solid?? [correct me if I'm wrong]). Is this just a fundamental issue of the way the operations are set up, or do you think there's a fix?