ICE modeling: Building a polygonal description


In this video, I use a simple example (a 2×2 grid) to show one approach to building up a polygonal description array.

A polygonal description array is an array of vertex indices that looks something like this:

0 3 4 1 -2 1 4 5 2 -2 3 6 7 4 -2 4 7 8 5 -2

where the “-2” is a separator between polygons.

If you’re interested, the corresponding scene is here.

hat tip to Guillaume Laferriere for the Index Array to Select Case technique.