Looking for z-buffer CSG rendering library

Hi, I have been trying out different CSG libraries like Manthrax, SB, and Manifold for a few days and want to explore z-buffer rendering algorithms like Goldfeather or SCS.

Are there any CSG libraries that implement a z-buffer rendering technique?

I recently played with an example page which had a checkbox in the top right that said “force goldfeather”, but cannot find that project in my browser history unfortunately.

I have bookmarked this post: Manthrax CSG library update: now 20% faster, and using BufferGeometry internally - #3 by manthrax
which I will end up referring to and trying to work with if there are no other options.

Thanks

I don’t know what…

is, but there’s GitHub - gkjohnson/three-bvh-csg: A flexible, memory compact, fast and dynamic CSG implementation on top of three-mesh-bvh

techniques that use z buffer or stencil buffer to display CSG in realtime (but doesn’t actually create the CSG’ed geometry. purely a screenspace effect.)

Like this: https://codesandbox.io/p/sandbox/scs-csg-subtraction-webgl-forked-e3chs

4 Likes

Thank you both for your responses. I will take a shot at adapting that sandbox code to my project.

1 Like