Planetside Software Forums

General => Terragen Discussion => Topic started by: Daniil on November 03, 2017, 05:14:19 AM

Title: Classic Erosion plugin
Post by: Daniil on November 03, 2017, 05:14:19 AM
Hello,

I am pleased to present my new plugin for Terragen: Classic Erosion  (https://daniilkamperov.com/classic-erosion)

[attachimg=1 width=800]
Image courtesy of Ulco Glimmerveen

It is powerful heightmap-based erosion shader, simulating realistic fluvial and thermal erosion and also including rivers mode. Traditional heightmap-based approach allows fast rendering, unlike my procedural erosion shader.

[attachimg=2 width=800]
Image courtesy of Martin Huisman

[attachimg=3 width=800]
Image courtesy of Ulco Glimmerveen

[attachimg=4 width=800]
Image courtesy of Ulco Glimmerveen

Classic Erosion plugin is available for Windows as both free and commercial editions. Free version may be used only for non-commercial purposes, and has limited heightmap resolution. Commercial version is available for $25.

Sorry, no Mac version yet. As soon as Terragen SDK for Mac will be ready, I'll start to work at macOS version.

Detailed description and more picture examples are on my site: https://daniilkamperov.com (https://daniilkamperov.com)

Daniil.
Title: Re: Classic Erosion plugin
Post by: AP on November 03, 2017, 05:54:38 AM
Thank you very much for the work that went into this plugin.
Title: Re: Classic Erosion plugin
Post by: digitalguru on November 03, 2017, 06:03:46 AM
Looks great, does this output masks to shade the erosion? and what is the max height field limit for the free version?
Title: Re: Classic Erosion plugin
Post by: Daniil on November 03, 2017, 06:25:38 AM
Quote from: digitalguru on November 03, 2017, 06:03:46 AM
Looks great, does this output masks to shade the erosion? and what is the max height field limit for the free version?
Yes, plugin outputs masks into RGB channels, which can be split using "red/green/blue to scalar" functions.
Heighmap resolution is limited to 1024 in free version.

Daniil.
Title: Re: Classic Erosion plugin
Post by: Daniil on November 03, 2017, 06:30:12 AM
Besides maps, it also can be masked and controlled by other shaders. For example, here is how volcano can be created if to control erosion by simple shape shader:

[attach=1]

I haven't wrote user manual yet, but I'll try to describe in short how to use the plugin, possibly in this weekend.

Daniil
Title: Re: Classic Erosion plugin
Post by: AP on November 03, 2017, 07:32:26 AM
Is the procedural erosion shader no longer going to be developed?
Title: Re: Classic Erosion plugin
Post by: Daniil on November 03, 2017, 07:51:55 AM
Quote from: AP on November 03, 2017, 07:32:26 AM
Is the procedural erosion shader no longer going to be developed?
Well, in fact I did some research and development in procedural erosion (attached pics of procedural approach), but further development requires too much time and efforts. I still hope to return to it.
Title: Re: Classic Erosion plugin
Post by: mhaze on November 03, 2017, 08:20:52 AM
Thanks!  Bought it already, looks great.
Title: Re: Classic Erosion plugin
Post by: bobbystahr on November 03, 2017, 12:49:50 PM
Quote from: blinkfrog on November 03, 2017, 06:25:38 AM
Quote from: digitalguru on November 03, 2017, 06:03:46 AM
Looks great, does this output masks to shade the erosion? and what is the max height field limit for the free version?

Heighmap resolution is limited to 1024 in free version.

Daniil.

There's a paid version? News to me.
Title: Re: Classic Erosion plugin
Post by: DannyG on November 03, 2017, 01:16:52 PM
Awesome ! Nice work on rolling this out Daniil
Title: Re: Classic Erosion plugin
Post by: zaxxon on November 03, 2017, 04:42:46 PM
A nice addition to the Terragen toolset! I just purchased the plugin and look forward to trying it out. I was hoping that the procedural shader would allow for TG's vertical displacement capabilities to be mixed in with the erosion types, probably not the case with the heightmap  shader though? Thanks for your work on this and I'll look forward to additional releases!
Title: Re: Classic Erosion plugin
Post by: AP on November 03, 2017, 05:44:46 PM
Quote from: blinkfrog on November 03, 2017, 07:51:55 AM
Quote from: AP on November 03, 2017, 07:32:26 AM
Is the procedural erosion shader no longer going to be developed?
Well, in fact I did some research and development in procedural erosion (attached pics of procedural approach), but further development requires too much time and efforts. I still hope to return to it.

Alright, that is understandable. My other projects can wait as there are others to commit to.
Title: Re: Classic Erosion plugin
Post by: pokoy on November 06, 2017, 05:07:01 AM
Congrats on the release! Finally a fully-fledged erosion tool in TG, amazing!
Title: Re: Classic Erosion plugin
Post by: D.A. Bentley (SuddenPlanet) on November 07, 2017, 09:01:22 PM
This looks amazing Daniil!  I haven't seen anyone ask yet, but is a multi-threaded version planned for a future update?  Just curious.  ;)
Title: Re: Classic Erosion plugin
Post by: D.A. Bentley (SuddenPlanet) on November 07, 2017, 09:08:06 PM
Quote from: D.A. Bentley on November 07, 2017, 09:01:22 PM
This looks amazing Daniil!  I haven't seen anyone ask yet, but is a multi-threaded version planned for a future update?  Just curious.  ;)

Oops, sorry.  I was only in the beginning stages of the erosion process (watching my cores in Task Manager).  Looks like it is already multi-threaded!!!  Sweet!
Title: Re: Classic Erosion plugin
Post by: Daniil on November 08, 2017, 02:31:26 AM
Quote from: D.A. Bentley on November 07, 2017, 09:08:06 PM
Quote from: D.A. Bentley on November 07, 2017, 09:01:22 PM
This looks amazing Daniil!  I haven't seen anyone ask yet, but is a multi-threaded version planned for a future update?  Just curious.  ;)
Oops, sorry.  I was only in the beginning stages of the erosion process (watching my cores in Task Manager).  Looks like it is already multi-threaded!!!  Sweet!

Well, sampling stage is single-threaded at this moment, because I encountered some strange bugs when it is multi-threaded.
Good news that I've just fixed this, so in next update sampling stage will be multi-threaded too.

P. S. Thanks to all for your response. :)
Title: Re: Classic Erosion plugin
Post by: Daniil on November 10, 2017, 08:44:42 AM
Classic Erosion (http://daniilkamperov.com/classic-erosion) v1.0.2 beta

Changes:

- Sampling stage is multi-threaded now;
- Added new parameter "Outer displacement offset" in "Render" tab;
- Added "Mask as thermal erosion strength" checkbox in "Thermal" tab;
- Progress window behaves better and should not disappear after few seconds;
- Some tweaks of Rivers mode and Banks map.

"Outer displacement offset" adds possibility to set displacement offset to outer terrain if outer terrain isn't rendered. If outer terrain is off and some landscape has negative altitude then eroded heightmap is rendered below outer terrain (which has zero altitude). It can be workarounded (by adding positive offset to original landscape), but this parameter may be more handy.

"Mask as thermal erosion strength" checkbox allows to state if mask is applied to thermal erosion. In previous veriosn mask applied to thermal erosion too, but selectively - only in "Mask as rock softness" and "Mask as erosion strength" modes.

Also build for Terragen 3 is available now.
Title: Re: Classic Erosion plugin
Post by: Ariel DK on November 10, 2017, 11:17:26 AM
Quote from: blinkfrog on November 10, 2017, 08:44:42 AM
Classic Erosion (http://daniilkamperov.com/classic-erosion) v1.0.2 beta

(...)Also build for Terragen 3 is available now.


Thank you Daniil, your efforts and work are really much appreciated!
Title: Re: Classic Erosion plugin
Post by: mhaze on November 11, 2017, 05:10:30 AM
Thank you, I've had a lot of fun with this already, it's an excellent and really useful plugin. I have bought and installed the erosion plugin, where can I download the update plugin from?
Title: Re: Classic Erosion plugin
Post by: Daniil on November 11, 2017, 05:31:11 AM
I am sorry I didn't clarify that: you can download new version from the website (http://daniilkamperov.com), just press "Download free version" button, actually free and full versions are the same plugin, but full version is activated after registration. I plan to add dedicated "download" page later.

Daniil.
Title: Re: Classic Erosion plugin
Post by: mhaze on November 11, 2017, 11:16:46 AM
Cheers :)
Title: Re: Classic Erosion plugin
Post by: bobbystahr on November 11, 2017, 11:49:39 AM
Quote from: blinkfrog on November 11, 2017, 05:31:11 AM
I am sorry I didn't clarify that: you can download new version from the website (http://daniilkamperov.com), just press "Download free version" button, actually free and full versions are the same plugin, but full version is activated after registration. I plan to add dedicated "download" page later.

Daniil.

having a problem there Daniil, AVAST thinks it's a trojan and won't allow download. Could you perhaps package it as a .zip or .rar to get around that. The first time I tricked AVAST and saves as to a memory stick but it won't work any more.
Title: Re: Classic Erosion plugin
Post by: Daniil on November 11, 2017, 12:31:58 PM
Quote from: bobbystahr on November 11, 2017, 11:49:39 AM
having a problem there Daniil, AVAST thinks it's a trojan and won't allow download. Could you perhaps package it as a .zip or .rar to get around that. The first time I tricked AVAST and saves as to a memory stick but it won't work any more.

Thank you for the report. I'll add zip for downloading, probably tomorrow.
Is Avast really don't scan inside zip files? If it dislikes .exe, it probably blocks zip too.
Title: Re: Classic Erosion plugin
Post by: D.A. Bentley (SuddenPlanet) on November 11, 2017, 01:19:39 PM
To prevent anti-virus software from scanning inside archive file types, you can simply encrypt the file with a simple password like "openme".
Title: Re: Classic Erosion plugin
Post by: bobbystahr on November 11, 2017, 07:59:55 PM
Quote from: blinkfrog on November 11, 2017, 12:31:58 PM
Quote from: bobbystahr on November 11, 2017, 11:49:39 AM
having a problem there Daniil, AVAST thinks it's a trojan and won't allow download. Could you perhaps package it as a .zip or .rar to get around that. The first time I tricked AVAST and saves as to a memory stick but it won't work any more.

Thank you for the report. I'll add zip for downloading, probably tomorrow.
Is Avast really don't scan inside zip files? If it dislikes .exe, it probably blocks zip too.

As we found out .zip worked fine, thanks for making the effort Daniil.
Title: Re: Classic Erosion plugin
Post by: j meyer on November 20, 2017, 11:48:07 AM
QuoteAlso build for Terragen 3 is available now.

Thank you very much indeed.
Title: Re: Classic Erosion plugin
Post by: cyphyr on November 20, 2017, 12:02:23 PM
Great work and thank you very much. Small nudge on the procedural development ... ;)
Title: Re: Classic Erosion plugin
Post by: luvsmuzik on November 26, 2017, 09:37:50 AM
I successfully downloaded and installed free version and updates, then after purchase my virus software then detected and deleted the exe and zip. I opened TG and entered my registration code and it works fine, but is everything unlocked? It seems to work fine, but now that I have river beds, where is the water? Maps enabled RGB.
Title: Re: Classic Erosion plugin
Post by: Dune on November 26, 2017, 11:34:27 AM
You have to use the maps to mask a surface shader with a water shader as child.
Title: Re: Classic Erosion plugin
Post by: Daniil on November 27, 2017, 12:32:35 PM
Quote from: luvsmuzik on November 26, 2017, 09:37:50 AM
I successfully downloaded and installed free version and updates, then after purchase my virus software then detected and deleted the exe and zip. I opened TG and entered my registration code and it works fine, but is everything unlocked? It seems to work fine, but now that I have river beds, where is the water? Maps enabled RGB.
As Ulco wrote, you can use maps: for example, you can add Surface layer, add Water shader and connect it to Surface layer's child input, then you need to extract Water depth map (if Water depth is in Blue channel, you need to use "blue to scalar" node). Note that watr depth output is expressed in meters, so if you want to use it just for texturing, you need to add "Color adjust" node and set "White point" to a very low value, say, 0.01 - so you will get fully white map at 1 cm depth. Then you can connect this map to "Mask" input of water shader to get water texture.

Note that water is fully opaque. To get transparent water you need to use more complex setup, I plan to write a tutorial how to do that. (In short: you need to add a plane, or better sphere - exact copy of the planet, then texture it using Water shader, and also displace original planet using Depth map to restore true river bed).

Daniil.
Title: Re: Classic Erosion plugin
Post by: luvsmuzik on November 28, 2017, 06:55:06 PM
Thank you both, I hate to say this stuff is starting to make sense....
Title: Re: Classic Erosion plugin
Post by: Daniil on December 26, 2017, 01:09:18 AM
Merry Christmas!

I have some interesting features in development, but I think I'll defer adding them into the next update of Classic Erosion shader (there is some more work needed). But I want to release smaller update with bugfixes and masking mechanics fix at least, so I want to ask users of my plugin about this fix.

At this time masking by Surface layer of Distribution shader works, but it is inconsistent with other TG shaders and works different to them. It takes normal and terrain from Mask input branch, so, if you want to mask it by some slope or altitude selection, you need to:
1. Connect Distribution shader or surface layer to the Mask input.
2. Connect current terrain to Distribution shader.
3. (Optional for some cases) add Compute normal/terrain between the terrain and Distribution shader.
See the pic:
[attachimg=1]

I fixed masking and now it works similar to other TG shaders. You just need to:
1. Connect Distribution shader or surface layer to the Mask input.
2. (Optional for some cases) add Compute normal/terrain between the terrain and Classic Erosion shader.
So the normal/displacement is now taken from the main branch.
See the pic:
[attachimg=2]

(BTW this method has some disadvantages - distribution shader's preview doesn't work correctly. At least for me)

I think I should apply this fix in the next update, but it might requre some reconnecting in already existing projects. That is why I ask: what do you think?

Also I can apply the same fix for the Procedural Erosion.

Daniil.
Title: Re: Classic Erosion plugin
Post by: bobbystahr on December 26, 2017, 11:08:30 AM
Merry Christmas on Boxing day from me as well...I'd have to say move forward as for me there's nothing I've made with Classic so far that couldn't be better with an improved plug in...
If you're using the free version how does one find out about updates by the way?
Title: Re: Classic Erosion plugin
Post by: mhaze on December 27, 2017, 05:11:30 AM
Hi Danii,

I hope you have had an excellent Christmas.  I have two requests.  If it is at all possible, .bmp output of the maps for external, to TG, editing and a way to soften the edges of map output.

Keep up the excellent work.

Mick
Title: Re: Classic Erosion plugin
Post by: Daniil on December 27, 2017, 12:51:23 PM
Quote from: bobbystahr on December 26, 2017, 11:08:30 AM
If you're using the free version how does one find out about updates by the way?

Free version is actually the same as full, downloadable at https://daniilkamperov.com/downloads/ (https://daniilkamperov.com/downloads/).

Quote from: mhaze
I have two requests.  If it is at all possible, .bmp output of the maps for external, to TG, editing and a way to soften the edges of map output.

.bmp export is possible, I thought about it. Although some things must be thought through.
About edges - what do you mean? Boundary edges? Or the edges of features?

Daniil.
Title: Re: Classic Erosion plugin
Post by: mhaze on December 28, 2017, 06:23:34 AM
Edges of say a flow map.  They can be very hard when using them as masks for veg and fake stones.
Title: Re: Classic Erosion plugin
Post by: ajcgi on January 08, 2018, 09:08:58 AM
This looks like marvellous progress Daniil. Super excited to try this out soon, hopefully in production.
Title: Re: Classic Erosion plugin
Post by: René on January 08, 2018, 10:12:37 AM
I am happy to hear that there will be an osx version. :D
Title: Re: Classic Erosion plugin
Post by: D.A. Bentley (SuddenPlanet) on March 08, 2018, 03:30:36 PM
Hi Daniil,

Just wondering if any updates are coming soon.  Is the manual coming along?

Derek
Title: Re: Classic Erosion plugin
Post by: D.A. Bentley (SuddenPlanet) on March 13, 2018, 09:45:55 PM
Also there seems to be a bug with the Classic Erosion node.  When you disconnect it in the Node Network View TG4 consistently crashes.  So you have to constantly be very careful about how you are connecting the erosion node (very frustrating when experimenting).

Title: Re: Classic Erosion plugin
Post by: luvsmuzik on March 13, 2018, 10:07:17 PM
Quote from: D.A. Bentley on March 13, 2018, 09:45:55 PM
Also there seems to be a bug with the Classic Erosion node.  When you disconnect it in the Node Network View TG4 consistently crashes.  So you have to constantly be very careful about how you are connecting the erosion node (very frustrating when experimenting).

I have paid version and it had an update that fixed that....check you download and see if it is current?
Title: Re: Classic Erosion plugin
Post by: D.A. Bentley (SuddenPlanet) on March 13, 2018, 11:57:54 PM
I have the latest version from here:  https://daniilkamperov.com/downloads/#classic-erosion (https://daniilkamperov.com/downloads/#classic-erosion) which is 1.0.2 beta.

Is there something newer, or a patch?  If an email went out I maybe have missed it.

Derek
Title: Re: Classic Erosion plugin
Post by: Daniil on March 14, 2018, 01:55:18 AM
Quote from: D.A. Bentley on March 13, 2018, 09:45:55 PM
Also there seems to be a bug with the Classic Erosion node.  When you disconnect it in the Node Network View TG4 consistently crashes.  So you have to constantly be very careful about how you are connecting the erosion node (very frustrating when experimenting).
Hello Derek,
Sorry for delay, I haven't had any time last weeks. I don't remember exactly, I think I've fixed this bug in the last unreleased build. I'll try to release a public build with this and some other fixes this week.
Daniil
Title: Re: Classic Erosion plugin
Post by: Daniil on March 18, 2018, 02:22:39 PM
Hello,

here is 1.0.4 beta for TG4:
https://daniilkamperov.com/downloads/#classic-erosion (https://daniilkamperov.com/downloads/#classic-erosion)

TG3-version is still 1.0.2, I'll update it later. If someone wants to help me with testing TG3-version, please email me (support@daniilkamperov.com).

Changes include multiple bugfixes and new masking behavior, described here (https://planetside.co.uk/forums/index.php/topic,23759.msg242017.html#msg242017).
Now displacement for mask input is evaluated using main nodes branch (nodes connected to main CE-shader input), and not the mask nodes branch. Some older projects may require a little reconnecting. I could add a switch to select the masking behaviour, but I think it is better to always stay consistent to other Terragen nodes.

Daniil
Title: Re: Classic Erosion plugin
Post by: bobbystahr on March 18, 2018, 03:23:05 PM
thanks very much...off to install it across the room.
Title: Re: Classic Erosion plugin
Post by: WAS on March 19, 2018, 05:17:21 PM
What are the Height Map resolutions for this plugin? I notice for the free version (I'm I'm using currently) the Height Maps says its limited. It's set to 512, but can be bumped to 1024. Is this normal behavior and extended resolutions hidden, or is the limitation not working?

I also have been experimenting with this plugin and wonder, is it actually eroding terrain, or just applying predefined erosion based on height of the original terrain? I seem to have a bad habbit of similar shapes with completely different terrain. Still trying to figure out how to erode anything like anyone else. Lol
Title: Re: Classic Erosion plugin
Post by: luvsmuzik on March 19, 2018, 05:40:36 PM
Quote from: WASasquatch on March 19, 2018, 05:17:21 PM
What are the Height Map resolutions for this plugin? I notice for the free version (I'm I'm using currently) the Height Maps says its limited. It's set to 512, but can be bumped to 1024. Is this normal behavior and extended resolutions hidden, or is the limitation not working?

I also have been experimenting with this plugin and wonder, is it actually eroding terrain, or just applying predefined erosion based on height of the original terrain? I seem to have a bad habbit of similar shapes with completely different terrain. Still trying to figure out how to erode anything like anyone else. Lol

You have to assign the maps to RGB channels. I did it on surface layers assigning slope and altitude, etc...
Link for more details...blinkfrog general instructions with examples
https://planetside.co.uk/forums/index.php/topic,23764.msg240241.html#msg240241
Title: Re: Classic Erosion plugin
Post by: WAS on March 19, 2018, 06:03:12 PM
Quote from: luvsmuzik on March 19, 2018, 05:40:36 PM
Quote from: WASasquatch on March 19, 2018, 05:17:21 PM
What are the Height Map resolutions for this plugin? I notice for the free version (I'm I'm using currently) the Height Maps says its limited. It's set to 512, but can be bumped to 1024. Is this normal behavior and extended resolutions hidden, or is the limitation not working?

I also have been experimenting with this plugin and wonder, is it actually eroding terrain, or just applying predefined erosion based on height of the original terrain? I seem to have a bad habbit of similar shapes with completely different terrain. Still trying to figure out how to erode anything like anyone else. Lol

You have to assign the maps to RGB channels. I did it on surface layers assigning slope and altitude, etc...
Link for more details...blinkfrog general instructions with examples
https://planetside.co.uk/forums/index.php/topic,23764.msg240241.html#msg240241

It seems those are mainly for masking/coloring your erosion after it's finalized.
Title: Re: Classic Erosion plugin
Post by: luvsmuzik on March 19, 2018, 06:19:58 PM
Quote from: WASasquatch on March 19, 2018, 06:03:12 PM
Quote from: luvsmuzik on March 19, 2018, 05:40:36 PM
Quote from: WASasquatch on March 19, 2018, 05:17:21 PM
What are the Height Map resolutions for this plugin? I notice for the free version (I'm I'm using currently) the Height Maps says its limited. It's set to 512, but can be bumped to 1024. Is this normal behavior and extended resolutions hidden, or is the limitation not working?

I also have been experimenting with this plugin and wonder, is it actually eroding terrain, or just applying predefined erosion based on height of the original terrain? I seem to have a bad habbit of similar shapes with completely different terrain. Still trying to figure out how to erode anything like anyone else. Lol

You have to assign the maps to RGB channels. I did it on surface layers assigning slope and altitude, etc...
Link for more details...blinkfrog general instructions with examples
https://planetside.co.uk/forums/index.php/topic,23764.msg240241.html#msg240241

It seems those are mainly for masking/coloring your erosion after it's finalized.

Pretty sure it isolates the maps for either color or distribution. I hooked wear map into a complicated displacement setup as a mask and wear was only applied there. I also generally run Erode again after i set up the channels. The paid version has larger resolution maps, but even the 1024 is good.
Title: Re: Classic Erosion plugin
Post by: WAS on March 19, 2018, 07:23:23 PM
Quote from: luvsmuzik on March 19, 2018, 06:19:58 PM
Quote from: WASasquatch on March 19, 2018, 06:03:12 PM
Quote from: luvsmuzik on March 19, 2018, 05:40:36 PM
Quote from: WASasquatch on March 19, 2018, 05:17:21 PM
What are the Height Map resolutions for this plugin? I notice for the free version (I'm I'm using currently) the Height Maps says its limited. It's set to 512, but can be bumped to 1024. Is this normal behavior and extended resolutions hidden, or is the limitation not working?

I also have been experimenting with this plugin and wonder, is it actually eroding terrain, or just applying predefined erosion based on height of the original terrain? I seem to have a bad habbit of similar shapes with completely different terrain. Still trying to figure out how to erode anything like anyone else. Lol

You have to assign the maps to RGB channels. I did it on surface layers assigning slope and altitude, etc...
Link for more details...blinkfrog general instructions with examples
https://planetside.co.uk/forums/index.php/topic,23764.msg240241.html#msg240241

It seems those are mainly for masking/coloring your erosion after it's finalized.

Pretty sure it isolates the maps for either color or distribution. I hooked wear map into a complicated displacement setup as a mask and wear was only applied there. I also generally run Erode again after i set up the channels. The paid version has larger resolution maps, but even the 1024 is good.

Oh I see. Will have to give it some more testing. I've been thinking of trying to see if we can set aside money for the paid version but I use free TG4 so not sure if the benefits will be worth it. I rarely send of projects for full resolution renders, and my buddy I used to have render stuff is super busy and like helps run a town now and just simply isn't even on Skype anymore let alone Facebook. I think 1024 resolution probably works well within my quality restraints.

Seems the 1024 maps are more a basic shape-form to than apply your own stuff too for the free version.
Title: Re: Classic Erosion plugin
Post by: WAS on March 19, 2018, 08:04:24 PM
Here is an example of simplicity. Is this limitation due to the quality of the heightmaps or settings? I see nothing to ramp up flows. The flows are just huge, and rounded off, having little aesthetic use. They also seem to not follow the wear map very well, starting/ending further away from crease points.

In the second image, X's mark crease wear points, and the circles represent misaligned flow maps. The question marks are flows which just don't make sense (or missing).
Title: Re: Classic Erosion plugin
Post by: luvsmuzik on March 19, 2018, 08:16:19 PM
Are you wanting to do this?
https://planetside.co.uk/forums/index.php/topic,24021.msg242566.html#msg242566
Title: Re: Classic Erosion plugin
Post by: WAS on March 19, 2018, 08:20:46 PM
Quote from: luvsmuzik on March 19, 2018, 08:16:19 PM
Are you wanting to do this?
https://planetside.co.uk/forums/index.php/topic,24021.msg242566.html#msg242566

Similar yes, but more tropical than alpine. Rain wear rather than glacial.
Title: Re: Classic Erosion plugin
Post by: luvsmuzik on March 19, 2018, 08:32:46 PM
Quote from: WASasquatch on March 19, 2018, 08:20:46 PM
Quote from: luvsmuzik on March 19, 2018, 08:16:19 PM
Are you wanting to do this?
https://planetside.co.uk/forums/index.php/topic,24021.msg242566.html#msg242566

Similar yes, but more tropical than alpine. Rain wear rather than glacial.

Not sure what is going on with yours. I did a rivers with one lake example and it did okay. I did a lava flow one and it did okay too. I only had the beta and free version a couple of days before I went ahead and purchased it. I don't think that matters much though I am not sure. I am not an expert, but I do like to experiment.
Title: Re: Classic Erosion plugin
Post by: WAS on March 19, 2018, 08:49:36 PM
Quote from: luvsmuzik on March 19, 2018, 08:32:46 PM
Quote from: WASasquatch on March 19, 2018, 08:20:46 PM
Quote from: luvsmuzik on March 19, 2018, 08:16:19 PM
Are you wanting to do this?
https://planetside.co.uk/forums/index.php/topic,24021.msg242566.html#msg242566

Similar yes, but more tropical than alpine. Rain wear rather than glacial.

Not sure what is going on with yours. I did a rivers with one lake example and it did okay. I did a lava flow one and it did okay too. I only had the beta and free version a couple of days before I went ahead and purchased it. I don't think that matters much though I am not sure. I am not an expert, but I do like to experiment.

Huh. Yeah no matter what I do the flows map is just really primitive looking, and a lot of the map is so light it doesn't show in the actual terrain, and all flows intersect with round spots and end in round spots. Going to test on a SS shape in a moment.
Title: Re: Classic Erosion plugin
Post by: Daniil on March 20, 2018, 02:17:44 AM
Hello WASasquatch,
thank you for trying Classic Erosion.

Some answers to your questions:

1. Full version supports resolution up to 16384.

2. No, this algorithm doesn't use any predefined patterns. There is simulation only.

3. I am not sure what you want to achieve, so please excuse me if I am wrong. Are you trying to get usual eroded terrain? I can see you have enabled Rivers mode in the settings, this is very special mode which prevents usual fluvial erosion and is used for rivers generating only. So if you need just eroded terrain you should disable Rivers mode. If you want both fluvial erosion and rivers on the top of that you need to use two plugins in the chain, the first in usual mode, the second with rivers mode enabled.

Daniil
Title: Re: Classic Erosion plugin
Post by: WAS on March 20, 2018, 03:48:25 AM
Quote from: blinkfrog on March 20, 2018, 02:17:44 AM
Hello WASasquatch,
thank you for trying Classic Erosion.

Some answers to your questions:

1. Full version supports resolution up to 16384.

2. No, this algorithm doesn't use any predefined patterns. There is simulation only.

3. I am not sure what you want to achieve, so please excuse me if I am wrong. Are you trying to get usual eroded terrain? I can see you have enabled Rivers mode in the settings, this is very special mode which prevents usual fluvial erosion and is used for rivers generating only. So if you need just eroded terrain you should disable Rivers mode. If you want both fluvial erosion and rivers on the top of that you need to use two plugins in the chain, the first in usual mode, the second with rivers mode enabled.

Daniil

I think I understand a bit. I'm trying to get smaller eroded rivers. I also notice if you decrease the river side, the river map will break altogether and show nothing in the map (if you disable the rivers you'll get some sort of map, which is not the rivers map when flow is selected for map output, when selected it's blank) requiring the plugin to be deleted and remade.

It all seems a bit confusing and I'm not sure if it's the map resolution limitations or what but can't seem to make anything that is remotely like other peoples work. If that's the case, it's not a good evaluation of the plugin. I can't tell what I'm doing at limited scale to know if it would be applicable at large scale.
Title: Re: Classic Erosion plugin
Post by: Daniil on March 23, 2018, 03:11:51 PM
WASasquatch,
It seems I understand what you want. I think what you need is not permanent rivers, but channels that left after heavy precipitation. The difference is that "precipitation" rivers don't have any particular "start" as they are formed from the smaller streams which are just raindrops gathered together. These streams disappear after precipitation is ended, whereas "permanent" rivers usually start from some headwaters, for example, underground springs and flow permanently. Current rivers mode targets rivers from headwaters, and headwaters are placed randomly. That is why rivers are placed not exactly where you want - they flow from random headwaters.

As for rivers due to precipitation and channels that are formed by these temporary streams. Current erosion model doesn't suits well for this because of some physical simplifications, but you can still get some good results using specific settings.

Don't use Rivers mode (disable if enabled), you need "common" erosion.
You need to use low Duration (less than 0.25), low Erosion strength (less than 0.5) and high Downcutting (close to 1.0 or even higher). Use low Base level (or even zero) to get sharper channels, also you can to experiment with Random sedimentation parameter to add some randomness to channels, but this can result in worse results.

See attached image.

I've used these parameters:
Duration = 0.1 (you can try even lower values, say, 0.05, but sometimes you need to set Erosion strength higher in this case, or to use Downcutting that is higher than 1.0)
Erosion strength = 0.15
Softness = 1.0
Downcutting = 1.0
Base level = 0.12
Random sedimentation = 0.5
Also I've set Erosion scale parameter to relatively high value (1000), this sometimes can help.

Result is almost unmodified terrain but with channels that left from temporary streams, formed during heavy rains.

Daniil
Title: Re: Classic Erosion plugin
Post by: WAS on March 23, 2018, 03:44:43 PM
What I mean by precipitation erosion is something like Koolau in Hawaii

(http://cdn.onlyinyourstate.com/wp-content/uploads/2017/04/1.-Koolau-Mountains-700x464.jpg)

Constant precipitation flow has cut channels out of the mountain from peak to base. Though this is a bit more extreme an example than I intended. I was able to do something with maps that is somewhat close just wish the flows could be smaller, based on a scale or something.
Title: Re: Classic Erosion plugin
Post by: Daniil on March 27, 2018, 01:57:37 PM
WASasquatch,
Ah, ok. The word "rivers" distracted me.
To get deep cuts you need to use high values of Downcutting parameter. Hint: you can, and should use values higher, than 1.0, for example, 2.0, 4.0 or even 10.0 or 50.0. Deposition may look strange with these settings, to compensate this you can set high value of "Base level" parameter, I found that 0.4 from Downcutting is good, for example, Downcutting = 10, Base level = 4, but it requires more experimenting.
In the attached example I used these settings:
Duration = 0.2
Erosion strength = 1.0
Rock softness = 0.05 (to get thinner gullies and to change its distribution to emphasize the ones with more intensive flows)
Downcutting = 20
Base level = 8
Also I used quite aggressive thermal erosion here to make "walls" a bit more smooth and solid looking.

Daniil

P. S. I am pondering on making "Downcutting" parameter range wider, say, up to 10 or 20, and to make it non-linear and weighted towards lower values. It won't affect the behaviour and old projects compatibility, but will make using higher values easier. Possibly the same for Base level parameter.

P. P. S. Possibly I am wrong about  such high values of Base level. It requires experimenting, possibly it is better to start with 1.0, and then try higher values.
Title: Re: Classic Erosion plugin
Post by: WAS on March 27, 2018, 04:29:49 PM
Quote from: blinkfrog on March 27, 2018, 01:57:37 PM
WASasquatch,
Ah, ok. The word "rivers" distracted me.
To get deep cuts you need to use high values of Downcutting parameter. Hint: you can, and should use values higher, than 1.0, for example, 2.0, 4.0 or even 10.0 or 50.0. Deposition may look strange with these settings, to compensate this you can set high value of "Base level" parameter, I found that 0.4 from Downcutting is good, for example, Downcutting = 10, Base level = 4, but it requires more experimenting.
In the attached example I used these settings:
Duration = 0.2
Erosion strength = 1.0
Rock softness = 0.05 (to get thinner gullies and to change its distribution to emphasize the ones with more intensive flows)
Downcutting = 20
Base level = 8
Also I used quite aggressive thermal erosion here to make "walls" a bit more smooth and solid looking.

Daniil

P. S. I am pondering on making "Downcutting" parameter range wider, say, up to 10 or 20, and to make it non-linear and weighted towards lower values. It won't affect the behaviour and old projects compatibility, but will make using higher values easier. Possibly the same for Base level parameter.

P. P. S. Possibly I am wrong about  such high values of Base level. It requires experimenting, possibly it is better to start with 1.0, and then try higher values.
Great example of settings and explanation. Going to give some tests today.
Title: Re: Classic Erosion plugin
Post by: Daniil on March 28, 2018, 03:36:30 AM
Quote from: WASasquatch
Great example of settings and explanation. Going to give some tests today.

Hm. Possibly this was not very good example. I did some tests, and discovered, that if I set Downcutting to zero, result is still very similar. High value of Base level compensates Downcutting effect (I wrote that this requires more experimenting) and cuts are very similar. With downcutting they are just placed further in rock towards the mountain.

It's the shape of uneroded mountain that gives gullies this look, more specifically, this abrupt step: ¯\_. Erosive flows smoothen this step, generating deep gully even without downcutting. Downcutting just emphasises this effect, but it is important to set proper values of Downcutting and Base level.

Rock softness, Duration, Erosion strength (and Scale too) are responsible for the gullies shape.
Title: Re: Classic Erosion plugin
Post by: D.A. Bentley (SuddenPlanet) on April 30, 2018, 10:50:50 PM
Can I get some direction on how to create this kind of erosion:

https://planetside.co.uk/forums/index.php?action=dlattach;topic=23759.0;attach=76886;image (https://planetside.co.uk/forums/index.php?action=dlattach;topic=23759.0;attach=76886;image)

There are a lot of nice example of what Classic Erosion is capable of, but still no User Manual.  It would have been nice to get some example scenes along with a purchase of Classic Erosion.  Maybe it's not too late to provide some so we can learn some techniques to reproduce what was shown to market CE.  ;)

Derek
Title: Re: Classic Erosion plugin
Post by: WAS on May 01, 2018, 12:08:19 AM
Quote from: D.A. Bentley on April 30, 2018, 10:50:50 PM
Can I get some direction on how to create this kind of erosion:

https://planetside.co.uk/forums/index.php?action=dlattach;topic=23759.0;attach=76886;image (https://planetside.co.uk/forums/index.php?action=dlattach;topic=23759.0;attach=76886;image)

There are a lot of nice example of what Classic Erosion is capable of, but still no User Manual.  It would have been nice to get some example scenes along with a purchase of Classic Erosion.  Maybe it's not too late to provide some so we can learn some techniques to reproduce what was shown to market CE.  ;)

Derek

I've wanted to create similar for canyons. It seems like a basic SSS cut in the terrain and all Classic Erosion but I'm not positive about that at all. Perhaps a strata underneath?
Title: Re: Classic Erosion plugin
Post by: Dune on May 01, 2018, 01:21:54 AM
Martin did that one, and I think he used strata indeed and several 'iterations' of the erosion shader with quite high resolution settings.
Title: Re: Classic Erosion plugin
Post by: Daniil on May 02, 2018, 01:27:23 PM
I am working on user manual, but it still isn't ready, sorry for this.
As for .tgd-sources for pictures, I can't upload these as the most pictures (those that are the most impressive) aren't mine, they are created by very talented Terragen artists, namely Ulco and Martin. That canyon scene was created and rendered by Martin.

I can share my canyon, but it is quite mediocre, I am a poor artist.
I've attached .tgd scene and two renders (without and with thermal erosion).

I used powerfractal, fractal warp shader, strata shader, small powerfractal, one erosion layer and strata shader after it. As far as I know Martin used two erosion layers and also added powerfractal after erosion shaders for some additional details.

Daniil
Title: Re: Classic Erosion plugin
Post by: bobbystahr on May 02, 2018, 01:31:25 PM
Thanks for the demo scene Daniil, will study this.
Title: Re: Classic Erosion plugin
Post by: D.A. Bentley (SuddenPlanet) on May 02, 2018, 01:38:16 PM
Thanks Daniil!  That's just what I needed!!!  :)
Title: Re: Classic Erosion plugin
Post by: luvsmuzik on May 02, 2018, 01:54:12 PM
Thanks again!  :)
Title: Re: Classic Erosion plugin
Post by: WAS on May 02, 2018, 02:00:35 PM
Quote from: blinkfrog on May 02, 2018, 01:27:23 PM
I am working on user manual, but it still isn't ready, sorry for this.
As for .tgd-sources for pictures, I can't upload these as the most pictures (those that are the most impressive) aren't mine, they are created by very talented Terragen artists, namely Ulco and Martin. That canyon scene was created and rendered by Martin.

I can share my canyon, but it is quite mediocre, I am a poor artist.
I've attached .tgd scene and two renders (without and with thermal erosion).

I used powerfractal, fractal warp shader, strata shader, small powerfractal, one erosion layer and strata shader after it. As far as I know Martin used two erosion layers and also added powerfractal after erosion shaders for some additional details.

Daniil

Thanks a lot Danill. I think us lowly artists were hoping to unlock the secrets of this look. It still looks rather impressive.
Title: Re: Classic Erosion plugin
Post by: Daniil on May 02, 2018, 02:01:46 PM
Forgot to add, in this scene with erosion parameters that set quite gentle, landscape influences final terrain much more than erosion, so creating proper uneroded landscape is possibly more important task than tuning the erosion.

Daniil
Title: Re: Classic Erosion plugin
Post by: WAS on May 10, 2018, 02:24:35 AM
Hey Daniil, my fiancee went ahead and got my your plugin to use, though we are both a bit confused. We made a purchase, which in itself should be verification, but they want to have a phone call? Lol  But they do not give any directions, nor any call. But it is late, I imagine they are definitely closed. Just find it confusing. I tried calling the number in the email, but it was just a helpdesk number for support or request support.

I guess I'll call support in the morning if I don't get a random call. Hopefully I'm awake. Lol What a intrusive payment service. First I've seen like this.

Update: They called. Confirmed payment for the plugin, and questions my fiancee's relationship to me lol
Title: Re: Classic Erosion plugin
Post by: Daniil on May 10, 2018, 02:41:52 AM
Quote from: WASasquatch on May 10, 2018, 02:24:35 AM
What a intrusive payment service. First I've seen like this.
Update: They called. Confirmed payment for the plugin, and questions my fiancee's relationship to me lol
Sorry for this. I glad that all is ok now. In the most cases there is no problems with PPG, but, it seems, they can do additional checks for payments that they think are "suspicious" to minimize fraud. AFAIK sometimes they can do it for some silly reasons like using "free" mail services like "mail.com".

Edit: Yes, as I can see in the transaction details, they indeed marked this transaction as "slightly risky" because of using free mail service. 

Daniil
Title: Re: Classic Erosion plugin
Post by: WAS on May 10, 2018, 02:45:59 AM
Quote from: blinkfrog on May 10, 2018, 02:41:52 AM
Quote from: WASasquatch on May 10, 2018, 02:24:35 AM
What a intrusive payment service. First I've seen like this.
Update: They called. Confirmed payment for the plugin, and questions my fiancee's relationship to me lol
Sorry for this. I glad that all is ok now. In the most cases there is no problems with PPG, but, it seems, they can do additional checks for payments that they think are "suspicious" to minimize fraud. AFAIK sometimes they can do it for some silly reasons like using "free" mail services like "mail.com".

You'd hope they wouldn't flag emails backed by google. It was probably because my me and my fiancee aren't married and have different last names. Though you'd think gifts would be common.

Thanks for the hard work into this plugin, about to check out these high res maps.

Update: I am glad Windows 10 is good at handling ram overflow to vram. Lol
Title: Re: Classic Erosion plugin
Post by: WAS on May 15, 2018, 02:49:49 PM
Feature Request: Ability to save and load maps from HDD.

Even just the saving feature to TIFF would be nice, as you can only output 3 channels, but could utilize more. Even from different types of erosions based on the same terrain not present just for colouring or what have you.
Title: Re: Classic Erosion plugin
Post by: Dune on May 16, 2018, 02:07:37 AM
You could add another shader and set different output, but use the same parameters. There will likely be a little difference, but it might work.
Title: Re: Classic Erosion plugin
Post by: WAS on May 16, 2018, 02:08:05 PM
Yes, and I currently do that, but considering the limit of three channels and needing to do that, it would be handy to be able to simply offload the maps to TIFF and load them via image map shader or w/e. It also would allow post processing on maps.
Title: Re: Classic Erosion plugin
Post by: Dune on May 17, 2018, 01:14:50 AM
If you offload to tiffs, you can easily shift between masks and offload each in turn (ortho render).
Title: Re: Classic Erosion plugin
Post by: WAS on May 17, 2018, 03:10:20 PM
Quote from: Dune on May 17, 2018, 01:14:50 AM
If you offload to tiffs, you can easily shift between masks and offload each in turn (ortho render).

Would love access to the ortho camera, but that's specifically disabled for Free so I can't use TG to export things, even though at small resolution anything exported would be nearly useless for most applications, except to see that TG can appropriately do it for a users instance.
Title: Re: Classic Erosion plugin
Post by: bsm3d on May 17, 2018, 06:29:21 PM
Thanks for such great plug-in !
Title: Re: Classic Erosion plugin
Post by: WAS on May 26, 2018, 10:44:22 PM
I've been having a issue where if I render without eroding Terragen will crash as soon as the "Erosion Progress" starts. I have to erode before I render. I usually do this naturally anyway but simetimes I'll forget.  The plugin/tg has never crashed when starting the erosion process outside of a render.

Come to think of it, I actually don't remember this being a issue when I was on the free version on 4.1.11 or whatever it was when I hadn't realized there was an update cause he update feature is down.
Title: Re: Classic Erosion plugin
Post by: Daniil on May 27, 2018, 03:07:17 AM
Quote from: WASasquatch on May 26, 2018, 10:44:22 PM
I've been having a issue where if I render without eroding Terragen will crash as soon as the "Erosion Progress" starts.
Thank you for the report. I actually have fixed this bug recently and am fixing another bug at this moment. As soon I'll fix it I'll upload new version.

Daniil
Title: Re: Classic Erosion plugin
Post by: bobbystahr on May 27, 2018, 10:33:08 AM
Quote from: blinkfrog on May 27, 2018, 03:07:17 AM
Quote from: WASasquatch on May 26, 2018, 10:44:22 PM
I've been having a issue where if I render without eroding Terragen will crash as soon as the "Erosion Progress" starts.
Thank you for the report. I actually have fixed this bug recently and am fixing another bug at this moment. As soon I'll fix it I'll upload new version.

Daniil

good to know
Title: Re: Classic Erosion plugin
Post by: WAS on May 27, 2018, 01:03:27 PM
Quote from: blinkfrog on May 27, 2018, 03:07:17 AM
Quote from: WASasquatch on May 26, 2018, 10:44:22 PM
I've been having a issue where if I render without eroding Terragen will crash as soon as the "Erosion Progress" starts.
Thank you for the report. I actually have fixed this bug recently and am fixing another bug at this moment. As soon I'll fix it I'll upload new version.

Daniil

Awesome! Glad to know it was easily found.
Title: Re: Classic Erosion plugin
Post by: Daniil on May 29, 2018, 03:20:29 PM
Classic Erosion v1.0.5

- Fixed bug that caused crashes on eroding start and in some other occasions
- Fixed bug that led to incorrect displaying of wear map and deposition map after erosion datafile reading
- Minor fixes

https://daniilkamperov.com/downloads/#classic-erosion (https://daniilkamperov.com/downloads/#classic-erosion)

Daniil
Title: Re: Classic Erosion plugin
Post by: bobbystahr on May 29, 2018, 03:26:38 PM
Quote from: blinkfrog on May 29, 2018, 03:20:29 PM
Classic Erosion v1.0.5

- Fixed bug that caused crashes on eroding start and in some other occasions
- Fixed bug that led to incorrect displaying of wear map and deposition map after erosion datafile reading
- Minor fixes

https://daniilkamperov.com/downloads/#classic-erosion (https://daniilkamperov.com/downloads/#classic-erosion)

Daniil

Thank you very much
Title: Re: Classic Erosion plugin
Post by: WAS on May 29, 2018, 03:37:09 PM
Wow what fast work! Great job! Thanks a lot.
Title: Re: Classic Erosion plugin
Post by: D.A. Bentley (SuddenPlanet) on May 29, 2018, 05:15:47 PM
Quote from: blinkfrog on May 29, 2018, 03:20:29 PM
Classic Erosion v1.0.5

- Fixed bug that caused crashes on eroding start and in some other occasions
- Fixed bug that led to incorrect displaying of wear map and deposition map after erosion datafile reading
- Minor fixes

https://daniilkamperov.com/downloads/#classic-erosion (https://daniilkamperov.com/downloads/#classic-erosion)

Daniil

Thanks Danill!  Does this mean that Flow, Wear, and Deposition are actually correctly saved in the .erd file, and after installing this new version of Classic Erosion that data will properly load?  OR do I need to re-erode my terrain and save a new .erd file?  Some of my 16k erosions take 2 hours so that's why I am wondering.

Derek
Title: Re: Classic Erosion plugin
Post by: Daniil on May 29, 2018, 11:35:51 PM
Quote from: D.A. Bentley on November 03, 1974, 09:07:34 PM
Thanks Danill!  Does this mean that Flow, Wear, and Deposition are actually correctly saved in the .erd file, and after installing this new version of Classic Erosion that data will properly load?
Derek
Yes, it does.  :) You don't need to reerode.

Daniil
Title: Re: Classic Erosion plugin
Post by: D.A. Bentley (SuddenPlanet) on May 30, 2018, 12:23:23 AM
Sweet!  I am doing my final renderings right now, so it's perfect timing!  Now I can just load my scenes and the erosion data loads right in from the .erd file.

I have never used the other two maps (Streamline Map, and Water Depth Map).  Do those get saved in the .erd file as well?  How do you use those?

Derek
Title: Re: Classic Erosion plugin
Post by: luvsmuzik on May 30, 2018, 12:52:02 PM
Quote from: blinkfrog on May 29, 2018, 03:20:29 PM
Classic Erosion v1.0.5

- Fixed bug that caused crashes on eroding start and in some other occasions
- Fixed bug that led to incorrect displaying of wear map and deposition map after erosion datafile reading
- Minor fixes

https://daniilkamperov.com/downloads/#classic-erosion (https://daniilkamperov.com/downloads/#classic-erosion)

Daniil

Getting a code 5 error message when I try to install this update.  :( Classic Purchased/ TG4 Creative/Win10
I did have to do the usual runaround with Windows Defender....run anyway...
Title: Re: Classic Erosion plugin
Post by: WAS on May 30, 2018, 01:05:48 PM
Quote from: luvsmuzik on May 30, 2018, 12:52:02 PM
Quote from: blinkfrog on May 29, 2018, 03:20:29 PM
Classic Erosion v1.0.5

- Fixed bug that caused crashes on eroding start and in some other occasions
- Fixed bug that led to incorrect displaying of wear map and deposition map after erosion datafile reading
- Minor fixes

https://daniilkamperov.com/downloads/#classic-erosion (https://daniilkamperov.com/downloads/#classic-erosion)

Daniil

Getting a code 5 error message when I try to install this update.  :( Classic Purchased/ TG4 Creative/Win10
I did have to do the usual runaround with Windows Defender....run anyway...

Error Code 5 means your system has blocked the executable, because the credentials supplied by your account were not sufficient.

Right click, head to properties, and check "Unblock"

It's not an officially digitally signed file, so windows will always complain or block it with UAC enabled.
Title: Re: Classic Erosion plugin
Post by: luvsmuzik on May 30, 2018, 01:17:22 PM
Thanks! Will do!  :)
Title: Re: Classic Erosion plugin
Post by: Daniil on May 30, 2018, 02:10:09 PM
Quote from: D.A. Bentley on May 30, 2018, 12:23:23 AM
I have never used the other two maps (Streamline Map, and Water Depth Map).  Do those get saved in the .erd file as well?  How do you use those?
Streamline map is saved too, Water Depth is saved only for terrains built in "Rivers mode".
Streamline can be useful if you need to show stream lines in water flows. Just flowmap is not always good for it as it shows amount of water flowed and can't display fine stream lines. Note that you possibly need to turn "Laminar flow" on for less chaotic streamline map, and probably multiply this map by deposition map or by clamped flowmap to display streamlines where they are needed.

Daniil
Title: Re: Classic Erosion plugin
Post by: WAS on May 30, 2018, 05:03:22 PM
I discovered some odd behavior.

Basically I had a "river" mask, which was piped into some displacement. I inserted this before the erosion shader, as I wanted to see how the river bed eroded with the rest will look. It unfortunately pushed the rivers banks up into peaks in some spots so I decided it would be best to move the displacement below the erosion shader. I cut the shaders, and pasted them (causing TG to automatically snap in the fractal warp shader and terrain shader to snap into the input of the erosion shader automatically), moving them below the erosion shader and than hit "Erode". It sampled, and eroded, but the river erosion remained. Clicking erode again did nothing, it felt there was no change. I had to go into my base displacement PF and change my minimum scale to 0.01 from 0.1 in order for the erosion shader to pickup a change and re-erode, without the river mask involved.

Edit: Additionally, will there be improvements to the river mode? Like a "Alpine River mode" that utilizes Laminar Flows and connects them with river systems in the plains?  I've been trying to create alpines like here in Washington State where there are thousands of creeks and streams on our mountains that feed rivers in the valleys, but the river mode seems to favor large intersections for rivers, and don't correspond to erosion that well. See my post about rivers (https://planetside.co.uk/forums/index.php/topic,24534.0.html). I tried using two erosion, and a single with SSS and it looks odd.

For referance, see how  the mountains here appear very much like erosion with laminar flows, but the flows all link to rivers in the gullies, which are a bit hard to see due to dense coverage but yeah, you can't walk down that highway without a creek/stream on your left to view every couple minutes. (for some reason it keeps changing the location and is not where I set it, but explore the mountain loop pass there): https://www.google.com/maps/place/Monte+Cristo+Trail,+Granite+Falls,+WA+98252/@48.0175741,-121.4458161,779m/data=!3m2!1e3!4b1!4m8!1m2!2m1!1sMountain+Loop+Highway+aerial!3m4!1s0x549ac454f42ea135:0x5b9e6c1717613c58!8m2!3d48.0175741!4d-121.4436274
Title: Re: Classic Erosion plugin
Post by: D.A. Bentley (SuddenPlanet) on June 01, 2018, 09:23:51 PM
One quick note.  I have noticed that sometimes if you make some changes and try to erode again and nothing happens, it seems to help to change the erosion resolution down and then erode, then change it back to your desired higher resolution and erode again.  For example, if your doing erosions at the max of 16,384 and the described behavior happens try turning down your resolution to 4096, or even 1024 and erode.  Then when you turn it back up to 16,384 it seems to erode as expected.  I'm not sure of there is some sort of cache that gets cleared or something, but I have had to do that sometimes to get my erosions to update when making changes, such as changing the area size of the erosion.
Title: Re: Classic Erosion plugin
Post by: WAS on June 02, 2018, 01:05:10 PM
Quote from: D.A. Bentley on June 01, 2018, 09:23:51 PM
One quick note.  I have noticed that sometimes if you make some changes and try to erode again and nothing happens, it seems to help to change the erosion resolution down and then erode, then change it back to your desired higher resolution and erode again.  For example, if your doing erosions at the max of 16,384 and the described behavior happens try turning down your resolution to 4096, or even 1024 and erode.  Then when you turn it back up to 16,384 it seems to erode as expected.  I'm not sure of there is some sort of cache that gets cleared or something, but I have had to do that sometimes to get my erosions to update when making changes, such as changing the area size of the erosion.

As a note to your note, changing erosion resolution will reerode, but not resample.
Title: Re: Classic Erosion plugin
Post by: WAS on June 13, 2018, 04:35:55 PM
Been having issues entering "Rivers Mode" where the plugin simply doesn't respond. It will change the functions available (graying out incompatible functions) but it will not switch over the maps, nor actually erode in rivers.

Additionally, if you "cut" a Classic Erosion from another file and paste it into your current file, to save on adjusting settings, the CE will produce a very super smooth erosion without detail.
Title: Re: Classic Erosion plugin
Post by: Daniil on June 13, 2018, 11:24:17 PM
Quote from: WASasquatch on June 13, 2018, 04:35:55 PM
Been having issues entering "Rivers Mode" where the plugin simply doesn't respond. It will change the functions available (graying out incompatible functions) but it will not switch over the maps, nor actually erode in rivers.

Additionally, if you "cut" a Classic Erosion from another file and paste it into your current file, to save on adjusting settings, the CE will produce a very super smooth erosion without detail.
Thank you for the report, I'll look into the problem.

Daniil
Title: Re: Classic Erosion plugin
Post by: Mid-Knight Acchan on June 14, 2018, 03:08:11 AM
https://www65.atwiki.jp/terragen/pages/144.html

This site is made without permission.
I am glad if you give me permission.

And.. Japanese only... :P
Use google!

Title: Re: Classic Erosion plugin
Post by: Daniil on June 26, 2018, 12:54:37 PM
Quote from: WASasquatch on June 13, 2018, 04:35:55 PM
Been having issues entering "Rivers Mode" where the plugin simply doesn't respond. It will change the functions available (graying out incompatible functions) but it will not switch over the maps, nor actually erode in rivers.
Additionally, if you "cut" a Classic Erosion from another file and paste it into your current file, to save on adjusting settings, the CE will produce a very super smooth erosion without detail.
Unfortunately I can't reproduce these problems. Could you please describe the exact sequence of actions leading to these problems?

Daniil
Title: Re: Classic Erosion plugin
Post by: WAS on June 26, 2018, 01:02:57 PM
Quote from: blinkfrog on June 26, 2018, 12:54:37 PM
Quote from: WASasquatch on June 13, 2018, 04:35:55 PM
Been having issues entering "Rivers Mode" where the plugin simply doesn't respond. It will change the functions available (graying out incompatible functions) but it will not switch over the maps, nor actually erode in rivers.
Additionally, if you "cut" a Classic Erosion from another file and paste it into your current file, to save on adjusting settings, the CE will produce a very super smooth erosion without detail.
Unfortunately I can't reproduce these problems. Could you please describe the exact sequence of actions leading to these problems?

Daniil


Rivers mode issue seemed to be isolated to a single event, or glitch, as I've not had the issue again. In fact, re-opening that file and it was fine and eroded fine.

The cut issue I'm not sure how else to phrase it. I cut your example erosion shader for the canyons and pasted it in another project. That shader only produced super smooth round shapes, no detail. Wondering if it was a incompatibility with the shader being set with a previous version of the plugin, and than cut and pasted into a project and eroded with wrong settings or something. Perhaps the plugin should scan over all erosion shaders upon starting a project and update them if that is the issue. As well as any pasted shader.
Title: Re: Classic Erosion plugin
Post by: Daniil on June 26, 2018, 01:06:59 PM
Quote from: Mid-Knight Acchan on June 14, 2018, 03:08:11 AM
https://www65.atwiki.jp/terragen/pages/144.html
This site is made without permission.
I am glad if you give me permission.
And.. Japanese only... :P
Use google!

Hello, sorry for long reply.
I can't load this website, it says: "The Amazon CloudFront distribution is configured to block access from your country. ".

As far as I remember someone (possibly it was you?) already asked me for a permission to take text and images for this site https://www65.atwiki.jp/terragen/pages/144.html from my webpage. The answer is still the same: you can take any text and some images - those that aren't subscribed as "Image courtesy by Ulco Glimmerveen" and "Image courtesy by Martin Huisman" - for these pictures you need to ask their authours for permission.

Daniil
Title: Re: Classic Erosion plugin
Post by: WAS on June 26, 2018, 01:10:13 PM
Quote from: blinkfrog on June 26, 2018, 01:06:59 PM
Quote from: Mid-Knight Acchan on June 14, 2018, 03:08:11 AM
https://www65.atwiki.jp/terragen/pages/144.html
This site is made without permission.
I am glad if you give me permission.
And.. Japanese only... :P
Use google!

Hello, sorry for long reply.
I can't load this website, it says: "The Amazon CloudFront distribution is configured to block access from your country. ".

As far as I remember someone (possibly it was you?) already asked me for a permission to take text and images for this site https://www65.atwiki.jp/terragen/pages/144.html from my webpage. The answer is still the same: you can take any text and some images - those that aren't subscribed as "Image courtesy by Ulco Glimmerveen" and "Image courtesy by Martin Huisman" - for these pictures you need to ask their authours for permission.

Daniil

Here is the website page for review, Daniil.
Title: Re: Classic Erosion plugin
Post by: Daniil on June 26, 2018, 01:17:01 PM
Classic Erosion (https://daniilkamperov.com/downloads/#classic-erosion) v1.0.6

- Added maps export (this feature was requested several times)
- Fixed bug in the Rivers mode that led to strange points in flowmap and some strange pits

Maps are exported into .png-files. You specify the folder and general name for maps, and they are exported into multiple single-channel grayscale 16-bit pngs (except for streamline map which is exported to 8-bit) - this is a good compromise between size and quality and preserves the dynamic range of maps so you can adjust white and black points or dynamic curve in the graphic editor. See attached images - I used GIMP to modify original flowmap (0.png) to two variants.

As for final filenames - they are generated automatically. For example, if you specify "abc" as filename, it results in several files: "abc.flow.png", "abc.deposition.png", "abc.wear.png" etc.

Daniil
Title: Re: Classic Erosion plugin
Post by: WAS on June 26, 2018, 01:23:28 PM
Quote from: blinkfrog on June 26, 2018, 01:17:01 PM
Classic Erosion (https://daniilkamperov.com/downloads/#classic-erosion) v1.0.6

- Added maps export (this feature was requested several times)
- Fixed bug in the Rivers mode that led to strange points in flowmap and some strange pits

Maps are exported into .png-files. You specify the folder and general name for maps, and they are exported into multiple single-channel grayscale 16-bit pngs (except for streamline map which is exported to 8-bit) - this is a good compromise between size and quality and preserves the dynamic range of maps so you can adjust white and black points or dynamic curve in the graphic editor. See attached images - I used GIMP to modify original flowmap (0.png) to two variants.

As for final filenames - they are generated automatically. For example, if you specify "abc" as filename, it results in several files: "abc.flow.png", "abc.deposition.png", "abc.wear.png" etc.

Daniil

Omg! I'm so excited! Thanks so much Daniil! This sounds awesome!

And this fix for the rivers mode, do you think this would fix the weird issue I was having where rivers weren't actually starting at depression points and seemed random?
Title: Re: Classic Erosion plugin
Post by: Daniil on June 26, 2018, 02:21:35 PM
Quote from: WASasquatch on June 26, 2018, 01:23:28 PM
Omg! I'm so excited! Thanks so much Daniil! This sounds awesome!
And this fix for the rivers mode, do you think this would fix the weird issue I was having where rivers weren't actually starting at depression points and seemed random?
I am afraid this won't fix this issue. Rivers headwaters are placed RANDOMLY indeed, not in depression points. Headwaters are static sources of water, such as underground springs that can be located in any places.

Thank you for the website page.

As for the problem with "cut" and "paste" - I tried it several times but had no any problems.

Daniil
Title: Re: Classic Erosion plugin
Post by: bobbystahr on June 26, 2018, 02:31:05 PM
Thanks for the update Daniil
Title: Re: Classic Erosion plugin
Post by: Daniil on June 26, 2018, 02:36:16 PM
Quote from: Mid-Knight Acchan on June 14, 2018, 03:08:11 AM
https://www65.atwiki.jp/terragen/pages/144.html
This site is made without permission.
I am glad if you give me permission.
And.. Japanese only... :P
Use google!

Hi again,

So, I've reviewed this page (thanks to WASasquatch), and all seems ok (if you asked Ulco and Martin for permission). Great work BTW!

Daniil
Title: Re: Classic Erosion plugin
Post by: luvsmuzik on June 26, 2018, 10:39:58 PM
Got it ! Thanks!
Title: Re: Classic Erosion plugin
Post by: Dune on June 27, 2018, 01:38:55 AM
@ Mid-Knight Acchan: I can't remember if I ever gave this permission, and any query of yours may have ended up in the spam box, but I herewith give you permission to use the images. No problem at all.
Title: Re: Classic Erosion plugin
Post by: Mid-Knight Acchan on June 27, 2018, 04:34:47 AM
WASasquatch, Thank you for making an offline page.
Daniil, Thank you for remembering.
Ulco, I sent an email, but it does not seem to have arrived, thanks for permission.

BTW,
Under what conditions will the "Water depth map" be output in map export?
Although it is touched, only four maps are output.
Title: Re: Classic Erosion plugin
Post by: Daniil on June 27, 2018, 04:53:26 AM
Quote from: Mid-Knight Acchan on June 27, 2018, 04:34:47 AM
Under what conditions will the "Water depth map" be output in map export?
Although it is touched, only four maps are output.
Water depth map can't be exported currently. I need to think through some things:

1. Water depth is expressed in meters, how to convert it to 0...1 range? I can normalize it, but will it be useful after this?

2. Water depth is the only map that isn't raster map. It has infinite resolution and shows actual difference in meters between water surface and river bed. I can sample it to raster, but will it still be useful in this case?

Daniil
Title: Re: Classic Erosion plugin
Post by: mhaze on June 29, 2018, 12:01:47 PM
Thanks for the maps it will be a really useful update. All I need is a map of the river positions and depths can be shown by grey scale so a simple raster map will be a very good start.
Title: Classic Erosion: Render Artifacts in FlowMap
Post by: SILENCER on July 04, 2018, 10:28:46 AM
I've never seen this before, and it shows up in the 3D preview as well as RTP.
At first I thought it was some bizzarro access to the hot pink default test color, but no.
Then I thought maybe some error if the flowmap masked surface is displaced, but Nyet.

Lowrez heightmap, maybe? It's only at 4096. Scene is reading a saved .erd file

I'll try this on my work machine which works at Formula 1 speeds, and see if the height map rez is the issue.


EDIT: I see above the Plug In was updated with a new build. We'll give that a stab and recalculate.
Title: Re: Classic Erosion: Render Artifacts in FlowMap
Post by: WAS on July 04, 2018, 12:26:32 PM
Quote from: SILENCER on July 04, 2018, 10:28:46 AM
I've never seen this before, and it shows up in the 3D preview as well as RTP.
At first I thought it was some bizzarro access to the hot pink default test color, but no.
Then I thought maybe some error if the flowmap masked surface is displaced, but Nyet.

Lowrez heightmap, maybe? It's only at 4096. Scene is reading a saved .erd file

I'll try this on my work machine which works at Formula 1 speeds, and see if the height map rez is the issue.


EDIT: I see above the Plug In was updated with a new build. We'll give that a stab and recalculate.

Looks like the maps are showing through your shaders from terrrain. Make sure you have at least a solid colour surface layer or PF before any actual colouring and masking.
Title: Re: Classic Erosion plugin
Post by: SILENCER on July 04, 2018, 02:28:19 PM
Make sure you have at least a solid colour surface layer or PF before any actual colouring and masking.


They way I solved this was by piping the flowmap scalar data mask into the PF color function of the surface, instead of the actual surface.  I also re calculated the hieghtmap at 8K resolution.
Title: Re: Classic Erosion: Render Artifacts in FlowMap
Post by: Daniil on July 04, 2018, 02:57:07 PM
Quote from: SILENCER on July 04, 2018, 10:28:46 AM
I've never seen this before, and it shows up in the 3D preview as well as RTP.
At first I thought it was some bizzarro access to the hot pink default test color, but no.
Hi Kyle,
Do you mean these strange color artifacts? I think they are because of flow map - this map can have values higher than 1.0. Clamp flow map (you can insert Color adjust shader with default settings) and it should solve this problem.

Daniil
Title: Re: Classic Erosion plugin
Post by: Daniil on August 20, 2018, 03:05:36 PM
Classic Erosion v1.1 (https://daniilkamperov.com/downloads/#classic-erosion)

- Fixed behaviour that caused strange peaks and overshoots om the area of sharp terrain edges;
- New thermal erosion.

[attachimg=1 align=center width=800]
(There is only thermal erosion is used)

New thermal erosion is presented as two new thermal erosion models. There is the parameter "Thermal erosion model" where you can select desired model.

Model A: this is old thermal erosion, left for compatibility with existing projects.

Model B: new erosion model. This thermal erosion model applies thermal stress uniformly to the rock. Resulting rock has similar look to uneroded, keeping it's shape as long as possible. Of course, if high thermal erosion intensity or long simulation time is used, resulting rock can lost it's with original. This model can be helpful for imitating erosion that often occurs in a dry climate.

Model C: new erosion model. This model emulates non-uniform thermal stress taking into account rock shape. For example, if you erode perfectly rounded truncated cone, you would get perectly round cone with nice talus "skirt" beneath it. But if original cone is distorted, it's irregularity will drive and control the erosion process, resulting in a complex shape. This gives rock it's distinctive "mountain" look, so often just thermal erosion is enough to get good mountain-like landscape.

Example (top-down view):
[attachimg=2 align=center]

There is also new "Smoothness" parameter available for "C" model. It controls the thermal stress of convex parts of rock: the rock pieces that are raised. The higher is smoothness, the higher is probability of destruction and falling down of these rock pieces. Combining with mild fluvial erosion this can be helpful for getting mountain shapes that often exist in cold climate.

New thermal models also allow resolution independance similar to fluvial erosion.

Thermal erosion strength in new models can be set higher than 1 up to quite high values (10 or may be more), but usually this isn't needed. Moreover, in many cases (for example, if combined with fluvial erosion) it is better to set Thermal erosion strength to quite low values, sometimes even less than 0.1.

Daniil
Title: Re: Classic Erosion plugin
Post by: D.A. Bentley (SuddenPlanet) on August 20, 2018, 04:56:06 PM
Sweet!  Thanks Daniil!
Title: Re: Classic Erosion plugin
Post by: Matt on August 20, 2018, 08:13:57 PM
The new erosion model looks really nice :)
Title: Re: Classic Erosion plugin
Post by: bobbystahr on August 20, 2018, 08:54:36 PM
Quote from: Matt on August 20, 2018, 08:13:57 PM
The new erosion model looks really nice :)

It does and fun to work with the new features..well done Daniil
Title: Re: Classic Erosion plugin
Post by: Dune on August 21, 2018, 02:05:39 AM
Thanks very much Daniil! Looks wonderful and very useful.  :)
Title: Re: Classic Erosion plugin
Post by: mhaze on August 21, 2018, 08:27:08 AM
Nice changes, thank you.
Title: Re: Classic Erosion plugin
Post by: WAS on August 21, 2018, 03:46:24 PM
Wowzers! Lots to play with! Thanks a lot! Going to check it out.
Title: Re: Classic Erosion plugin
Post by: Daniil on August 25, 2018, 03:23:55 AM
Thank you Matt,
thank you guys,

I like this new erosion too. BTW, it can be used for some other effects, for example, for snow cover and glaciers.

Daniil
Title: Re: Classic Erosion plugin
Post by: cyphyr on August 25, 2018, 04:04:46 AM
Getting a CTD every time I use the Classic Erosion plug-in. I am running the latest Frontier version of Terragen (build 4.3.00 frontier) with the licensed version of Classic Erosion 1.1.

[edit: Still CTD with a fresh re-install of both the plug-in and Terragen]
[edit 2: Works properly when reverting to Terragen build 4.2.01 frontier (Terragen_4_Win64_42011.exe)]
Title: Re: Classic Erosion plugin
Post by: Tangled-Universe on August 25, 2018, 06:46:02 AM
I have the same problems as Richard described above.
Title: Re: Classic Erosion plugin
Post by: D.A. Bentley (SuddenPlanet) on August 25, 2018, 12:54:42 PM
What is a CTD?
Title: Re: Classic Erosion plugin
Post by: WAS on August 25, 2018, 01:19:30 PM
Quote from: D.A. Bentley on August 25, 2018, 12:54:42 PM
What is a CTD?
Crash to Desktop.
Title: Re: Classic Erosion plugin
Post by: Oshyan on August 26, 2018, 01:18:59 AM
Might be some breaking changes in 4.3 to the SDK. Please report any issues running 4.3 in the specific alpha discussion area.

- Oshyan
Title: Re: Classic Erosion plugin
Post by: mhaze on August 26, 2018, 03:31:57 AM
Struggling to mask erosion particularly when you try to mask terrain with an altitude below 0.
Title: Re: Classic Erosion plugin
Post by: bobbystahr on August 26, 2018, 08:28:04 AM
I get frequent CTD episodes and I'm still using an older version of TG 4.1.25 so I'm thinking some kind of bug in the plugin as the same scene minus the plugin's input doesn't CTD. At first I thought it might be this under powered DELL I'm using while the workstation is out of commission hence the test.
Title: Re: Classic Erosion plugin
Post by: DannyG on August 26, 2018, 12:06:23 PM
Thank bud !
Title: Re: Classic Erosion plugin
Post by: Daniil on August 29, 2018, 02:56:18 PM
Quote from: cyphyr on August 25, 2018, 04:04:46 AM
Getting a CTD every time I use the Classic Erosion plug-in. I am running the latest Frontier version of Terragen (build 4.3.00 frontier) with the licensed version of Classic Erosion 1.1.
[edit: Still CTD with a fresh re-install of both the plug-in and Terragen]
[edit 2: Works properly when reverting to Terragen build 4.2.01 frontier (Terragen_4_Win64_42011.exe)]
Thank you very much for the report.

Quote from: bobbystahr on August 26, 2018, 08:28:04 AM
I get frequent CTD episodes and I'm still using an older version of TG 4.1.25
Could you please say what event cause CTD? Adding Classic Erosion? Eroding? Rendering?

Quote from: mhaze on August 26, 2018, 03:31:57 AM
Struggling to mask erosion particularly when you try to mask terrain with an altitude below 0.
Hm. It seems all works ok for me. Note that last versions of Classic Erosionuse standard Terragen-style for mask (you need to insert "Calculate normal" or "Calculate terrain", connected to main input of Classic Erosion node, and, say, Distribution shader, connected to Mask input. This distribution shader doesn't require any input to work correctly).

Daniil
Title: Re: Classic Erosion plugin
Post by: bobbystahr on August 29, 2018, 06:00:56 PM
It's sometimes when I populate and sometimes it's just after tweaking something and all suddenly I'm looking at my desktop'
The exact same setup with Erosion disabled has no problems. Sometimes it's when working with atmosphere...nothing seemingly connected to the plugin really except maybe some masking functions.
Title: Re: Classic Erosion plugin
Post by: D.A. Bentley (SuddenPlanet) on August 31, 2018, 02:13:52 PM
Bobby, did you get your CTD issues sorted out?  I haven't had any problems yet with the new version.  I'm just using the simple maps setup that Daniil provided though.
Title: Re: Classic Erosion plugin
Post by: WAS on August 31, 2018, 04:50:53 PM
I never used the computer terrain before the erosion before, as needing two slows down rendering, and shading becomes an issue without two. Never had issues.

Haven't installed the latest yet.
Title: Re: Classic Erosion plugin
Post by: bobbystahr on August 31, 2018, 06:01:51 PM
Quote from: D.A. Bentley on August 25, 2018, 12:54:42 PM
What is a CTD?

No but I thunk it's too much for this old DELL so I'll wait till the CORSAIR is running again...doing more music than TG right now so it all works out.
Title: Re: Classic Erosion plugin
Post by: Daniil on September 02, 2018, 02:44:58 PM
Classic Erosion v.1.1.0.1 (https://daniilkamperov.com/downloads/#classic-erosion")

- few bugfixes (some bugs slightly affected thermal erosion parameters interpretation and thus thermal erosion behaviour);
- User License Agreement changed to less strict: removed section "use it for press-related publication within any media, limited to a.) any textual description or recitation of Classic Erosion's functional, b.) printed or otherwise visual demonstration of the graphical user interface and c.) publication of graphic or video examples that explicitly demo Classic Erosion's capabilities, only if any of these publications contain explicit information about Classic Erosion's name, author and the address of his website (daniilkamperov.com), unless stated otherwise by the author in written form".

Some bugs are still not fixed, namely stability bug that was reported by some users and one strange bug that I watched few times (deposition map was extremely dark after some events; possibly it was temporary bug; please report if you experience it).

Daniil
Title: Re: Classic Erosion plugin
Post by: bobbystahr on September 02, 2018, 06:52:25 PM
Thanks Daniil, have a great day.
Title: Re: Classic Erosion plugin
Post by: WAS on September 02, 2018, 09:11:40 PM
Quote from: blinkfrog on September 02, 2018, 02:44:58 PM
Classic Erosion v.1.1.0.1 (https://daniilkamperov.com/downloads/#classic-erosion")

- few bugfixes (some bugs slightly affected thermal erosion parameters interpretation and thus thermal erosion behaviour);
- User License Agreement changed to less strict: removed section "use it for press-related publication within any media, limited to a.) any textual description or recitation of Classic Erosion's functional, b.) printed or otherwise visual demonstration of the graphical user interface and c.) publication of graphic or video examples that explicitly demo Classic Erosion's capabilities, only if any of these publications contain explicit information about Classic Erosion's name, author and the address of his website (daniilkamperov.com), unless stated otherwise by the author in written form".

Some bugs are still not fixed, namely stability bug that was reported by some users and one strange bug that I watched few times (deposition map was extremely dark after some events; possibly it was temporary bug; please report if you experience it).

Daniil

Is this where the deposition map has barely any detail in it? Least just really dark (black).
Title: Re: Classic Erosion plugin
Post by: digitalguru on September 03, 2018, 08:02:48 AM
Hi Daniil,

Love the plugin, I purchased it after reading about adding secondary rain channels on this forum - and have used it to add some light erosion on a pre-existing terrain - really adds some nice extra details.

Have a question - thinking about rendering an animation on Pixel Plow - they list that they have Dkerosionclassic 0.8.10 (if that is your plugin) - would this be backwards compatible with the latest version of your plugin if I've saved out the erosion?

I'm also using the map channels for shading so I guess I might have to bake those to texture if it is.
Title: Re: Classic Erosion plugin
Post by: Daniil on September 03, 2018, 02:32:43 PM
Quote from: WASasquatch on September 02, 2018, 09:11:40 PM
Is this where the deposition map has barely any detail in it? Least just really dark (black).

Not sure about details, but very black, yes. I had to set White point to really small values, like 0.000001 to see anything.
It seems I've just fixed this bug BTW.

Quote from: digitalguru on September 03, 2018, 08:02:48 AM
Hi Daniil,
Love the plugin, I purchased it after reading about adding secondary rain channels on this forum - and have used it to add some light erosion on a pre-existing terrain - really adds some nice extra details.
Have a question - thinking about rendering an animation on Pixel Plow - they list that they have Dkerosionclassic 0.8.10 (if that is your plugin) - would this be backwards compatible with the latest version of your plugin if I've saved out the erosion?
I'm also using the map channels for shading so I guess I might have to bake those to texture if it is.
Thank you. I think the project wouldn't loaded correctly at least because of changing plugin name ("Erosion Classic" -> "Classic Erosion"). I'll see what I can do for renderfarms, at least for Windows-based.

Daniil
Title: Re: Classic Erosion plugin
Post by: digitalguru on September 03, 2018, 02:41:01 PM
That's good news!
Title: Re: Classic Erosion plugin
Post by: Dune on September 04, 2018, 08:47:12 AM
Hi Daniil. I have a problem with the newest 2 plugin releases. Opening an older file gives me 418 warnings, and disabling the node or checking enable maps makes TG crash every time. I'll have another play and see what I can do, but I thought I'd post anyway.
Title: Re: Classic Erosion plugin
Post by: WAS on September 04, 2018, 01:33:29 PM
I'm a little scared to update now. :( No offense to Daniil, love the plugin. Hope these issues can be fixed. I was literally going to update today to work on my mountain scene and try rivers.
Title: Re: Classic Erosion plugin
Post by: bobbystahr on September 04, 2018, 04:36:07 PM
Quote from: Dune on September 04, 2018, 08:47:12 AM
Hi Daniil. I have a problem with the newest 2 plugin releases. Opening an older file gives me 418 warnings, and disabling the node or checking enable maps makes TG crash every time. I'll have another play and see what I can do, but I thought I'd post anyway.

dunno why you're having problems. I opened a file from 2016 I think and in the attachment you hve the original, and 2 random seeds of it with nary a crash.
But I'm doing this on the DELL so I'm using Win10 and you're still using Win7 like my boat anchor/workstation....so it may be O/S related
Title: Re: Classic Erosion plugin
Post by: WAS on September 04, 2018, 05:00:48 PM
Quote from: bobbystahr on September 04, 2018, 04:36:07 PM
Quote from: Dune on September 04, 2018, 08:47:12 AM
Hi Daniil. I have a problem with the newest 2 plugin releases. Opening an older file gives me 418 warnings, and disabling the node or checking enable maps makes TG crash every time. I'll have another play and see what I can do, but I thought I'd post anyway.

dunno why you're having problems. I opened a file from 2016 I think and in the attachment you hve the original, and 2 random seeds of it with nary a crash.
But I'm doing this on the DELL so I'm using Win10 and you're still using Win7 like my boat anchor/workstation....so it may be O/S related

Good to hear.
Title: Re: Classic Erosion plugin
Post by: WAS on October 30, 2018, 03:18:32 PM
I noticed something a little interesting, when one TG instance is eroding, another TG instance will have a un-editable (super slow/frozen) plugin instance. Are they somehow tied to the same resources? Everything else in the second TG instance works besides the DK:CE plugin while the other is eroding. The window will open, but changing anything causes the plugin itself to freeze (not a not responding freeze though), for example clicking a checkbox will highlight the checkbox, but it wouldn't "check" until the erosion in the other TG instance was finished.

Edit: Doing some extra testing, it seems I can get "one" change out of the second instance of the plugin before it than locks up until the other is done processing.
Title: Re: Classic Erosion plugin
Post by: Dune on October 31, 2018, 02:45:44 AM
Maybe that's just because it takes up so many resources that other stuff is stalled.
Title: Re: Classic Erosion plugin
Post by: WAS on October 31, 2018, 03:59:35 PM
Quote from: Dune on October 31, 2018, 02:45:44 AM
Maybe that's just because it takes up so many resources that other stuff is stalled.

Yeah that's what I assume, as another instance will be slower, but specifically another DK::CE instance is unworkable. As soon as anything is edited the windows just becomes unresponsive, but not not responding (so you can X out of the window still - after much delay)

I had the idea of using two instances of a scene, one in very low resolution for small changes that I could carry over to the other scene to see in better resolution, while still working on the main bits of the scene in the other. Probably not the best idea in general.
Title: Re: Classic Erosion plugin
Post by: Oshyan on October 31, 2018, 05:07:43 PM
As Ulco said, this is probably just because the erosion node is one of the heavier nodes to calculate, and thus is using up a lot of resources whenever you make a change.

- Oshyan
Title: Re: Classic Erosion plugin
Post by: WAS on October 31, 2018, 06:00:53 PM
I'm trying to figure out if the plugins resources are shared, as this is more exclusive to the node itself between instances, where I can go about editing everything else in another instance while another is sampling/eroding. While yes, inhibited by the CPU being slow, but specifically, a second instance of the DK::CE plugin becomes unresponsive trying to make any changes, where the TG instance itself is usable and can work in it (albeit slowly). This isn't even attempting a second erosion, simply changing settings in another instance of the plugin in another instance of TG.

Probably more a question for Daniil.

Also wondering if Original hf details are included in the erosion as scalar data or more a masked overlay from original shaders/hf?
Title: Re: Classic Erosion plugin
Post by: Oshyan on October 31, 2018, 07:28:20 PM
I doubt the resources are shared, not even sure how they could be, but maybe. Is the preview paused in both instances while you're testing that? If not, it's probably just the preview of the 2nd one having a more demanding calculation for updating (the erosion) vs. any other calculation it might do to update the preview if you change a non-erosion setting.

- Oshyan
Title: Re: Classic Erosion plugin
Post by: WAS on October 31, 2018, 10:12:49 PM
Quote from: Oshyan on October 31, 2018, 07:28:20 PM
I doubt the resources are shared, not even sure how they could be, but maybe. Is the preview paused in both instances while you're testing that? If not, it's probably just the preview of the 2nd one having a more demanding calculation for updating (the erosion) vs. any other calculation it might do to update the preview if you change a non-erosion setting.

- Oshyan

That's a good point Oshyan, I do have the preview active, I guess in the first one it is sorta paused in the sense DK::CE freezes TG while Sampling/Eroding.
Title: Re: Classic Erosion plugin
Post by: WAS on November 02, 2018, 08:54:14 PM
I'm having issues with the flow maps. They're not representative of the scalar data. They're incredibly dark, so when you go to use a colour adjust on them there is colour burning (falloff effect) from details that went to absolute black.

Also the blending borders mode seems to creating lines for some reason as well.

Additionally, sometimes there is no deposition map at all with erosion? Have encountered this a few times, even on extreme displacements, and not sure why.

Thanks for any help, Daniil
Title: Re: Classic Erosion plugin
Post by: Matt on November 02, 2018, 09:16:31 PM
The border blending issue can be fixed by unchecking "stitchable border". It's intended for tiling DEMs, but is enabled by default (maybe not a good thing).
Title: Re: Classic Erosion plugin
Post by: Hannes on November 03, 2018, 06:17:29 AM
Quote from: Matt on November 02, 2018, 09:16:31 PM
...but is enabled by default (maybe not a good thing).

Indeed.
Title: Re: Classic Erosion plugin
Post by: WAS on November 03, 2018, 03:42:13 PM
Quote from: Matt on November 02, 2018, 09:16:31 PM
The border blending issue can be fixed by unchecking "stitchable border". It's intended for tiling DEMs, but is enabled by default (maybe not a good thing).

This is regarding Daniil's Classic Erosion, there is no stitchable border setting It's just border blending, which according to docs just blends out the border of the heightmap. Not sure how you'd handle DEM's in his plugin considering it's proprietary.

Off topicly though, I'd love to see an actual DEM example. I download all of our region here, Mt St. Helens to Mt Baker with Mt. Rainier inbetween, however, the borders are solid, and the stitchable setting by default looks like garbage and had 1000x better results manually positioning and blending the borders together.
Title: Re: Classic Erosion plugin
Post by: Matt on November 04, 2018, 01:03:35 PM
Oh, I thought it was the Heightfield Shader for some reason. I should have known you meant Classic Erosion.
Title: Re: Classic Erosion plugin
Post by: Daniil on November 11, 2018, 03:33:20 PM
Hello,
thank you for reports.

Quote from: WASasquatch on October 30, 2018, 03:18:32 PM
I noticed something a little interesting, when one TG instance is eroding, another TG instance will have a un-editable (super slow/frozen) plugin instance. Are they somehow tied to the same resources? Everything else in the second TG instance works besides the DK:CE plugin while the other is eroding. The window will open, but changing anything causes the plugin itself to freeze (not a not responding freeze though), for example clicking a checkbox will highlight the checkbox, but it wouldn't "check" until the erosion in the other TG instance was finished.
Edit: Doing some extra testing, it seems I can get "one" change out of the second instance of the plugin before it than locks up until the other is done processing.

This is interesting obsevation. Right now I can't presume possible reasons for that, but I'll think about it. Early versions of Procedural erosion had some interesting behaviour - defferent instances could affect each other - because of my old memory pool, it was declared as "static", so different instances actually used the same pool (but not the same memory). But I don't have any similar things in Classic Erosion (and modern Procedural Erosion is free of this bug too).

Quote from: WASasquatch on November 02, 2018, 08:54:14 PM
I'm having issues with the flow maps. They're not representative of the scalar data. They're incredibly dark, so when you go to use a colour adjust on them there is colour burning (falloff effect) from details that went to absolute black.
Also the blending borders mode seems to creating lines for some reason as well.
Additionally, sometimes there is no deposition map at all with erosion? Have encountered this a few times, even on extreme displacements, and not sure why.
Thanks for any help, Daniil

Hm. This sounds similar to some already fixed bugs. Possibly you are using old version? Please try the latest version and see if you have any problems.

Daniil
Title: Re: Classic Erosion plugin
Post by: WAS on November 11, 2018, 03:46:14 PM
Quote from: blinkfrog on November 11, 2018, 03:33:20 PM
Hello,
thank you for reports.

Quote from: WASasquatch on October 30, 2018, 03:18:32 PM
I noticed something a little interesting, when one TG instance is eroding, another TG instance will have a un-editable (super slow/frozen) plugin instance. Are they somehow tied to the same resources? Everything else in the second TG instance works besides the DK:CE plugin while the other is eroding. The window will open, but changing anything causes the plugin itself to freeze (not a not responding freeze though), for example clicking a checkbox will highlight the checkbox, but it wouldn't "check" until the erosion in the other TG instance was finished.
Edit: Doing some extra testing, it seems I can get "one" change out of the second instance of the plugin before it than locks up until the other is done processing.

This is interesting obsevation. Right now I can't presume possible reasons for that, but I'll think about it. Early versions of Procedural erosion had some interesting behaviour - defferent instances could affect each other - because of my old memory pool, it was declared as "static", so different instances actually used the same pool (but not the same memory). But I don't have any similar things in Classic Erosion (and modern Procedural Erosion is free of this bug too).

Quote from: WASasquatch on November 02, 2018, 08:54:14 PM
I'm having issues with the flow maps. They're not representative of the scalar data. They're incredibly dark, so when you go to use a colour adjust on them there is colour burning (falloff effect) from details that went to absolute black.
Also the blending borders mode seems to creating lines for some reason as well.
Additionally, sometimes there is no deposition map at all with erosion? Have encountered this a few times, even on extreme displacements, and not sure why.
Thanks for any help, Daniil

Hm. This sounds similar to some already fixed bugs. Possibly you are using old version? Please try the latest version and see if you have any problems.

Daniil

Oh no! I thought i upgraded when things were figured out from the last release. I'll try and grab another and see if that resolves the issues.

As for the odd behavior, I'm not sure. I just stopped using another instance of TG with erosion. I noted too it was odd, though, even when you start a new instance of TG, before it even starts, the Classic Erosion window, and progress window, will pop-up over the Terragen 4 Splash (freeware version) which asks if you want to use the freeware version or activate a license. Depending on what point the erosion is at, the windows can be unresponsive (but not forzen) and won't let the splash overlay over them.
Title: Re: Classic Erosion plugin
Post by: Daniil on November 11, 2018, 03:54:15 PM
Classic Erosion v1.1.1 (https://daniilkamperov.com/downloads/#classic-erosion)
Multiple small changes, most notable:

1. Some old bugs fixed. These are important fixes as they degraded erosion quality. These bugs were added accidentally while working on rivers, so early CE versions (before rivers) had better quality.

2. Two hidden parameters are revealed. First (it is called "Retardation of downcutting", but this is too long for GUI, so it is "Downcutting retardation" in GUI) controls downcutting behavior - slows down erosive flows at some places, effectively preventing downcutting. I added this mechanics just after initial CE release and hesitated about adding a parameter, controlling this mechanics, as there are already two parameters for downcutting, but finally I decided to add this. And the second is "Talus settling" in thermal erosion.

3. Added built-in check for updates (may be blocked by firewalls).

4. Added option to turn normalization off for deposition and wear maps. In this case it's outputs are in meters, so you can adjust while and black points in meters, and they aren't dependent on maximum values of these maps (very useful if you try to animate thermal erosion).

5. Classic Erosion now works correctly if Terragen is started without GUI (from command prompt). Also it should work on Pixel Plow farm. Important note! Currently it works on Pixel Plow only if erosion cache (.erd) file is provided, so you should precalculate it on your machine and upload with your project. Don't forget to turn "Read erosion data on project loading" parameter on (although possibly you can do it in Pixel Plow already, or may be it is overrided there).

Daniil
Title: Re: Classic Erosion plugin
Post by: Daniil on November 11, 2018, 03:56:21 PM
Quote from: WASasquatch on November 11, 2018, 03:46:14 PM
Oh no! I thought i upgraded when things were figured out from the last release. I'll try and grab another and see if that resolves the issues.

Check the new one. :D

Daniil
Title: Re: Classic Erosion plugin
Post by: WAS on November 11, 2018, 04:34:25 PM
Oh aweosme! Just installed it. :D Thanks for all the work, such an amazing plugin.

Quote from: blinkfrog on November 11, 2018, 03:54:15 PM
Classic Erosion v1.1.1 (https://daniilkamperov.com/downloads/#classic-erosion)
Multiple small changes, most notable:

1. Some old bugs fixed. These are important fixes as they degraded erosion quality. These bugs were added accidentally while working on rivers, so early CE versions (before rivers) had better quality.

2. Two hidden parameters are revealed. First (it is called "Retardation of downcutting", but this is too long for GUI, so it is "Downcutting retardation" in GUI) controls downcutting behavior - slows down erosive flows at some places, effectively preventing downcutting. I added this mechanics just after initial CE release and hesitated about adding a parameter, controlling this mechanics, as there are already two parameters for downcutting, but finally I decided to add this. And the second is "Talus settling" in thermal erosion.

3. Added built-in check for updates (may be blocked by firewalls).

4. Added option to turn normalization off for deposition and wear maps. In this case it's outputs are in meters, so you can adjust while and black points in meters, and they aren't dependent on maximum values of these maps (very useful if you try to animate thermal erosion).

5. Classic Erosion now works correctly if Terragen is started without GUI (from command prompt). Also it should work on Pixel Plow farm. Important note! Currently it works on Pixel Plow only if erosion cache (.erd) file is provided, so you should precalculate it on your machine and upload with your project. Don't forget to turn "Read erosion data on project loading" parameter on (although possibly you can do it in Pixel Plow already, or may be it is overrided there).

Daniil
Title: Re: Classic Erosion plugin
Post by: Dune on November 12, 2018, 02:10:23 AM
Thansk very much, Daniil!
Title: Re: Classic Erosion plugin
Post by: WAS on November 12, 2018, 03:53:23 AM
Really thinking about having some stuff rendered on pixel plow now as I can do some funny and cool stuff from a distance without much worry of 3 pop limitation to have good variation in veggies.
Title: Re: Classic Erosion plugin
Post by: sboerner on November 12, 2018, 01:30:36 PM
Any plans, Daniil, for porting this over to the Mac? I would love to be able to take it for a spin.
Title: Re: Classic Erosion plugin
Post by: KirillK on November 15, 2018, 05:12:11 AM
I installed the free version and nothing seems  working on my loaded terrain height image. I see flat surface and nothing else.

What am I missing?   
Title: Re: Classic Erosion plugin
Post by: Daniil on November 16, 2018, 12:34:41 AM
Quote from: KirillK on November 15, 2018, 05:12:11 AM
I installed the free version and nothing seems  working on my loaded terrain height image. I see flat surface and nothing else.
What am I missing?   

Could you please describe your scene setup briefly? I suppose you have Heightfield with your terrain loaded and Classic Erosion inserted just after this heightfield? If so, it should work, but please check the position of your heightfield - it can differ to default (0.0, 0.0) if your image has any georeferencing information.

Quote from: sboerner on November 12, 2018, 01:30:36 PM
Any plans, Daniil, for porting this over to the Mac? I would love to be able to take it for a spin.

I'd like to make a Mac port, but unfortunately Mac-version of Terragen SDK isn't ready yet.

Daniil
Title: Re: Classic Erosion plugin
Post by: sboerner on November 16, 2018, 08:49:54 AM
QuoteI'd like to make a Mac port, but unfortunately Mac-version of Terragen SDK isn't ready yet.

Thanks – I understand that your hands are tied here. Planetside – any chance that the Mac SDK could be given a higher priority? I can't speak for other Mac users, but I can't help but feel left behind here. And perhaps other third-party developers besides Danill are being affected too.

Mini-rant over. Thanks for listening.  :)
Title: Re: Classic Erosion plugin
Post by: Oshyan on November 17, 2018, 12:52:55 AM
We have been discussing this internally. No verdict yet, but we are definitely aware that there is interest in the SDK on Mac (and Linux).

- Oshyan
Title: Re: Classic Erosion plugin
Post by: René on November 17, 2018, 06:47:27 AM
Quote from: sboerner on November 16, 2018, 08:49:54 AM

I can't speak for other Mac users


I for one am eagerly looking forward to working with it.
Title: Re: Classic Erosion plugin
Post by: sboerner on November 17, 2018, 12:28:43 PM
QuoteWe have been discussing this internally. No verdict yet, but we are definitely aware that there is interest in the SDK on Mac (and Linux).

That's encouraging news, Oshyan. Please let us know how things develop. Thank you!
Title: Re: Classic Erosion plugin
Post by: KyL on November 25, 2018, 11:22:57 AM
Many thanks for the improvement on this!

I am catching up with the various updates (regarding both TG and Classic Erosion) and enjoy both. Really glad to see the new features implemented here.
Being able to export the maps and to normalize them is a really nice feature, and the river mode is giving me excellent result. General erosion also look really believable! Really well done.

Regarding this, I think I have spotted a bug leading to an inevitable crash: Starting with a fresh instance of TG, adding an erosion node in river mode and saving the .erd file to a disk. If I try to load the same file or reload the scene TG becomes unresponsive and I have to kill it. Look like it is related to the river mode as the default mode is fine. I also find myself having to erode several time my scene before resulting in the expected result. Looks like enabling/disabling the node or restarting the scene results in seed change (despite the seed stating the same in the related input field).

I am running Terragen 4.3.18 with Classic Erosion 1.1.1 on a windows 7 64bit machine.

Also one last note about the normalize maps: at the moment it looks like you are doing this internally inside the node itself. However the saved maps are not normalized. So if you were to save and load the map elsewere, it would look quite different. Also normalizing the map on export would optimize the usage of the file's bit depth :)

going back to play with it now!
Title: Re: Classic Erosion plugin
Post by: Daniil on November 25, 2018, 02:56:03 PM
Quote from: KyL on November 25, 2018, 11:22:57 AM
Regarding this, I think I have spotted a bug leading to an inevitable crash: Starting with a fresh instance of TG, adding an erosion node in river mode and saving the .erd file to a disk. If I try to load the same file or reload the scene TG becomes unresponsive and I have to kill it. Look like it is related to the river mode as the default mode is fine. I also find myself having to erode several time my scene before resulting in the expected result. Looks like enabling/disabling the node or restarting the scene results in seed change (despite the seed stating the same in the related input field).
I am running Terragen 4.3.18 with Classic Erosion 1.1.1 on a windows 7 64bit machine.
Also one last note about the normalize maps: at the moment it looks like you are doing this internally inside the node itself. However the saved maps are not normalized. So if you were to save and load the map elsewere, it would look quite different. Also normalizing the map on export would optimize the usage of the file's bit depth :)
going back to play with it now!
Thank you Bastien for bug report, the bug with loading landscape with Rivers mode is fixed in new version. Any already saved .erd will be loaded.

As for somewhat different results on every eroding - this is the peculiarity of algorithm, so, unfortunately, this can't be fixed. The only way to workaround this is to use single thread for calculating erosion, but this would degrade the performance greatly. I thinked about adding parameter limiting threads numberm but I think it is better to save .erd if your scene is very sensitive to erosion variations from different runs.

I possibly misunderstood you about normalization of saved maps. Do you mean export maps to .png files? Deposition and Wear maps are always normalized when exported to .png.

Daniil
Title: Re: Classic Erosion plugin
Post by: Daniil on November 25, 2018, 03:41:37 PM
Classic erosion v1.1.2.1 (https://daniilkamperov.com/downloads/#classic-erosion)

[attach=1]

- Some bugs fixed (including the bug with crash while loading .erd file with rivers)
- New parameter in thermal erosion tab: "Talus washing away".

I can't remember exactly, but it seems I've posted this pic earlier:
[attach=2]

This was done using early prototype of current thermal erosion. But this picture isn't easy to replicate in recent CE versions.
To get pronounced mountain range both Fluvial and Thermal erosion should be used simultaneously. But sometimes there will be too much of talus, occluding the valley. In real life debris from thermal weathering partly are transported away by water streams, the same for Classic Erosion. But Classic Erosion model isn't very effective in this area, so I added additional faked mechanics for this. Actually this mechanics very rarely is useful, add here that this is faked, so I decided to hide parameter controlling this. But in the end I decided to reveal it back: "Talus washing away". Again, use it only in cases then you feel that there is too much talus that would be carried away in real life.

The modern example of use of this mechanics:
[attach=3]

Daniil
Title: Re: Classic Erosion plugin
Post by: KyL on November 25, 2018, 03:49:53 PM
Great! Thanks for the fix, it works like a charm now.

I see what you mean with the threading issue. It is good to be aware of it and knowing that single-thread would give a consistent result is probably enough. I usually find that running the river mode requires much less resolution so it would be not that slow anyway.

I probably did a mistake when comparing my exported maps versus the scalar output from the erosion node. I was indeed talking about the .png files. Should the image map shader use a gamma of 1 or 2.2 to match the erosion node output?

Thanks for the quick fix!!!
Title: Re: Classic Erosion plugin
Post by: WAS on November 25, 2018, 03:53:54 PM
I honestly think the valley talus effect is more realistic with alpine valleys like here in WA state. There's actually little level terrain until you're right on the river, and sometimes not even then.
Title: Re: Classic Erosion plugin
Post by: D.A. Bentley (SuddenPlanet) on February 25, 2019, 08:05:17 PM
I wasn't aware of a new version of Classic Erosion coming out so I was on v1.1.0.1 and everything seemed to work fine for me.  After installing v1.1.2.2 I no longer see my erosion maps showing up in the shader preview (they are just all black).  I am speaking of the erosion maps stored in an .erd file which should load when I load my .tgd scene.

Did something change that made my old saved .erd files incompatible with the new version?  Or is this maybe a bug?

-Derek
Title: Re: Classic Erosion plugin
Post by: Daniil on March 09, 2019, 12:39:49 PM
Classic Erosion v1.1.3 (https://daniilkamperov.com/downloads/#classic-erosion)

Some bug fixes, most important is that erosion data file couldn't loaded on some systems (thanks to Derek A. Bentley for helping fixing this bug).

Also changed export maps naming system (thanks to Derek A. Bentley again for suggesting). In previous versions existing (already exported) maps weren't showed because of non-standard extension - ".[map].png" - this forced adding of "[map"] to filename if user haven't specify this explicitely. I changed extension to standard ".png", so files are showed now, and, if user haven't specified "[map]", this is added on closing of dialog. And, as example of using "[map]" in the filename, I added default filename "abc.[map].png", which user can change. "[map]" can be specified in any part of filename, and not necessary should be between dots (you can use name like "canyon_[map]map.png", which will result in "canyon_flowmap.png". If specified filename doesn't include "[map]", then this suffix is added just before ".png" extension, which is added automatically too, so user can write just "canyon", and resulting maps will be "canyon.flow.png", etc. Multiple entries of ["map"] are allowed too, all will be replaced by the name of map.

Daniil
Title: Re: Classic Erosion plugin
Post by: Dune on March 10, 2019, 01:40:34 AM
Thanks a lot, Daniil!
Title: Re: Classic Erosion plugin
Post by: DannyG on March 10, 2019, 11:06:35 AM
Sweettt ! thks
Title: Re: Classic Erosion plugin
Post by: surrealdan on March 11, 2019, 10:45:55 AM
Hey, I just purchased the plugin recently and its great! Just had some questions when dealing with multiple or large scale terrains. Is it better or do I apply the erosion to all the heightfields in the scene? or do I create an erosion node for each heightfield and erode individually? And how do I deal with flow maps for masking? Hope there is a User Guide coming soon. Thanks!
Title: Re: Classic Erosion plugin
Post by: D.A. Bentley (SuddenPlanet) on March 11, 2019, 04:37:51 PM
Thanks Daniil!  It's working Great!  :)

-Derek
Title: Re: Classic Erosion plugin
Post by: D.A. Bentley (SuddenPlanet) on March 11, 2019, 04:48:15 PM
Quote from: surrealdan on March 11, 2019, 10:45:55 AM
Hey, I just purchased the plugin recently and its great! Just had some questions when dealing with multiple or large scale terrains. Is it better or do I apply the erosion to all the heightfields in the scene? or do I create an erosion node for each heightfield and erode individually? And how do I deal with flow maps for masking? Hope there is a User Guide coming soon. Thanks!

Hey SurrealDan,

I would start by reading this thread:  https://planetside.co.uk/forums/index.php/topic,23764.msg240241.html#msg240241 (https://planetside.co.uk/forums/index.php/topic,23764.msg240241.html#msg240241)
There is a lot of info there, and you will want to be sure to grab the maps.tgd file which will make it easy for you to set up and use the generated maps as masks without the need to first save out the maps as bitmaps (png).  You can however save out your generated maps if you wish.

I would recommend experimenting with erosions on different size terrains at different resolutions and see what works for you.  If you want lots of detail the 16k size erosion can take awhile to process, so I would definitely save out the .erd file from the HDD tab if you want to keep the erosion data (16k erosions save out as over 4GB of data).  I tend to just have one erosion per scene in the area the camera will see if I'm doing a still render.  If your doing an animation then you may need to break up your erosions into multiple nodes.

Hope that helps,

-Derek
Title: Re: Classic Erosion plugin
Post by: Daniil on March 14, 2019, 03:20:30 AM
Quote from: surrealdan on March 11, 2019, 10:45:55 AM
Hey, I just purchased the plugin recently and its great! Just had some questions when dealing with multiple or large scale terrains. Is it better or do I apply the erosion to all the heightfields in the scene? or do I create an erosion node for each heightfield and erode individually? And how do I deal with flow maps for masking? Hope there is a User Guide coming soon. Thanks!

Hello,

I am working on user manual, but really slowly, sorry.

About using of erosion shader on multiple heightfields. It depends on multiple things. If your whole terrain consist of multiple heightfields, which are placed in a grid with no gaps inbetween, then certainly one global erosion shader would be enough.

And if you use several heightfields which are placed non-uniformly and have different spatial resolution (I mean size of a single heightfield cell, not actual heightfield resolution), for example, you have heighfield for your main scene where camera is located and one huge heightfield for background, then probably it is better to use two erosion nodes: one for each heightfield, and set erosion shader's sizes and resolutions accordingly to your heightfields (the same or higher, as erosion can add finer details, especially if some fractal details applied before erosion).

On the other hands, you can have several heightfields located relatively near to each other with some gaps inbetween, and want to fill these gaps - one single erosion shader would be better, as it can fill the gaps with deposition, and make heightfield edges looking more natural. Even better: you can add some fractal terrain filling these gaps, and erosion will make natural transitions between heightfields and procedural fractal details.

Just remember that single global erosion method (with high resolution) can require much more RAM and CPU than multiple lesser eroded areas having lesser resolution. But may be it is also easier for use.

Daniil
Title: Re: Classic Erosion plugin
Post by: Hubert_Holin on November 05, 2019, 03:54:07 PM
Bonjour

Not molesting departed equines, but... how a MacOS version now? In case this helps, have dev tools, can compile ;-) I know how to sign NDAs as well!

At any rate, thanks for your work.

Hubert Holin
Title: Re: Classic Erosion plugin
Post by: WAS on January 01, 2020, 02:57:49 PM
Speaking of Mac, what about Linux for the Render Node? If it did work, I'm not sure how I would set the license with no prompts.
Title: Re: Classic Erosion plugin
Post by: Daniil on January 05, 2020, 02:50:14 PM
Classic Erosion v1.1.4 (https://daniilkamperov.com/downloads/#classic-erosion)
bug fixed: In thermal erosion, when "Model B" was used, disabled "Smoothness" parameter still affected the erosion in a bad way (if was previously set for "Model C").
new default settings: I changed default erosion settings to that are probably better "allrounders" than were before and better act as the base settings for the most of scenarios.

Besides this, I also have uploaded long-awaited user guide (https://daniilkamperov.com/download/Classic-Erosion-User-Guide.pdf). It probably isn't finished yet, and certainly requires some editing, so, if you have any wishes, questions, or just want to report any grammar and other errors, related to my bad English, please contact me support@daniilkamperov.com.

I decided to not include this user guide to installation package yet, partly because it probably requires editing, and partly because I am not sure if it is a good idea to create Start menu program group just for a shortcut to installed manual.

So, currently it is available online (https://daniilkamperov.com/download/Classic-Erosion-User-Guide.pdf).

Quote from: Hubert_Holin on November 05, 2019, 03:54:07 PMNot molesting departed equines, but... how a MacOS version now? In case this helps, have dev tools, can compile ;-) I know how to sign NDAs as well!
Hello Hubert,
There is no macOS version, as macOS Terragen SDK isn't available yet. I am sorry.

Daniil
Title: Re: Classic Erosion plugin
Post by: KyL on January 05, 2020, 06:31:28 PM
Awesome! Thanks so much Daniil. :D
 I'm glad to see updates from you about this great plugin.
Title: Re: Classic Erosion plugin
Post by: Dune on January 06, 2020, 01:53:43 AM
Great! Thanks very much indeed, Daniil! The guide looks awesome with all the examples.
Title: Re: Classic Erosion plugin
Post by: sboerner on January 06, 2020, 11:11:33 AM
Thank you, Daniil! I am just learning to use the plugin and the guide will be a huge help.
Title: Re: Classic Erosion plugin
Post by: Daniil on January 06, 2020, 02:09:25 PM
Hello Bastien, Ulco and Steve! I am glad you like it.

I have just uploaded a new version, 1.1.4.1 (https://daniilkamperov.com/downloads/#classic-erosion). Just slightly modified default values, made it a bit less agressive. I wouldn't report this micro change and would made it a silent update, but I discovered that previous version had a bug: new default settings could break compatibility with very old terragen projects, using Classic Erosion, so I wrote a fix (new default settings and non-broken compatibility) and made it a non-silent update, so it will ask to download a new version.

Daniil
Title: Re: Classic Erosion plugin
Post by: Hetzen on January 06, 2020, 02:30:12 PM
That documentation is very informative, thank you for the update too Daniil.
Title: Re: Classic Erosion plugin
Post by: WAS on January 06, 2020, 02:54:06 PM
I hope I see more of this plugin used in TG. It's amazing. Always love playing with it.

Would love to see a snow feature maybe someday in the future to easily add built up soft areas.
Title: Re: Classic Erosion plugin
Post by: Daniil on April 18, 2020, 02:56:44 PM
Hello,

just wanted to show how you can use thermal erosion for getting lava flows. The overall idea is to use thermal erosion simulation to move sediment down the volcano slope, like lava.

1. Let we have our volcano.
volcano.jpg
To not destroy our volcano we should add some "material" to the scene and apply thermal stress to it.

2. We can use Simple Shape Shader as our "material emitter", using its displacement to add some material, and also using its color output as a mask for thermal erosion, to prevent destroying of all volcano.
lava_emitter.jpg

3. Next we add Classic Erosion node, set "Fluvial erosion strength" to 0, enable strong thermal erosion (set its strength to 10 or 15), and mask it by our lava emitter.
(volcano_with_lava.jpg) Excuse me for simple non-realistic smoke, it's just a very quickly added cloud.

volcano_with_lava.jpg

I've also attached .tgd for this scene. Use "Displacement amplitude" of "Lava emitter" node to control the amount of lava in the scene, and "Duration" of "Lava" node to control lava flow length.

Daniil
Title: Re: Classic Erosion plugin
Post by: WAS on April 18, 2020, 04:39:06 PM
Quote from: blinkfrog on April 18, 2020, 02:56:44 PMHello,

just wanted to show how you can use thermal erosion for getting lava flows. The overall idea is to use thermal erosion simulation to move sediment down the volcano slope, like lava.

1. Let we have our volcano.
volcano.jpg
To not destroy our volcano we should add some "material" to the scene and apply thermal stress to it.

2. We can use Simple Shape Shader as our "material emitter", using its displacement to add some material, and also using its color output as a mask for thermal erosion, to prevent destroying of all volcano.
lava_emitter.jpg

3. Next we add Classic Erosion node, set "Fluvial erosion strength" to 0, enable strong thermal erosion (set its strength to 10 or 15), and mask it by our lava emitter.
(volcano_with_lava.jpg) Excuse me for simple non-realistic smoke, it's just a very quickly added cloud.

volcano_with_lava.jpg

I've also attached .tgd for this scene. Use "Displacement amplitude" of "Lava emitter" node to control the amount of lava in the scene, and "Duration" of "Lava" node to control lava flow length.

Daniil

That's clever, very cool Daniil! Thanks for sharing.
Title: Re: Classic Erosion plugin
Post by: Dune on April 19, 2020, 01:54:05 AM
Great little lesson, Daniil! Thanks for sharing.
Title: Re: Classic Erosion plugin
Post by: Hannes on April 19, 2020, 05:42:27 AM
Thanks a lot!!
Title: Re: Classic Erosion plugin
Post by: j meyer on April 19, 2020, 12:03:29 PM
8) Nice share, thanks kindly.
Title: Re: Classic Erosion plugin
Post by: WAS on April 20, 2020, 02:54:47 PM
Hey @blinkfrog  I seem to be having a issue with the Rivers mode where part of the flows map just isn't available compared to what's visibly cut-out in the terrain. Here is the flows map just stuck right on a surface layer. Notice the flows continue down the slope, but the flows map doesn't.

This is under TG 4.4.60

Edit: I haven't checked as my systems tied up but it occurred to me that this may be related to negative displacement. Where the flows cut off seems to be right around where "0" is in the altitude of the planet. This might be a bug.
Title: Re: Classic Erosion plugin
Post by: Daniil on April 21, 2020, 09:55:16 AM
Quote from: WAS on April 20, 2020, 02:54:47 PMHey @blinkfrog  I seem to be having a issue with the Rivers mode where part of the flows map just isn't available compared to what's visibly cut-out in the terrain. Here is the flows map just stuck right on a surface layer. Notice the flows continue down the slope, but the flows map doesn't.
This is under TG 4.4.60
Edit: I haven't checked as my systems tied up but it occurred to me that this may be related to negative displacement. Where the flows cut off seems to be right around where "0" is in the altitude of the planet. This might be a bug.
Thank you for the report. Could you please share the .tgd with this problem? You can send it to support@daniilkamperov.com
Title: Re: Classic Erosion plugin
Post by: WAS on April 21, 2020, 02:09:37 PM
I forgot to save the project cause I was having such issues, but going and recreating it (with negative displacement and all) I can't reproduce it, so it may have been a bug, which may have been the maps. Cause when I switched to River Mode I did noticed the maps didn't change to river maps even after rendering. I forgot to mention that.
Title: Re: Classic Erosion plugin
Post by: Daniil on July 03, 2020, 01:45:33 AM
Now when Terragen 4.5.x Frontier builds are available, I want to make an announcement.

! ! !  I M P O R T A N T  ! ! !

Classic Erosion versions up to 1.1.4.1 are not compatible with Terragen 4.5 and higher.

You need to install Classic Erosion v1.1.5 (https://daniilkamperov.com/downloads/#classic-erosion) which is compatible with Terragen 4.5 and higher.

For Terragen 4.4.x and older you have to use 1.1.4.1 as before.

Daniil
Title: Re: Classic Erosion plugin
Post by: icarus51 on July 03, 2020, 02:46:27 AM
Hi Daniil.


The Classic Erosion plugin has been installed and works on TG 4.5.38 but the other two you have done? Do you foresee updates for these?

Thanks in advance
Title: Re: Classic Erosion plugin
Post by: icarus51 on July 03, 2020, 02:48:14 AM
Message deleted.
Title: Re: Classic Erosion plugin
Post by: Daniil on July 03, 2020, 03:05:09 AM
Quote from: icarus51 on July 03, 2020, 02:46:27 AMHi Daniil.


The Classic Erosion plugin has been installed and works on TG 4.5.38 but the other two you have done? Do you foresee updates for these?

Thanks in advance
There is the new updated version of Procedural Erosion in corresponding topic. That's all, I haven't publicly released any other plugins. Probably you mean dkerosion? This is just the older version of Procedural Erosion.

Daniil
Title: Re: Classic Erosion plugin
Post by: mhaze on July 04, 2020, 05:15:28 AM
It's not working for me! I get the message. The procedure entry point?Spawn@trShader@MEAAJAEAVtrRenderState@@@Z could not be located in the dynamiclink library C:\ProgramFiles\Planetside Software\Terragen 4\ dkproceduralerosion.tgp
Title: Re: Classic Erosion plugin
Post by: mhaze on July 04, 2020, 05:17:26 AM
Ok I've found the problem.
Title: Re: Classic Erosion plugin
Post by: icarus51 on July 04, 2020, 09:34:25 AM
All Right Daniil. Yes, i referred to DKerosion but now all is working. There are others problems with new Update, not from your files.   :)
Regards.
Title: Re: Classic Erosion plugin
Post by: WAS on July 09, 2020, 05:18:25 PM
@blinkfrog  will this plugin get a Linux release to use with the Render Node?
Title: Re: Classic Erosion plugin
Post by: WAS on December 21, 2020, 04:09:45 PM
There seems to be a problem with eroding a merged terrain, where it seems to be eroding only one of the mixed terrains.

PS @Matt, or @Kevin Kipper I think this topic should be pinned along with the procedural plugin. I had to search for it.
Title: Re: Classic Erosion plugin
Post by: Dune on December 22, 2020, 01:55:47 AM
I can't imagine it does that. Did you try with say 2 simple shapes?
Title: Re: Classic Erosion plugin
Post by: WAS on December 22, 2020, 02:07:27 PM
No, im not sure how that relates to texture space merging.

It could be because of rivers mode. Beyond flows there seems to be no rivers into any valley. It only seems to be eroding the rough mixed terrain, not the valleys with fat less disp. Just flattens it out.
Title: Re: Classic Erosion plugin
Post by: Dune on December 23, 2020, 03:06:13 AM
I mean 2 simple terrains, so you can more easily see what's happening. You can't see it in your screenshot.
Title: Re: Classic Erosion plugin
Post by: Valri on January 27, 2021, 09:51:23 PM
I've been out of the loop for a while, but has a fix been found for Daniil Kamperov's Classic Erosion plugin yet?
Title: Re: Classic Erosion plugin
Post by: WAS on January 28, 2021, 12:39:39 AM
Quote from: Valri on January 27, 2021, 09:51:23 PMI've been out of the loop for a while, but has a fix been found for Daniil Kamperov's Classic Erosion plugin yet?
Do you mean an update for the incompatibility with latest versions? Then yes.
Title: Re: Classic Erosion plugin
Post by: WAS on March 12, 2021, 04:35:43 PM
One thing I noticed, but I'm not sure can be remedied is the shader doesn't recognized disabled nodes, and won't re-erode. You gotta delete/unplug said diabled sahders.
Title: Re: Classic Erosion plugin
Post by: fenwick on April 13, 2021, 08:44:19 PM
Where should I install the classic erosion file ?
Thanks Fenwick
Title: Re: Classic Erosion plugin
Post by: WAS on April 13, 2021, 09:40:49 PM
Terragen installation folder, in the Plugins folder.
Title: Re: Classic Erosion plugin
Post by: Alvin R.F. on June 04, 2021, 05:36:53 PM
Is there a walkthrough of how to install the plugin I am new to this? I watched the youtube tutorial and found it helpful but was stuck at the park of downloading and installing the plugin. It did not immediately populate when I went in to add Terrain > Displacement Shader.... 

Any help or guidance is greatly appreciated.

Thanks.
Title: Re: Classic Erosion plugin
Post by: Dune on June 05, 2021, 02:48:19 AM
Did you add the erosion plugin in the main line of nodes after the terrain fractal? Otherwise post the tgd you worked on, and one of us can see what you did wrong.
Title: Re: Classic Erosion plugin
Post by: WAS on June 05, 2021, 01:15:41 PM
You need to put the dkclassicerosion.tgp into C:\Program Files\Planetside Software\Terragen 4\Plugins folder, or wherever you installed Terragen to.

Then restart Terragen and it will show up under the following:

Terrain -> Add Terrain -> Dispalcement Shader -> (Danill Kamperov) Classic Erosion
Right-Click in Node Network -> Create Shader -> Displacement Shader -> (Danill Kamperov) Classic Erosion
Hit Tab to open Node Palette -> Search "Classic" or select the "Shader > Displacement" category; then select (Danill Kamperov) Classic Erosion
Title: Re: Classic Erosion plugin
Post by: Dune on June 06, 2021, 01:31:38 AM
You're elaborate, Jordan. I am always a bit careful with a first time poster, as it may be a spammer coming in quietly ;)
We'll see...
Title: Re: Classic Erosion plugin
Post by: WAS on June 06, 2021, 03:00:27 AM
Quote from: Dune on June 06, 2021, 01:31:38 AMYou're elaborate, Jordan. I am always a bit careful with a first time poster, as it may be a spammer coming in quietly ;)
We'll see...

I did it to refer to, as this has been asked too many times as is.

Also good to just provide the best support possible, every time.
Title: Re: Classic Erosion plugin
Post by: Alvin R.F. on June 14, 2021, 08:26:58 PM
Hi,

Thank you for your response. I can assure you, I am no spammer but do appreciate the clarification. I followed the instructions you have provided and it worked!

Thanks

Alvin
Title: Re: Classic Erosion plugin
Post by: Dune on June 15, 2021, 02:42:45 AM
Glad you're not another spammer! Welcome!
Title: Re: Classic Erosion plugin
Post by: WAS on July 22, 2021, 02:05:24 PM
I know you aren't really looking to update this plugin in the foreseeable future, @blinkfrog but one little thing that would be nice is when a shader is eroding, it said the shaders name in the prompt window. I am now using a LOT of erosion shaders and it would be beneficial to know where I am in progress, which also may indicate bad settings and exaggerated processing times.
Title: Re: Classic Erosion plugin
Post by: Daniil on August 21, 2021, 01:42:31 PM
Classic Erosion v 1.1.6 (https://daniilkamperov.com/downloads/#classic-erosion)

Changes:

- Improved stability (fixed freezes, crashes and memory leaks);
- Improved portability (it isn't necessarily to run installer; simple copying of dkclassicerosion.tgp to "\plugins\" subfolder of Terragen is enough; previously this worked too, but there were problems with registration);
- Improved performance (a little);
- Progress window (and log) now displays the name of erosion node. Useful when you have multiple nodes, named differently;
- Progress and registration window sizes are corrected.


Daniil
Title: Re: Classic Erosion plugin
Post by: WAS on August 21, 2021, 03:29:45 PM
Quote from: blinkfrog on August 21, 2021, 01:42:31 PM- Progress window (and log) now displays the name of erosion node. Useful when you have multiple nodes, named differently;
Awesome! Thanks for the consideration, Daniil.
Title: Re: Classic Erosion plugin
Post by: WAS on August 23, 2021, 01:48:43 AM
I'm not sure if this is just me, but I notice that the "improved performance" seems a little slower for me doing a relatively small 4K erosion of just a 2k meter area. In addition, I can't run music at all while this operation is going on, youtube and the computer get choppy (music glitchy, pages scrolling glitching, text taking awhile to catch up while I write this).

Not to big of a deal work wise as I can just plug in my phone for music, but I do wonder if it's using too much of the CPU, and at the same time I wonder if the plugin can follow the settings and CPU thread limit (like if I have 10 of 12 set, it uses 10 threads).

Also wonder if anyone else notices it's a little heavier on their CPU? Just me? I know my CPU is really barely mid-range these days...
Title: Re: Classic Erosion plugin
Post by: Dune on August 23, 2021, 01:51:23 AM
I can't really tell, but well, I'm on my new machine and it takes very little time. Can't compare that.
Title: Re: Classic Erosion plugin
Post by: Lithium on August 28, 2021, 01:33:46 AM
I'm having some troubles downloading this plugin, and downloading plugins in general, by any case, how should I install it?
Title: Re: Classic Erosion plugin
Post by: Daniil on September 01, 2021, 02:33:59 PM
Quote from: Lithium on August 28, 2021, 01:33:46 AMI'm having some troubles downloading this plugin, and downloading plugins in general, by any case, how should I install it?
Hello, could you please elaborate what problems do you have?

You need to download the latest version of installer here: https://daniilkamperov.com/downloads/#classic-erosion
Then you need to launch the installer and follow all the steps of installation procedure. After the installer completes installation, you can launch Terragen and use the plugin, which adds Classic Erosion node in the Displacement group of shaders.

Daniil
Title: Re: Classic Erosion plugin
Post by: Dune on September 02, 2021, 02:16:38 AM
I think it's a spammer, Daniil, but I'm not sure. First post, immediately going to your (this) plugin, mmmm.
Title: Re: Classic Erosion plugin
Post by: icarus51 on September 28, 2021, 12:01:14 PM
I don't manage to install Classic Erosion 1.1.6. I start the installer (Repair) and then i start Terragen but i find the old file 1.1.5. In the plugins folder i find this old version. In the zip file i see only the installer, no file dkclassicerosion.tgp. The old version works but the new is missing. New version is signalled in the plugin window in Terragen like update. :(
Title: Re: Classic Erosion plugin
Post by: WAS on September 28, 2021, 04:08:27 PM
The installer may not have privileges to overwrite files, or something, so maybe try deleting the original plugin from within Terragen's plugin folder (backing it up to the desktop or something before deleting it). Then try to run the installer again.
Title: Re: Classic Erosion plugin
Post by: icarus51 on September 28, 2021, 04:55:34 PM
Hi Jordan,

I've made this but nothing.
Deleted the plugin after backup and played the installer.
Closed and Rebooted  the PC. Nothing  at all but Terragen starts without the old plugin so i have to copy the old pluging in the plugin folder to find again it in TG, otherwise i cannot play not even the old version that i've registered. It's a mistery that i have to investigate later.
Thanks for your reply.
Title: Re: Classic Erosion plugin
Post by: icarus51 on September 28, 2021, 05:14:11 PM
If i start the installer to extract to the plugin folder the program says "no file to extract". In the folder that i've downloaded from Daniil site really i don't see any dkclassicerosion.tgp. There is not. Perhaps this is the issue.
Title: Re: Classic Erosion plugin
Post by: Daniil on September 29, 2021, 07:10:31 AM
Quote from: icarus51 on September 28, 2021, 12:01:14 PMI don't manage to install Classic Erosion 1.1.6. I start the installer (Repair) and then i start Terragen but i find the old file 1.1.5. In the plugins folder i find this old version. In the zip file i see only the installer, no file dkclassicerosion.tgp. The old version works but the new is missing. New version is signalled in the plugin window in Terragen like update. :(
Hello. The installer package from the official site contains only .msi file which extracts dkclassicerosion.tgp automatically. It should work though. If it doesn't, you can try to uninstall the previous version first (via Windows Control panel or App settings) and try a clean install (it will keep your license activated, so you don't need to enter your serial number again).

In case if this doesn't help, you can try manual installation. Download this archive https://daniilkamperov.com/download/dkclassicerosion_v1_1_6.zip and extract .tgp file to /Plugins/ subfolder in Terragen folder.

Daniil
Title: Re: Classic Erosion plugin
Post by: icarus51 on September 29, 2021, 09:33:27 AM
Hi Daniil,

Finally the plugin works.
Many thanks for your reply and help.

Claudio
Title: Re: Classic Erosion plugin
Post by: xpez2000 on September 30, 2021, 06:16:40 AM
does the classic erosion work on heightfield displacements. If anyone know can you tell me where it goes in the terrain heightfield  hierarchy? When I put it at the end of say load Heightfield / adjust vertical / resize / classic erosion... it made all the other landscape fractal displacements disappear and didn't affect the heightfield map. i am kind of confused.. I will keep trying different things though.
Title: Re: Classic Erosion plugin
Post by: Daniil on October 01, 2021, 01:18:05 PM
Quote from: xpez2000 on September 30, 2021, 06:16:40 AMdoes the classic erosion work on heightfield displacements. If anyone know can you tell me where it goes in the terrain heightfield  hierarchy? When I put it at the end of say load Heightfield / adjust vertical / resize / classic erosion... it made all the other landscape fractal displacements disappear and didn't affect the heightfield map. i am kind of confused.. I will keep trying different things though.
Hello,
I've tried briefly and can't reproduce this problem. 
Could you please upload the .tgd?
Also, just in case, if your heightfield is located in different position than (0, 0) (Center), then you need to change location of Classic Erosion node accordingly ("Heightmap position" parameter). And, if you need to erode just heightfield, but leave landscape outside of it intact, you need to enable "Render outer terrain" checkbox.

Daniil
Title: Re: Classic Erosion plugin
Post by: Tobinejumi on May 06, 2023, 05:23:42 AM
Hi!
Any chance for the Mac version? Ready to pay in advance if it will help.