====== atRainMaker ======
===== Plugin information ===
^ Author | [[user>Aaron]] |
^ Description | An experimental plugin for water flow modelling. |
^ Download link | [[http://www.bundysoft.com/L3DT/downloads/plugins/bin/atRainMaker-bin.zip|atRainMaker-bin.zip]] [107kB] |
^ Last updated | 6th of August 2012. |
^ DLL version | 12.8.0.0 |
^ Dependencies | L3DT Pro v11.11 or later |
===== Using atRainMaker =====
Before we start I should point out that this calculation is rather intensive (read: slow), so as your first try with this plugin I recommend something unambitious, like a 512x512 map.
Anyway, on to the calculation. The plugin splits the calculation into three parts:
- Calculation of the rain flow maps.
- Filtering/processing of the rain flow maps.
- Overlaying the flow maps onto the water map.
This plugin has no user-interface, so each stage requires us to enter some simple scripts, which I've listed below.
==== Quick example script ====
Download {{:plugins:calc:atrainmaker:rainplugintest.zs|this script file}}, and put it in your L3DT script folder at:
^ Win 7 / Vista | C:\Users\[your username]\L3DT\Resources\[version]\Scripts |
^ Win XP / 2000 | C:\Documents and Settings\[your username]\L3DT\resources\[version]\Scripts |
Then:
* Start L3DT
* Load your map project
* Select the '//Scripts->More scripts...//' menu item
* Select the 'RainPluginTest' item from the list.
This will generate the rain depth mask using some default settings, which you can change by editing the script file ('//Scripts->Edit script//').
==== Calculating rain flow maps ====
Select the '//Scripts->New script//' menu option, and enter the following code:
calc.WM.rain 1 100 1 1 1
The function arguments for this script call are:
^ Name ^ Type ^ Default value ^ Description ^
| pHF | hvar |