L3DT users' community
Large 3D terrain generator

Rain plug-in broken?

Correspondence concerning plugins and scripts; development, use, bugs and ideas.

Re: Rain plug-in broken?

Postby Barid » Mon Aug 13, 2012 5:27 pm

Script crashed as soon as it started to run, gave me this:

atRainMaker::Rain error
- inflow at pixel 0, 0 from pixel 0, 1 exceeded error threshold
- inflow = 900756353198782190000000000000000.000000
- outflow = 0.066510
- diff = 3603025412795128800000000000000000.000000
- flow threshold = 100.000000
Posts: 10
Joined: Tue Jul 24, 2012 3:49 pm

Re: Rain plug-in broken?

Postby Aaron » Tue Aug 14, 2012 11:16 am

Hi Barid,

Thanks again for the log. I think that nailed it. It was due to the initialisation of some values in an array being skipped by one loop but all values being read in another loop. I think the mis-match in the loops pre-dates the release of the plugin. Presumably for most users that have used this plugin in the past, the uninitialised values have happened to occupy memory that was previously zeroed by its last occupier, so everything worked nicely by luck.

Anyway, the updated plugin is available here:

http://www.bundysoft.com/L3DT/downloads ... er-bin.zip

Thank you for reporting this bug and for your assistance with debugging. Please let me know if you find any other problems with using the plugin or with the scripts.

Best regards,
User avatar
Site Admin
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia

Re: Rain plug-in broken?

Postby Barid » Wed Aug 15, 2012 6:54 am

Looks like that fixed it. Thanks much! The area I'm working on relies on rain water as the dominant factor for ground water, so it was important to get this working. Thanks again.
Posts: 10
Joined: Tue Jul 24, 2012 3:49 pm

Re: Rain plug-in broken?

Postby Telarus » Thu Aug 16, 2012 5:08 am

Oooh, nice work guys. I'll have to test this out!
Posts: 112
Joined: Mon Jun 01, 2009 12:34 am


Return to Plugins and scripts

Who is online

Users browsing this forum: No registered users and 3 guests