Dirty cross Section tests (Patreon)
Content
I've been trying to build a x ray cross section type thing for a long time. My big problem was that I wanted it to be viewable from different angles, so just modelling a cross section wouldn't work.
I ended up using a material that looks at what side of the mesh its on, and either just displays a flat color, or displays the actual model.
Then if I use a the pixel location in relation to a given point, I can cut away half the mesh, and the flatcolor side looks like its filling in the empty space.
Its not quite perfect(also, this is just a really simple test model) but its definitely workable, and would just need some minor tweaks at this point.