High Fidelity/Eroded Terrain

Discuss modding questions and implementation details.
User avatar
Nystul
Posts: 1033
Joined: Mon Mar 23, 2015 8:31 am

Re: High Fidelity/Eroded Terrain

Post by Nystul » Fri Sep 15, 2017 11:13 pm

I know how to make the new heightmap work with the game and the distant terrain mod in theory but it is quite a bit of work.

As mentioned earlier it will use the heights for the gameworld but texturing will be the same as now. distant terrain resolution will still be 1000x500 and use the average height value for a map pixel from the detailed heights. It should look ok I think. Near terrain will use the full resolution of the height map.

One further thing is water regions. If they don't match exactly locations will end up in water. Furthermore lakes also have to be at sea level to get water texture. There is currently no possibility to "raise" the level of a lake

User avatar
Freak2121
Posts: 9
Joined: Fri Sep 08, 2017 6:14 am

Re: High Fidelity/Eroded Terrain

Post by Freak2121 » Fri Sep 15, 2017 11:51 pm

Nystul wrote:One further thing is water regions. If they don't match exactly locations will end up in water. Furthermore lakes also have to be at sea level to get water texture. There is currently no possibility to "raise" the level of a lake
I'm afraid that would just make the landscapes look like the surface of the moon and look completely out of place. I was hoping maybe it would be possible to have a separate map that defines the locations of lakes, which is something I can provide.

In regards to it being a lot of work, there's no rush, man. It's your choice, take it as easy as you can. :)

User avatar
Nystul
Posts: 1033
Joined: Mon Mar 23, 2015 8:31 am

Re: High Fidelity/Eroded Terrain

Post by Nystul » Sat Sep 16, 2017 8:18 am

A water map would be a thing but one would have to dig much deeper in code to make it work. Will take significantly longer to get this working

don't get me wrong - I also want to improve terrain as much as possible, but I am writing here of what I am capable of doing. Maybe there are people with more skill/time out there for whom it is just a piece of cake ;)

BadLuckBurt
Posts: 4
Joined: Sun Nov 05, 2017 8:30 pm

Re: High Fidelity/Eroded Terrain

Post by BadLuckBurt » Wed Nov 08, 2017 10:49 am

I have created three different versions of the noise map without the grid. They all yield something reminiscent of the vanilla Daggerfall terrain but I'm missing the local noise from the engine and the horizontal scale is 164 meters. Follow the link below to find the images and the equations I used.

https://imgur.com/a/WSALY

The two third origin | one third adjacent one seems to yield the best result but it's hard to judge in L3DT, the soldier figure it uses in the 3D view to give a sense of scale is tiny when I put the vertical range to 2048 meters.

I loaded the two third origin version into Photoshop and scaled it up to 10240x5120 while in 16-bit greyscale mode using the bl-linear smooth setting. Imported that into L3DT and it looks kinda nice, I wouldn't mind running around in this, the shots don't do it justice but still thought I'd share:

https://imgur.com/a/GFi3u

I did spot major issues in the swamp area but didn't take any screenshots of it. I was walking there today in vanilla Daggerfall and noticed a lot of square depressions and little to no elevation, scaling it up amplified those areas on my version and now it looks like an 8 bit map over there.

However, the noise in vanilla is definitely tied to the climate / ground textures so I'm going to adjust my script at some point to take those values into account. Right now, the noise is mostly going up in height.

Once I have sort of definitive version, I'm going to scale that up and use it as a base to try and make a replacement map

On a sidenote, I would love to plug this stuff into DF Unity to get a better sense of scale but I currently lack the knowledge and experience. I had a look at the source code for the terrain sampler and while I understand part of what I'm reading, I wouldn't know how to go about replacing it yet.

Post Reply