I am brand new to Three.js (or javascript in general). I’ve been prototyping a tool (not in JS) that will section a 3D model and produce a 2D representation of the cross-section. I am thinking I would like to put this on a website, so that is how I stumbled on Three.js.
I don’t have any example (yet). but I would probably use a second camera, probably orthographic, with a near and far of 1 unit, and render to an adjacent canvas.
Why not sharing a simple example of the approach you used? Not my case, at least not yet, but it could be useful for others looking for the same thing. Three.js is already complicated as it is despite its aim to simplify 3D graphics in the browser, lots of updates that change things and break backward compatibility by making good code becoming obsolete very fast, so such a forum should be also about giving back, not just taking in, considering the scarcity and volatility of the available information on doing one thing or another.