|
![](/i/fill.gif) |
Florian Brucker nous apporta ses lumieres en ce 07/12/2006 10:21:
> nemesis wrote:
>> OTOH, is there real need for a single file with 50+ parameters? Must the
>> user actually set all of those any time they call the include?
>> If they are needed, then it's not much better than a 50+ parameter macro
>> call, except parameters are named.
> Most of them have sensible default values, so normally you don't need to
> change all of them for every run. But it depends on the scene which
> parameters you have to tweak, so using a fixed declare/parameter
> combination is not feasible. If those include files were for public use
> I'd create a more userfriendly interface by reducing the possible
> parameters. But these are rather experimental files for trying out
> different algorithms, so I prefer the freedom over the simplicity :)
> Regards,
> Florian
An example of an include that can need 50+ parameters: blob man. Most parameters
have default values, you only change those you need using many #declare.
--
Alain
-------------------------------------------------
'I never met a piece of chocolate I didn't like.'
Post a reply to this message
|
![](/i/fill.gif) |