5E Product Walkthrough Playlist
Page 2 of 3 First 123 Last
  1. #11
    Alright, I figured it out by doing some math. I am going to post this so that other people can get some help with how to properly align Hex Grids.

    First you are going to need the length of one of the sides. You can make some number up if you are making a map from scratch, for my example I chose 30 pixels to be the side length for my hexagon. Next you are going to need to bust out a calculator and do the following calculations.

    Hexagon Height = 2 * sin(60) * Side Length
    Hexagon Width = Side Length + cos(60) * Side Length * 2 (Remember your order of operations!)

    When I use a side length of 30 pixels then I end up with a Hex Width of 60 and a Hex Height of 52. Plug those numbers into Hexographer and do a "Export Current Size as PNG Image". If you choose one that includes resize it is going to ignore the width/height we chose and use the default one it uses. Then you need to crop the image since it adds some extra bits on the sides usually and put it into Fantasy Grounds.

    After all that is done you can draw the hex grid as usual, and to make it easier to get the right size just expand it till you get the number equal to the height. So when I was drawing it the hex size was 52. Once that is done you just need to align the grids and it was perfect!

    https://dl.dropboxusercontent.com/u/...l%20Island.png

  2. #12
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,402
    Quote Originally Posted by 7H3LaughingMan View Post
    Alright, I figured it out by doing some math. I am going to post this so that other people can get some help with how to properly align Hex Grids.

    First you are going to need the length of one of the sides. You can make some number up if you are making a map from scratch, for my example I chose 30 pixels to be the side length for my hexagon. Next you are going to need to bust out a calculator and do the following calculations.

    Hexagon Height = 2 * sin(60) * Side Length
    Hexagon Width = Side Length + cos(60) * Side Length * 2 (Remember your order of operations!)

    When I use a side length of 30 pixels then I end up with a Hex Width of 60 and a Hex Height of 52. Plug those numbers into Hexographer and do a "Export Current Size as PNG Image". If you choose one that includes resize it is going to ignore the width/height we chose and use the default one it uses. Then you need to crop the image since it adds some extra bits on the sides usually and put it into Fantasy Grounds.

    After all that is done you can draw the hex grid as usual, and to make it easier to get the right size just expand it till you get the number equal to the height. So when I was drawing it the hex size was 52. Once that is done you just need to align the grids and it was perfect!

    https://dl.dropboxusercontent.com/u/...l%20Island.png
    Glad you got it working with a bit of maths!

    To simplify your two equations:

    Hexagon Height = Side Length * 1.73
    Hexagon Width = Side Length * 2
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  3. #13
    Zacchaeus's Avatar
    Join Date
    Dec 2014
    Location
    Scotland
    Posts
    20,799
    Quote Originally Posted by 7H3LaughingMan View Post
    Hexagon Height = 2 * sin(60) * Side Length
    Hexagon Width = Side Length + cos(60) * Side Length * 2 (Remember your order of operations!)
    This is why I gave up

    Quote Originally Posted by Trenloe View Post
    Hexagon Height = Side Length * 1.73
    Hexagon Width = Side Length * 2
    This I can deal with
    If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php

  4. #14
    Hey folks. I did a calculation of which combination of hexagon width and heights were closest to whole numbers. You can see the calcs here.

    https://docs.google.com/spreadsheets...it?usp=sharing

    But the best combinations are...

    97 height by 112 width
    265 height by 306 width
    418 height by 361 width

    I'm unsure how this affects file size. Hope this helps others in the future.

  5. #15
    sturtus's Avatar
    Join Date
    Feb 2010
    Location
    New Jersey, NYC
    Posts
    201
    Worldographer, the new Hexographer, does allow you to specify the width and height of your hexes.

    Edit: Setting 49 height and 56 width for row-based hexes created a FG friendly map.
    Last edited by sturtus; July 18th, 2018 at 18:48. Reason: added Worldographer dimensions

  6. #16
    Quote Originally Posted by 7H3LaughingMan View Post
    When I use a side length of 30 pixels then I end up with a Hex Width of 60 and a Hex Height of 52. Plug those numbers into Hexographer and do a "Export Current Size as PNG Image". If you choose one that includes resize it is going to ignore the width/height we chose and use the default one it uses. Then you need to crop the image since it adds some extra bits on the sides usually and put it into Fantasy Grounds.

    After all that is done you can draw the hex grid as usual, and to make it easier to get the right size just expand it till you get the number equal to the height. So when I was drawing it the hex size was 52. Once that is done you just need to align the grids and it was perfect!
    Excellent, I was having a heck of a time getting the hexes to be regular from Hexographer. This procedure worked finally for me except I swapped the hex height (60) and width (52) since I'm rolling with aligned hex rows instead of aligned hex columns. Thanks!
    Last edited by benjihad; February 8th, 2019 at 09:58.

  7. #17
    You can turn off the grid in Hexographer before export. that way it will export an image without the grid lines.
    Screenshot_1.jpg
    For support with any of my extensions, visit my #mattekure-stuff channel on Rob2e's discord https://discord.gg/rob2e

  8. #18
    Quote Originally Posted by mattekure View Post
    You can turn off the grid in Hexographer before export. that way it will export an image without the grid lines.
    True, but that defeats the purpose of what I'm doing with it. The method outlined above allows for keeping the grid lines in the original image generated by Hexographer 1.

  9. #19
    Now if only the hexes drawn by Fantasy Grounds weren't made out of fat jagged lines...

    I would really love it if you could set a grid (square or hex) and then make it invisible (leaving only the grid lines on the map image, or none.)
    Last edited by epithet; February 8th, 2019 at 18:24.

  10. #20
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,402
    Quote Originally Posted by epithet View Post
    I would really love it if you could set a grid (square or hex) and then make it invisible (leaving only the grid lines on the map image, or none.)
    Go vote for it: https://fg2app.idea.informer.com/proj/?ia=76187
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Character Create Playlist

Log in

Log in