Forums > Jitter

3D shape capping

Dec 03 2012 | 5:52 pm

I was wondering if someone could offer some advice on how to render the intersection between a 3D-polygon (possibly concave) and a plane. That is to say, I want to draw the area of the plane that is inside the polygon in a different color from the area outside.

Help much appreciated!


Dec 04 2012 | 7:28 pm

hey sam.
probably easiest way to do this is with textures.

you can capture the shape to a texture, and use that with something like, to determine which color to paint the plane.

-- Pasted Max Patch, click to expand. --

Dec 04 2012 | 7:37 pm

if you want to go the geometry route, distance functions might allow you to perform boolean operations.
check out my reply here:

Dec 05 2012 | 5:31 am

Hey Rob,

So unfortunately while what you sent me is pretty cool, it’s not quite what I’m looking for. I was really hoping for something more like a cross section than simply projecting the object down onto a surface.

This thread seems to describe pretty well what I want to do, along with what looks like a solution.

The only downside is that it involves a lot of openGL wizardry that I don’t really know how to approach in Max.

Any thoughts?

Dec 06 2012 | 9:55 pm

ah, yes. significantly more complicated.
i will have to defer to andrew b or wes for this one.
sorry sam!

May 24 2013 | 8:11 pm

Hi Sam,

Did you (or anyone else) get anywhere with this? Very curious to hear what you learned.

Viewing 6 posts - 1 through 6 (of 6 total)

Forums > Jitter