View Full Version : Dirty closed loop fill-in?

06-28-2006, 10:08 AM
Hi Guys

I have a series of vertex points that basically form a closed loop. The closed loop is not planar.

I need to 'fill in' the area inside the closed loop.

Any ideas on a quick and dirty way to do this?

In reality the area would best be closed by a nurbs surface but I don't need that level of accuracy.

I basically have a box and just need to 'close off' the non planar end so I have a closed volume

Thanks for any input



06-28-2006, 01:55 PM
Quick and dirty? Create a fan from one vertex to every other vertex in the loop.

06-29-2006, 04:07 AM
The red book has an example on using the stencil buffer to fill a concave polygon...

06-29-2006, 05:24 AM
Hey thanks guys....

I'm on it

Top tips :-)