This forum has been archived. All content is frozen. Please use KDE Discuss instead.

FOSS pixelart HD index painting: Krita is our only hope!

Tags: None
(comma "," separated)
sqrxz
Registered Member
Posts
1
Karma
0
anyone here likes inde games? Sword&Sworcery, Papers Please, Cave Story, Scott Pilgrim and Savant Ascent. All these are games that use pixelart.

Normally making a big detailed background in this style is very time consuming, borderline impossible. BUT recently a seasoned pixeler came up with a way to use regular digital painting and color reduce it in real time using Filter layer, this eases the process tremendously and would allow a lot more people to do QUALITY pixelart.

http://www.danfessler.com/blog/hd-index ... -photoshop

Bad thing is this can only be done in photoshop, because of the specific adjustment layers it needs.

Krita has

Filter layers.
levels, color adjustment layers.
generated layers to fill the dither pattern.

but there is

No posterize filter layer.
No gradient mapping fitler layer.


these two tools would make a big difference for anyone trying to do this FOSS, the tutorial I linked crashed the pixelartist's site with traffic when it was released so it's not a fringe thing, there's a lot of people looking for a way to do this.

Please Kriya d contributors one and all consider implementing these two filters =O
slangkamp
KDE Developer
Posts
607
Karma
4
A posterize filter was added today.
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
What we also don't have, and I don't think we'll ever have, is an indexed colorspace, for instance for gif images. I'm not sure how important that is for pixelart, though.

Can you describe in more detail how exactly a gradient mapping filter layer should work? I'm not sure I got the description on the blog. Is it just a dynamic gradient blended with the underlying layer? If so, writing a gradient-based generator for the generator layers is maybe the easiest thing, and it would be _very_ easy, too.
User avatar
TheraHedwig
KDE Developer
Posts
1794
Karma
10
OS
The guy who made the posterize filter is working on a gradient map filter and a more controlable variation of the posterize filter.

In the meantime, you can get pretty far with the posterize filter. It posterizes per component(r,g,b,a) BTW.



User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
that's a really nice effect!
User avatar
scottpetrovic
Registered Member
Posts
520
Karma
4
OS
Looks nice. It would be neat to see how much farther you could push that effect. It looks like it can yield some cool results.
danfessler
Registered Member
Posts
1
Karma
0
Hey guys, I'm the dude who wrote that pixel art tutorial :)

boudewijn wrote:Can you describe in more detail how exactly a gradient mapping filter layer should work? I'm not sure I got the description on the blog. Is it just a dynamic gradient blended with the underlying layer? If so, writing a gradient-based generator for the generator layers is maybe the easiest thing, and it would be _very_ easy, too.


A gradient map simply maps a given color defined on a gradient (from 0% to 100%) to the equivalent value/brightness component (0% to 100%) of the pixel underneath. This is not a blend. It's better to think of it as a color replace based on brightness.

TheraHedwig wrote:

Pretty far indeed! Looks great! This exemplifies the need for the gradient map however. You can see how without it you don't have full control of how many colors you want to use due to it posterizing each of the RGB components separately. (notice how the dithering drastically increased from the black and white version) Keeping the source material black and white ensures that the posterize gives the same results on each channel allowing you to control how many finite colors you want to use - then map those to the desired palette with a gradient map.
User avatar
API-Beast
Registered Member
Posts
24
Karma
0
OS
@danfessler: I have written a small plugin which should be much better suited for HD Index painting. It works by dynamically indexing (rather than posterizing) the image.

Image

Upside is that you can paint in color and even mix between multiple ramps, and don't need a gradient map.

The palette itself is defined in the filter UI: http://wstaw.org/m/2014/05/19/plasma-desktopnvl446.png


Twitter: @API_Beast
User avatar
TheraHedwig
KDE Developer
Posts
1794
Karma
10
OS


Here's the firebird with Beast's new filter applied!
Amadiro
Registered Member
Posts
17
Karma
0
OS
I made this tutorial video, describing how to set this up, with example .kra file and some example artwork by both me and TheraHedwig:

https://www.youtube.com/watch?v=Vw4TKxULxSU
Drayldan
Registered Member
Posts
77
Karma
0
API-Beast wrote:@danfessler: I have written a small plugin which should be much better suited for HD Index painting. It works by dynamically indexing (rather than posterizing) the image.


Sounds promising, but where one could get it ??? :o

And the general question is will "gradient map" be available in Krita one day ???
It wouldn't be so cool if only commercial, clouded Photoshop
has got this nifty feature, anyway.... :| :'(
User avatar
TheraHedwig
KDE Developer
Posts
1794
Karma
10
OS
Drayldan, it's already in the development version of Krita.

Gradient map will be made availeble one day, though when depends on someone writing the filter. Api-Beast said he wanted to do some architectural work before writing more filters.
Drayldan
Registered Member
Posts
77
Karma
0
Hi Thera, what about this now? Any changes since you have answered this questions?

TheraHedwig wrote:Drayldan, it's already in the development version of Krita.

Gradient map will be made availeble one day, though when depends on someone writing the filter. Api-Beast said he wanted to do some architectural work before writing more filters.


Bu the way, Krita could have been used for creating graphics for "retro" platform like C64, Atari 8-bit, etc.
Just enable that "index-painting" and ability to use non-standard brush like pixel 2x1 (Atari and C64 works in 160x200 with that pixel-ratio).
There are couple of graphics-editros capable of doing so, like Cosmigo's PRO_MOTION
Is it possible in Krita? Hope so! :).
User avatar
TheraHedwig
KDE Developer
Posts
1794
Karma
10
OS
Drayldan wrote:Hi Thera, what about this now? Any changes since you have answered this questions?

TheraHedwig wrote:Drayldan, it's already in the development version of Krita.

Gradient map will be made availeble one day, though when depends on someone writing the filter. Api-Beast said he wanted to do some architectural work before writing more filters.


Bu the way, Krita could have been used for creating graphics for "retro" platform like C64, Atari 8-bit, etc.
Just enable that "index-painting" and ability to use non-standard brush like pixel 2x1 (Atari and C64 works in 160x200 with that pixel-ratio).
There are couple of graphics-editros capable of doing so, like Cosmigo's PRO_MOTION
Is it possible in Krita? Hope so! :).

There's a gradient map filter in, but it's not possible to use as a layer yet.

The rest of what you say requires such huge architectural changes for such a minor use-case that it might be better to write a new program.
Drayldan
Registered Member
Posts
77
Karma
0
TheraHedwig wrote:There's a gradient map filter in, but it's not possible to use as a layer yet.

When it will be available then? Thinking this hd-index painting could be done in Krita as well, makes me really good! :)


The rest of what you say requires such huge architectural changes for such a minor use-case that it might be better to write a new program.

It's a pity as the retro-demoscene is not kinda "unnoticeable" society if you might think so... :(

See for example:
https://pinterest.com/sirlazur/amiga-pixel-art/


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell