====== Functions, lots and lots of functions... ====== Gidday, We're presently waiting for some QA to finish for L3DT release 2.5b. In the mean-time, I've started work on some of the new goodies planned for L3DT release 2.6. Today I'll describe the changes relating to extension functions, and in particular, new calculation functions. Firstly, in the next release there will be ~200 extension functions available in L3DT for use by plugin developers and script writers. Here's a screenshot of the [[bundywiki>plugins:general:atFuncBrowser|FuncBrowser]] plugin, showing just the heightfield functions:
calcman.RunCalcScript "calc.HF.Fractal 11 0.65 1000 false true"
By wrapping script calls in 'calcman.RunCalcScript', the script will //not// block L3DT's user interface until it completes - it will run in parallel like all of L3DT's core algorithms. The script will also be able to make use of L3DT's [[bundydocs>l3dt:userguide:dialogs:progress|multithreaded progress dialog]], allowing the user to 'cancel' the calculation, and also (optionally) providing decorations such as time estimates and result previews.
Anyway, it's going to take a little while for the full impact of these changes to be realised. I have yet to write all the documentation and examples to show plugin developers and script writers just how to use all these new tricks...and that might take a while. Nevertheless, things are in progress.
Cheerio,