You would have to probably hack that Class (just copy and rename) and figure
out which part of buildRegularPolygon() to comment out or rewrite so that it
doesn't build the inside faces.

The down side is there will be some trial and error, and using that class
you with be wasting alot of space on your bitmap texture (if you use a
bitmap).

The good side will be when you figure it out, it won't take too long, and
you'll feel really proud of yourself :)

I remember I did the same with plane to make a hole in the middle, and it
couldn't have took more than an hour, and I had a class that did everything
I needed, since I customized it. It's also a good learning experience.

However this could possibly be done with one of the extrude methods, like
Segments extrude or Lathe, and might be worth trying those.

-Pete



On Fri, Oct 9, 2009 at 3:19 PM, Joseph <[email protected]> wrote:

>
> How would one create a RegularPolygon plane primitive with hole in the
> center as shown?
>
> http://www.vespan.com/gengon_w_hole.jpg
>
> I've been creating RegularPolygon plane primitives but not quite sure
> how to put a hole in the center ... any ideas?
>
> -Joe




-- 
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

Reply via email to