Skip to main content

Extending GeometryArray or QuadArray to produce complex shapes

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2011-11-20

Hi all,

I'm new to Java3D. I am trying to create a 3D game which has hexagonal tiles. In order to do this, I need to create hexagonal polygons. I know I can do this by using two quadArrays (two trapezoids joined at the base) but it seems like an inefficient idea. Is there a way to create my own HexArray class? If so, can you hint as to how to do this?



Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2011-11-22

Can using class GeometryInfo to hold a polygon be part of meeting your need? You could make a class that returns a Shape3D that way. PH