Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, Quad, EternallyCurious, 1 invisible), 726 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
hex map rendering #447455
12/12/14 22:35
12/12/14 22:35
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline OP
Expert
sivan  Offline OP
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
Hi!

I am currently examining the possibilities of using a hex map for a turn based strategy game. It would have some advantages over a square grid map I use in my RTS system. For conversions I found a good enough source: www.redblobgames.com/grids/hexagons/

The hex terrain height should be run-time deformable. I have 2 ideas:

- build up the map from smaller models containing several hexes, vertices are at hex middle and the 6 corners, and touching vertices of neighbouring models are snapped together (maybe lod, distance clipping, and restricted camera view can help performance);
- make it from a hmp terrain (or a model with similar regular grid), and shift vertices on x or y axis row by row increasingly by ent_g/setvertex (maybe causes terrain chunk errors or bad terrain lod), in this case vertices should be at hex middles (lower vertex resolution possible) and finally the regular grid is distorted into little rhombuses. It seems to be more easily manageable than the previous.

What do you think, is there any better practice with 3dgs to solve it effectively?

Thanks.


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: hex map rendering [Re: sivan] #447465
12/13/14 12:22
12/13/14 12:22
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline OP
Expert
sivan  Offline OP
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
okay, nevermind, it would cost too much effort, modifying my existing grid system developed for RTS seems to be a perfect and fast solution. laugh


Free world editor for 3D Gamestudio: MapBuilder Editor

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1