noise generators (forked from: Krita user community?)

Boudewijn Rempt boud at valdyas.org
Mon Feb 25 20:09:09 CET 2008


On Monday 25 February 2008, Boudewijn Rempt wrote:

> * add a color model that contains the 2 channels
> * add a plugin type that exposes a generate data function and a
> colormapping function.
> * add a node type that contains that plugin, a source paint device in the 2
> channel color model and a projection in a regular color model
> * add a layer properties dialog that allows setting the data for both
> functions in the plugin and has a regenerate button
>
> The color mapping could be called in the updateProjection, and so be
> dynamic, or not (setting determined by the plugin),  the generate function
> would be explicitly called by user action.
>
> Two evenings for the framework; then you'd have to write the plugin :-)

Come to think of it, it would be nice if we could use such generators as input 
for masks, too. That's a bit harder with the current structure, more 2.1 
stuff. The noise layer type thing is something that could easily be done for 
2.0.

Right now, nodes either take their parent (if they are masks) or the layer 
stack underneath them (if adjustment layer) or their (children) as input -- 
or a plain paint device with user-supplied content, such as an image from 
disk (but the content is not linked to that file, it's copied) or their own 
sketches. Fixing that limitation demands a little bit of thinking and a lot 
of work, particularly in the user interface.

-- 
Boudewijn Rempt 
http://www.valdyas.org/fading/index.cgi


More information about the kimageshop mailing list