Gpen for Krita's vector layer

I am trying to develop a Gpen for Krita’s vector layer.

I am trying to develop a Gpen for Krita’s vector layer by referring to the source code of Krita’s CalligraphyTool.

However, I don’t understand the source code at the hyperlink below, maybe because I haven’t studied it enough.

I want to develop a Gpen tip shape for Krita’s vector layer, not CalligraphyTool.

Could you please teach me?

Sorry, I think you need to be a bit more specific than that. If you have question about any specific section of the code, a function, or why things are done a certain way, perhaps then you will have more success getting answers.

Also, you probably don’t need to make a new topic for this – the ones you created previously were more or less about this already.

Lastly, if you manage to make any worth sharing code changes, you could open a draft PR and ask questions there alongside the code, so it may be easier to refer to specific lines.

3 Likes

Hey Jun, +1 here with @YRH about being more specific about the Gpen tip shape.

I also wanted to link here to the study blog-post of one of the main Krita dev Study of Editable Strokes for Inking – Wolthera.info , it’s full of brilliant examples and links, and it might help your researches.

3 Likes

The ability to specify width(Node-by-node) for line drawing nodes in vector layers is a standard feature in CLIP STUDIO PAINT (CSP), and CLIP STUDIO PAINT (CSP) is the defact standard tool for manga artists (comic writers) in Japan.

I wish a task team could be formed to develop this feature in Krita.

I’m sure we’ll also need programmers who are knowledgeable in mathematics, such as Centripetal Catmull-Rom splines.

2 Likes

@jun : to form a task team around a specific topic like this one that can require a lot of development and testing time, the core team will need a larger budget. Krita core dev team is community funded, they need more supporters to hire more.

2 Likes

@Deevad

I’m grateful to you.

Unfortunately, I don’t trust the Krita core dev team.

Even if I donate to Krita, the Krita core dev team will use my donation for something other than the implementation of this feature.

I guess I’ll have to program(ing) it myself.

I was thinking in Beting all over to wait the QT6 implementation, as you see its very difficult at the moment since at the beginning of 2024 they have dealing with difficulties with the development of Krita 5.3. Its have been talking about the potential of how QT6 would be the answer for all the issues and feature requests that would be only possible to achieve with Krita 6.0. Even they for the Gpen Vector layer, they are some ideal features that need to be added, just like the tapered strokes, Force-Fade Post-Processing For Line Strokes and Brush Fade/Distance sensors: add auto-distance for painting tools. This features they are needed for the goal of a proper Ink Gpen Vector layer behavior (In my humble opinion), as you see how they works just in the case for Ibispaint and Clip studio paint, maybe that would be a very proper step for working in something that could be a benefit for the Gpen vector, you must understand that this is not the first time of this type of situation happen, its a matter of research, patiente, and effort. Even for me i a more happy to see what its krita Become with the 5.3 next update. So please, if you have the chance for hired a proper dev for working in the coding of this that would be the ideal choice. The rest of the devs are working in the next release of Krita that would be lead to the possibility of working for Krita 6.0 as a major goal.

2 Likes

Jun, if you are a developer yourself, or someone with a lot of willpower to learn technical stuff, I strongly advise that you try to implement it yourself. It will be difficult and long, but if you keep working on it, you should be able to succeed.

Krita developers, although very busy, are usually very receptive to contributions, and Dmitry who is the lead programmer reviews code and provides helpful comments to make the patch better. It really is possible to make changes in reasonable time.

I can tell from first hand experience. I’m not on the Krita team, yet I have made multiple contributions in the last two years, some even complex that seemed impossible at first. Having a person to own the task and drive it to the finish line is the most important thing.

5 Likes