Addon for clipping mesh vertices by various geometries, on CPU or GPU.
README
ofxClipPCL
You can clip your mesh vertices by various geometries using CPU/GPU.
For CPU example, see example-gizmo. It depends also on ofxImGui and ofxImGuizmo.
For GPU example, see example. I recommend using this with ofxComposableShader. It makes it easy to combine multiple shader objects in one ofShader so you can write your shader code separated from clipping functionality.
ofxAddons