Announcement

Collapse
No announcement yet.

ASCII Grid to heightmap for UE4?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    ASCII Grid to heightmap for UE4?

    I've found some files from Finland to make heightmap for UE4 but i am not sure how to do it or what file types to use. I heard that ASCII is best filetype for heightmap but not sure how to convert it to heightmap to use for UE4.

    #2
    Terresculptor will proces ASC DEM files intp 16bit PNG Tiles in UE4 sizes.
    http://www.demenzunmedia.com/home/tsfeatures/

    Paul G

    Comment


      #3
      Originally posted by Sly401 View Post
      Terresculptor will proces ASC DEM files intp 16bit PNG Tiles in UE4 sizes.
      http://www.demenzunmedia.com/home/tsfeatures/

      Paul G
      I tried Terresculptor but didn't get any data from the ASC.

      Comment


        #4
        Hi
        I use asc data all the time with Terresculptor, it may be that the header file is not what the program is looking for.
        Here is a copy of a typical header
        ncols 500
        nrows 500
        xllcorner 446000
        yllcorner 377000
        cellsize 2
        NODATA_value -9999

        (Followed by the 500 x 500 height data matrix)

        Paul G



        Comment


          #5
          My copy of the finland map header:

          ncols 3000
          nrows 3000
          xllcorner 434000.000000000000
          yllcorner 7152000.000000000000
          cellsize 2.000000000000
          NODATA_value -9999.000

          I am so noob with heightmaps and ascii grids so could you make a fast tutorial if i can make this work then?
          when i import that to terresculptor i get this:
          Click image for larger version

Name:	asdasd.PNG
Views:	490
Size:	404.8 KB
ID:	1700573
          Last edited by MrJuhis; 12-20-2019, 06:01 PM.

          Comment


            #6
            And i realised that my ascii looks a bit different than blank heightmap that i exported from terresculptor. (Left side is my finland heightmap and right is the blank heightmap from terresculptor.)
            Click image for larger version

Name:	asdadda.PNG
Views:	450
Size:	177.8 KB
ID:	1700579

            Comment


              #7
              You don't need to export an Asc from terresculptor,
              I see your asc data is 2m resolution and there are 3000 rows/ columns
              This will give you a terrain size of 6KM squ

              In terresculptor make UDK landscape sizes option
              Start new project with landscape size of 6097 x 6097 (UDK)

              Bring your ASC data into terresculptor
              Resample to 6097 x 6097 (these are UE4 landscape sizes)
              Export as 16 bit PNG Greyscale
              Use the PNG directly in UE4 Landscape editor

              Paul G

              Comment

              Working...
              X