Check out the demo running live here
Plugin version for Unreal Egine 5 UnrealMapboxBridge
Get Help here Discord Server
For what is coming next check the RoadMap
Other free Unreal projects
https://github.com/delebash/unreal_vault_organizer
npm install
npm start
NOTE: When running the development server you will need to disble cors for your browser or the api calls to Mapbox will not work. For Edge/Chrome there is a good plugin that I use to do this. See https://microsoftedge.microsoft.com/addons/detail/cors-unblock/hkjklmhkbkdhlgnnfbbcihcajofmjgbh
npm run build
When you initially run the application you will have to set some data.
Settings Tab
-
Enter a mapbox access token under the Settings Tab in the Mapbox Access Token File field
To get an access token you can create a free mapbox account. Then goto your account page and copy the default access token or create a new one.
-
Choose a download directory from the Settings screen.
-
Click the Save Settings button
Map Tab
Left click and hold to drag around the map Right click and hold to change the angle of the map
Scroll wheel to zoom in out
Game keys for navigation are also enabled WSAD
Type in a name or coordinates in the search box
Left click on the tile square you want to select. It will turn blue when selected.
You will see a preview of what the heightmap will look like as well as some statistics.
Click the download button to download the selected tile 16 bit heightmap file.
Select Terrain size youu want to use for your Unreal Landscape size.
The Scale number is correct but may look large in Unreal. You might want to use a different scale number when you import into Unreal.
Manually resize method if you want to edit your hegitmap in a photo editor
Convert image to Unreal Landscape Size
See Unreal Recommended Landscape Sizes here
Resizing/Resampling an image for Unreal Landscapes has been added to the software. Just select your Landscape size before you download your heightmap. As an alternative to resizing in the application you can use other software to resize to custom sizes.
Programs you can use to resample your image to the landscape size you are using.
GIMP, Affinity Photo, Photoshop. Terra Sculptor -- is an awesome free program for creating and manipulating heightmap images. It even has preset landscape sizes for Unreal. To enable UDK go to Settings > Dimensions and check UDK Landscape.
The principle is the same for all.
Example: GIMP
-
Choose File > Open then open the sixteen-x-x-x.png file for the tile you selected. The numbers indicate the selected tile.
-
Choose Layer > Scale Layer
-
Type in the width and height (should be the same as in height: 2017 width: 2017)
-
Set the Interpolation to NoHalo and click Scale
-
Choose File > Export as and name your converted file.
-
On the popup dialog box named "Export image as PNG" leave all defaults and click Export.
Import the heightmap into Unreal per normal procedure. You will need to adjust the Z-scale to the Z-scale shown on the app.
Example imported landscape standing on top of Mt. Rainier
Inspired by and some code used from this project. A Big thanks to Shane Brennan (colkassad).