Archive

Archive for March, 2008

Human body decorator

19 March, 2008 2 comments

In Krita we want almost everything to be plug-ins and extensible. And since yesterday, it’s now possible to add new type of canvas decorators (grids or guides are decorators, for instance). The main reason I did that (besides having some code of Krita becomes cleaner) is because I wanted to have a “human body” decorator. Usually, when I draw (or more like attempt to) a human, I start with a wire frame representation of the body pose, then add rectangle that indicates the muscles, then I start to draw what will differentiate the human from an other human. As both the wire frame representation, and rectangle representation looks very similar from a drawing to an other (except for the pose), I considered that having a canvas decorator for this would be a cool idea and a time saver idea.

I hope it’s a little more by kids-safe and that it is obvious that is a girl 😉 (if you think not, close your eyes).

Currently, it’s only a not very practical wire frame body, without constraints.

Crash-free painting in Krita 2.0 !

11 March, 2008 3 comments

It’s quiet a nice achievement to be able to use for an hour without a crash (and I stopped it because I got tired) a development version, that got many many changes in its internal libraries. Yesterday, Boudewijn commited a change that make it possible to draw without getting a crash after a few strokes. And today I decided to celebrate this by using krita2 for a little drawing.

OpenGTL and QtCTL 0.9.1

3 March, 2008 1 comment

A new release of OpenGTL (or more like the first, as the previous release only contains OpenCTL), my Graphics Transformation Languages library, is available. This release contains a much improved CTL (Color Transformation Language) interpreter (if we can call this, as it is in fact a JIT thanks to the use of the llvm).

The main new features of this release is the possibility to manipulate a buffer of pixel. And to demonstrate the use I made a small application example. I would have loved to make a screencast (things are more lively that way, but I must second Aaron’s feeling xvidcap hangs on debian, and I couldn’t find out to make recordmydesktop records only a small part of a screen, and just the thought of post-editing scares me, yeah I am easily scared, but if you blink fast and can synchronize your blinking with the scrolling, you can see a short animation below !).

There is nothing extraordinary in those screen shots, except that you can dynamically change how the pixels of the image are transformed, and it’s fast.

Nothing to see in the first screen shot, except the original image which is a picture of the Cathedral of Amiens (according to the guide, the biggest, the greatest, the fastest build of all Cathedral… from France):

The first CTL program remove the green channel:

This one invert the color of the previous image:

This one invert the color of the original picture:

And this one swap channels:

You can download it from here OpenGTL.

And now, what remains is fixing the bugs, finishing the CTL Standard Library, fixing the bugs, write a real world usuage, fixing the bugs (didn’t I already said it ?).