Fill a mesh with solid materials

how i can fill a mesh with solid materials, for example the inside of an STL file?

i mean fill in the empty space with solid materials after using clipping planes.

Like so?


You can already do this now with the stencil test but it might be easier if the following PR gets merged. The screenshot is from the new example the PR adds.


yes like this, what about PR get merged examples

Caps are rendered with sharp pixels. Anti-aliasing does not seem to work. Specifying antialias:true on WebGLRenderer is not enough.

Is there any way of doing this?

It seems the owner of the PR already posted an answer on your question: