What do you do with the json and .raw file that is generated? How do you create a 16 bit grayscale png file from them to be used as a heightmap? This is what Unreal Engine uses.
Mapper creates a file in the ".raw" format, which contains 16-bit height data. It does not output a .png file. Unreal (as far as I know) can import .raw files.
The .json file is the save file that allows you load the exact same coordinates, output size, etc in case you need to regenerate the heightmap at a later time. This file can be saved in your documents folder, the VCS repo for your game, or anywhere else
Mapbox calls the API key an "Access Token". The same access token is used for Vector and Raster API, which is what Mapper uses. I believe you get an access token with some free usage just by signing up with Mapbox
← Return to tool
Comments
Log in with itch.io to leave a comment.
Great idea, but the API key requires card information to obtain - are there any alternative sources of the height data?
What do you do with the json and .raw file that is generated?
How do you create a 16 bit grayscale png file from them to be used as a heightmap? This is what Unreal Engine uses.
Mapper creates a file in the ".raw" format, which contains 16-bit height data. It does not output a .png file. Unreal (as far as I know) can import .raw files.
The .json file is the save file that allows you load the exact same coordinates, output size, etc in case you need to regenerate the heightmap at a later time. This file can be saved in your documents folder, the VCS repo for your game, or anywhere else
Which API key?
Mapbox calls the API key an "Access Token". The same access token is used for Vector and Raster API, which is what Mapper uses. I believe you get an access token with some free usage just by signing up with Mapbox