Heightmap doesnt work

Discussion in 'Content Creation' started by Leet34, Mar 21, 2015.

  1. Leet34

    Leet34
    Expand Collapse

    Joined:
    Aug 8, 2013
    Messages:
    236
    Im having an issue that whenever I import a heightmap, it only loads a flat plane. Any solution ?
     
  2. Binkey

    Binkey
    Expand Collapse

    Joined:
    Aug 31, 2012
    Messages:
    297
    I am having this same issue, I'm doing what everyone else said to do, but when I try to import it, it's basically flat. And I did change max height for it not to be flat but it has to be set to like 99999 and it looks like really jagged. There might be a simple solution to this, but I haven't made a map since before the new update. Any help would be appreciated.
     
  3. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,656
    Set the 'Height' to something more appropriate (200-500)..
    Make sure your heightmap image is a PNG file (16bit is better)
     
  4. Binkey

    Binkey
    Expand Collapse

    Joined:
    Aug 31, 2012
    Messages:
    297
    Thanks for the help, but the heightmap is still flat. Is there an issue with my heightmap? I created it from terrain party.
    beamngheightmap.PNG beamngheightmap2.PNG heightmap.png
     
  5. Aboroath

    Aboroath
    Expand Collapse

    Joined:
    Aug 25, 2013
    Messages:
    3,807
    Looks like Torque is seeing and importing the map okay? What program are you making the height map with?
     
  6. Binkey

    Binkey
    Expand Collapse

    Joined:
    Aug 31, 2012
    Messages:
    297
    I used the website called terrain.party which automatically creates a heightmap from a place in real life. I am thinking that this is probably the issue.
     
  7. Aboroath

    Aboroath
    Expand Collapse

    Joined:
    Aug 25, 2013
    Messages:
    3,807
    I would imagine any heightmap in .png format would work but perhaps that site is doing something with the file format
    that Torque doesn't like. Sounds like a cool site, been wanting to do real location height maps.
     
  8. Akuma888

    Akuma888
    Expand Collapse

    Joined:
    Dec 28, 2013
    Messages:
    24
    Im having this same issue, my terrain always ends up flat no matter the number, im using L3DT
     
  9. Occam's Razer

    Occam's Razer
    Expand Collapse

    Joined:
    Aug 7, 2013
    Messages:
    1,055
    This may be of assistance: http://earthexplorer.usgs.gov/

    It will probably require a DEM-capable program like QGis, though.

    Edit: Yeah, here's a 30-meter SRTM capture from some place in Utah, conveniently sized to 1024x1024:
    UTAH_30.png
     
    #9 Occam's Razer, Jul 6, 2015
    Last edited: Jul 6, 2015
  10. pickle330

    pickle330
    Expand Collapse

    Joined:
    Oct 2, 2013
    Messages:
    183
    This website is really neat! But I can't import the heightmap because it's not in the power of two size...

    How can I change the size of the heightmap to fit? If the setting is in-game, then I don't remember, haven't done any map making for a bit.

    My other heightmap works though.

    EDIT: Does this USGS Earth Explorer have the ability to create heightmaps? I can't figure out...
     
    #10 pickle330, Jul 6, 2015
    Last edited: Jul 7, 2015
  11. Aboroath

    Aboroath
    Expand Collapse

    Joined:
    Aug 25, 2013
    Messages:
    3,807
    Thanks Occam! I just fired up L3TD for the first time in months and am going to try a heightmap and see if I can replicate
    the issue.
     
  12. Binkey

    Binkey
    Expand Collapse

    Joined:
    Aug 31, 2012
    Messages:
    297
    I'm glad you guys are getting inspired to remake places in real life in BeamNG. Could somebody try using my heightmap (or any heightmap) and see if it's also coming out flat for them? Just want to know if it's just my issue or it's a different issue before I reinstall the game, I have terrible internet so it might take a while.
     
  13. burilkovdeni

    burilkovdeni
    Expand Collapse

    Joined:
    Aug 21, 2014
    Messages:
    1,165
    If you want I can try and use your height map to see if the same issue happens.
     
  14. Binkey

    Binkey
    Expand Collapse

    Joined:
    Aug 31, 2012
    Messages:
    297
    Thanks, I forgot how helpful this forum is!
     
  15. burilkovdeni

    burilkovdeni
    Expand Collapse

    Joined:
    Aug 21, 2014
    Messages:
    1,165
    Post link here or PM me.
     
  16. Binkey

    Binkey
    Expand Collapse

    Joined:
    Aug 31, 2012
    Messages:
    297
    I posted the heightmap further up in this thread. It's the black and white one titled "heighmap".
     
  17. burilkovdeni

    burilkovdeni
    Expand Collapse

    Joined:
    Aug 21, 2014
    Messages:
    1,165
    Left :This is what happens when I import Blinkey's height map.

    Right :This is what happens when I import Ocam Razor's height map.
     

    Attached Files:

    • 2015-07-06_00014.jpg
    • 2015-07-06_00015.jpg
    #17 burilkovdeni, Jul 7, 2015
    Last edited: Jul 7, 2015
  18. Binkey

    Binkey
    Expand Collapse

    Joined:
    Aug 31, 2012
    Messages:
    297
    Ya, that's what happens with me too. I think there's an issue with my heightmap for some reason.:confused: Thanks for your help though!
     
  19. pickle330

    pickle330
    Expand Collapse

    Joined:
    Oct 2, 2013
    Messages:
    183
    I tested your heightmap, and it was just flat. So like you said, something's wrong.

    My older heightmap works fine. My new one from this website isn't the right size so I can't test it. Anyone know how to change the size?
     
  20. Binkey

    Binkey
    Expand Collapse

    Joined:
    Aug 31, 2012
    Messages:
    297
    Go into a photo editing software like paint or gimp etc. and change the change the image size to a power of 2. 512,1024 etc.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice