diedir Posted December 22, 2023 Share Posted December 22, 2023 Hi Josh, Do you plan exporting- importing heightmap terrain ? It would be much (much...) easier to paint a 16.raw map with external software. I need to reproduce real terrain, this feature would be a must! thank you Quote AMD Ryzen 5900HX - Nvidia RTX 3070 - 32 Go - 1To SSD - W11 Link to comment Share on other sites More sharing options...
Dreikblack Posted December 22, 2023 Share Posted December 22, 2023 You can import heightmap https://www.ultraengine.com/learn/Terrain_LoadHeightmap?lang=lua. idk how to get a world in editor console to do it there tho. Quote Link to comment Share on other sites More sharing options...
klepto2 Posted December 22, 2023 Share Posted December 22, 2023 In the editor: Create the Terrain with the specifc size eg: 512 * 512 Select the Terrain and choose the Terrain edit mode (the most left icon, where are also rotate and move controls) In the right view you now have an open Terrain-Tab where you can load or save a heightmap. If the heightmap is not visible there are some things to do. The heightmap imported might not match the dimonsions you have created the terrain with. If the scale is not high enough: Got to the Map-Tab Select the created Terrain Change the y-scale to something like 100.0 or 300.0 depending on your imported heightmap. Quote Windows 10 Pro 64-Bit-Version NVIDIA Geforce 1080 TI Link to comment Share on other sites More sharing options...
Josh Posted December 22, 2023 Share Posted December 22, 2023 There is a Load button in the terrain panel. You must have a terrain selected for it to know which terrain to apply the heightmap to. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
diedir Posted December 22, 2023 Author Share Posted December 22, 2023 ok thank you Josh Quote AMD Ryzen 5900HX - Nvidia RTX 3070 - 32 Go - 1To SSD - W11 Link to comment Share on other sites More sharing options...
Josh Posted December 22, 2023 Share Posted December 22, 2023 If you have any problems please upload the terrain heightmap you are using so I can try it. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Solution diedir Posted December 22, 2023 Author Solution Share Posted December 22, 2023 So after trying a lot: i made a terrain 2048 *2048 in editor and tried to import a *.r16 file : the file is not present (hidden) in the dialog box explorer *.raw file : file present in explorer dialog but result in failed to load in editor. then with code (lua) no problem for each file: it loads (though i think better result with r16 one) don't know why in dialog explorer r16 is not seen , so i put my file here (needed to rename extension because no allowed to upload *.r16 ), if you want to try (not a great elevation from 5m to 45m) Total_G_HM.r16.txt Quote AMD Ryzen 5900HX - Nvidia RTX 3070 - 32 Go - 1To SSD - W11 Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.