Hex engine example

Hi,



I’m trying to figure out how to create a hexEngine like the one you can find here:

advanced:light_and_shadow article



Seeing the selection box in the last picture, it seems it uses 6 Equilateral Triangles as surface and for each side 2 triangles.

Is this how we should draw each hex? Or is it best to draw a rectangle and 2 triangles on each side?



Regards,

Goowik

http://hub.jmonkeyengine.org/groups/graphics/forum/topic/custom-mesh-hex-and-texture-problem/

1 Like

Ok well I did look around the forums and used the search form but never found this article.

I know If I don’t lookup first I usually get that animated google search website. I feel stupid :frowning:



Thanks alot for the info! I can finally rest in peace :smiley:

1 Like
@goowikns said:
Is this how we should draw each hex?


Works best for me, but what do I know :P
1 Like