I’m trying to create a landscape using GIS and LIDAR data but when I bring the rivers in they are slightly off, either going through the ground or off to one side.
What is the best way to get them in the right place ? Do I need to just move all of the segments by hand?
I was wondering if there is someway to use a fluid system like in 3d programs where I could just make water flow down the correct places or does it have to be a spline ?
I’m quite new to UE4 so i’m not sure if i’m just missing something obvious!
Hi!
It depends, Before importing did your landscape and rivers have the same origin point/transform?
If the rivers transform before importing was offset from world origin then when importing they would not have lined up.
Or are you using ue landscape system for the landscape? As in importing a heightmap for the terrain? If yes, then make sure that the intended scale for the landscape matches the scale the rivers where made for or the other way around.
A fluid system for the terrain as what you would have in modeling software? A baked simulation type? We are starting to get some realtime fluid simulation in the engine but they tend to be smaller scale experimental features very heavy on performance. There is the option to prebake a fluid simulation in your external software and then importing them as an alembic file and running the prebaked simulation using geometry cache( experimental still i think) But at this large scale i couldnt say how heavy it would be depending on the length of the cached animation.
Normally what you would see most people do is indeed using a landscape with splines on top of them. Using runtime virtual textures and landscape splines you can have the spline points deform the landscape around them so nothing would poke through. And using some river shader to automatically set parts of the river to flow faster depending on spline angle.
Hope some of this info is of use to you.
I’m honestly not sure, I brought them in as vector data from QGIS using the Terraform pro plugin! I think it might be an issue with the river lines having been drawn from top down on a satellite view and they just don’t 100% match up with the landscape in 3D.
Ah okay good to know, I wasn’t sure if I could just pour the river down the mountain and call it a day haha
I’m trying to keep the landscape without deforming it so there is higher accuracy and since some of the rivers are in the wrong place they’re gonna mess with the landscape a bit too much! I guess I will just have to move everything by hand!