On Sat, Nov 22, 2014 at 6:10 AM, Marcello Perathoner <marce...@perathoner.de
> wrote:
> On 11/21/2014 05:29 PM, johannes hanika wrote:
>
> i would like to avoid that if possible. how are your brush strokes
>> different from masks? you need additional data in form of a displacement
>> vector? i guess this is where we have to face from a technical side that
>> dt
>> isn't make for this kind of task.
>>
>
> I need a displacement vector, a hardness, and some flags to store the mode
> (linear, radial, swirl, ...).
>
> I already used the masks module in a first attempt, the masks module does
> 80% of what I need, but the missing 20% were hard to do with masks. And
> hacking the masks module to do what I want is much more intrusive than to
> just store my params somewhere.
>
>
> What about adding a blob to the history table for an iop to use at will?
> Darktable would only have to sync it to the sidecar files but not interpret
> it in any way.
>
not quite, dt is loading these things (reset button will overwrite it with
memcpy() for one, not to mention introspection..), also dt needs to manage
these params in the history stack in darkroom mode. that is a separate
in-memory data structure which is used to sync the params between threads,
not the database. i think you will cause some major changes throughout the
codebase when messing with the history params. not saying it's impossible,
but this wouldn't be the first path i would try to go.
>
>
> you can always create a second instance of the module if you need more
>> parameter space.. (not very elegant, but workable).
>>
>
> I know, but I'd still have to alloc a sizeable amount for every instance
> and that seems like a lot of waste.
>
>
> --
> Marcello
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel