Author Topic: A bug about Daniil Kamperov::Classic Erosion? And make recommendations.  (Read 301 times)

Offline gao_jian11

  • Member
  • *
  • Posts: 89
  I found that reading a large erosion data file in the new terragen4.3.16 caused a crash and a problem with storing the file. Is it a bug? It is suddenly thought that if classic erosion can export the calculated height map, it must be very useful to avoid calculating a lot of time of erosion. It can also be processed in other software (such as ps or world creator). Is it feasible? I want to export the height map. It is technically simple.
Please forgive me in English.

Offline WASasquatch

  • Member
  • *
  • Posts: 3052
  • The Homeless Landscape Artist
Re: A bug about Daniil Kamperov::Classic Erosion? And make recommendations.
« Reply #1 on: November 17, 2018, 04:37:43 AM »
To clarify, is this bug happening when you save, and than manually reload the file?
Art can be a window into the soul

Offline mhaze

  • Member
  • *
  • Posts: 3533
Re: A bug about Daniil Kamperov::Classic Erosion? And make recommendations.
« Reply #2 on: November 17, 2018, 12:02:25 PM »
Yes, I've had the same problem! Just not had enough time to investigate and report it.

Offline gao_jian11

  • Member
  • *
  • Posts: 89
Re: A bug about Daniil Kamperov::Classic Erosion? And make recommendations.
« Reply #3 on: November 17, 2018, 12:15:39 PM »
Yes, manual loading will also crash. There is a chance that a small erd file will be successfully loaded and large files will inevitably crash.

Offline WASasquatch

  • Member
  • *
  • Posts: 3052
  • The Homeless Landscape Artist
Re: A bug about Daniil Kamperov::Classic Erosion? And make recommendations.
« Reply #4 on: November 17, 2018, 06:25:51 PM »
Yes, manual loading will also crash. There is a chance that a small erd file will be successfully loaded and large files will inevitably crash.

So, I eroded the largest resolution overnight, and saved it this morning, and manually loaded it, it loaded fine. I than closed TG and double clicked the project to let it load with TG, it also loaded just fine. So I'm a little confused what may be causing this. Hopefully Danill can spot something. Additionally, I made the size of the heightmap to 100000 to ensure it was large. File came out to be 2.67gb.

Could it possibly be memory? I am only running on 4GB right now (one of my DIMMs failed during a cloud render), but I also have over 25GB swap on a 32GB dedicated drive, so it may have used my have used my commit and stabilized an issue that should have crashed me due to memory.

Other than memory it could be a change to the SDK conflicting with the plugin.
« Last Edit: November 17, 2018, 06:33:42 PM by WASasquatch »
Art can be a window into the soul

Offline WASasquatch

  • Member
  • *
  • Posts: 3052
  • The Homeless Landscape Artist
Re: A bug about Daniil Kamperov::Classic Erosion? And make recommendations.
« Reply #5 on: November 18, 2018, 06:39:34 PM »
Update: So I have downloaded TG 4.3 to see if I can reproduce the bug now that I am on the same version, and fortunately, I cannot.

TG loads the large erosion just fine, even manually loading it. Additionally, I can handle the ERD and a TER of the same land at the same resolution (though TG's copy is only 5xxmb due to I am guessing lack of maps and extra data).

Total TG is holding 5.3GB of Memory, so it is using 1.5GB Commit and, so if I save/load anything at this point I experience extremely slow wait times while Windows handles files from RAM and SWAP.

So I'm not sure what the issue is on your system. How big are the erosions?

Edit: I do notice some odd behavior. I loaded another project, my "Highland Mountains", and the plugin loaded the terrain, however, in the actual plugin it did not load the file according to it's "Read Now" input field, which was empty. So I loaded the file manually to see if this is where the bug is encountered, but it was able to load the 50km erosion though.
« Last Edit: November 18, 2018, 06:52:57 PM by WASasquatch »
Art can be a window into the soul

Offline gao_jian11

  • Member
  • *
  • Posts: 89
Re: A bug about Daniil Kamperov::Classic Erosion? And make recommendations.
« Reply #6 on: November 19, 2018, 04:51:24 AM »
Thanks to WASasquatch! Maybe this is not a universal phenomenon? Retesting today shows that the .erd file is invalid, there is no read action, and it will crash if it is successfully read. My file version is as shown. The operating system is win10 Chinese version.
« Last Edit: November 19, 2018, 04:57:41 AM by gao_jian11 »

Offline WASasquatch

  • Member
  • *
  • Posts: 3052
  • The Homeless Landscape Artist
Re: A bug about Daniil Kamperov::Classic Erosion? And make recommendations.
« Reply #7 on: November 19, 2018, 05:06:24 AM »
Have you tried a new ERD? Like you mentioned, perhaps that ERD just somehow saved improperly. I also have v1.1.1 of DK::CE. Also tried a couple old erosions that were made on previous versions.
Art can be a window into the soul

Offline blinkfrog

  • Member
  • *
  • Posts: 119
Re: A bug about Daniil Kamperov::Classic Erosion? And make recommendations.
« Reply #8 on: November 25, 2018, 07:07:17 PM »
  I found that reading a large erosion data file in the new terragen4.3.16 caused a crash and a problem with storing the file. Is it a bug? It is suddenly thought that if classic erosion can export the calculated height map, it must be very useful to avoid calculating a lot of time of erosion. It can also be processed in other software (such as ps or world creator). Is it feasible? I want to export the height map. It is technically simple.
Please forgive me in English.
Hello,

did you use "rivers mode" in this scene? If yes, then it was a bug that is fixed in new version.

Daniil

Offline gao_jian11

  • Member
  • *
  • Posts: 89
Re: A bug about Daniil Kamperov::Classic Erosion? And make recommendations.
« Reply #9 on: November 27, 2018, 11:47:03 PM »
Yes, the new version replies normally.