[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: Layered animation export/import
From: Fazekas_László <mneko () freemail ! hu>
Date: 2016-02-22 19:38:50
Message-ID: 56CB63CA.706 () freemail ! hu
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi Dmitry,
I've downloaded the Krita source and now I'm trying to understand it.
First of all, my system (Ubuntu 14.04) seems won't be able to compile
Krita. A lot of things are missing (extra-cmake-modules, KF5 parts).
What is the recommended environment to compile this monster? Is it worth
to try it on 14.04? Also, if there is any good source of api
documentation about QT5 and Krita please tell me. Thanks.
I checked how could be possible to export into the CSV format. I have no
idea about the importing side yet. Blender's Python plugin system was
better, it's very easy to use.
The animation export in Krita goes through the kis_animaton_exporter.cpp
code. As I understand, there is only one hardwired option now: it loops
through the frames of the timeline, makes merged snapshots and saves the
pictures, probably with the image exporters from the plugins/impex folder.
For the CSV format, this is not usable, an image export plugin is not
enough (or it can be, but that's a very ugly hack). The exporter must go
through each of the layers separately, while saving pictures only at the
key frames. Additional information, like the layer's name, blending
mode, and transparency is also required.
Maybe the actual export system should move into a kind of animation
export plugin, with the possibility to use other plugins too. Or it can
remain in the library part, but with an option for this different
parsing mode. Either way, the CSV export is much easier then. I can
think about other formats with this layered exporting logic, like:
Flash, or Kdenlive (or other) video editor formats.
Fazek
2016-02-20 19:18 keltezéssel, Dmitry Kazakov írta:
> Hi, Fazekas!
>
> Thank you very much for your mail. The format you suggest is really
> interesting, I guess we should really have it in Krita. I have only one
> question actually:
>
> 1) Is there any official docs on the file format? I didn't understant only
> one field: "Field Mode". The only link I found is this [0]. But it doesn't
> have a progressive mode...
>
> [0] -
> http://www.tvpaint.com/doc/tvp11/index.php?id=lesson-first-steps-guides-animator-field
>
> PS:
> Btw, I you like, you can implement a plugin for Krita yourself. We already
> have a PNG export/import, we just need to save the proper CSV :) I will
> have time for that at the best in the end of April... :(
>
>
>
> _______________________________________________
> Krita mailing list
> kimageshop@kde.org
> https://mail.kde.org/mailman/listinfo/kimageshop
[Attachment #5 (text/html)]
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Dmitry,<br>
<br>
I've downloaded the Krita source and now I'm trying to understand
it.<br>
<br>
First of all, my system (Ubuntu 14.04) seems won't be able to
compile Krita. A lot of things are missing (extra-cmake-modules,
KF5 parts). What is the recommended environment to compile this
monster? Is it worth to try it on 14.04? Also, if there is any
good source of api documentation about QT5 and Krita please tell
me. Thanks.<br>
<br>
I checked how could be possible to export into the CSV format. I
have no idea about the importing side yet. Blender's Python plugin
system was better, it's very easy to use.<br>
<br>
The animation export in Krita goes through the
kis_animaton_exporter.cpp code. As I understand, there is only one
hardwired option now: it loops through the frames of the timeline,
makes merged snapshots and saves the pictures, probably with the
image exporters from the plugins/impex folder.<br>
<br>
For the CSV format, this is not usable, an image export plugin is
not enough (or it can be, but that's a very ugly hack). The
exporter must go through each of the layers separately, while
saving pictures only at the key frames. Additional information,
like the layer's name, blending mode, and transparency is also
required.<br>
<br>
Maybe the actual export system should move into a kind of
animation export plugin, with the possibility to use other plugins
too. Or it can remain in the library part, but with an option for
this different parsing mode. Either way, the CSV export is much
easier then. I can think about other formats with this layered
exporting logic, like: Flash, or Kdenlive (or other) video editor
formats.<br>
<br>
Fazek<br>
<br>
<br>
2016-02-20 19:18 keltezéssel, Dmitry Kazakov írta:<br>
</div>
<blockquote
cite="mid:CAEkBSfULiHe2t4=v-qN=uDnsysgfwU5iSq5uQ8ep89UDWkH9rQ@mail.gmail.com"
type="cite">
<pre wrap="">Hi, Fazekas!
Thank you very much for your mail. The format you suggest is really
interesting, I guess we should really have it in Krita. I have only one
question actually:
1) Is there any official docs on the file format? I didn't understant only
one field: "Field Mode". The only link I found is this [0]. But it doesn't
have a progressive mode...
[0] -
<a class="moz-txt-link-freetext" \
href="http://www.tvpaint.com/doc/tvp11/index.php?id=lesson-first-steps-guides-animator \
-field">http://www.tvpaint.com/doc/tvp11/index.php?id=lesson-first-steps-guides-animator-field</a>
PS:
Btw, I you like, you can implement a plugin for Krita yourself. We already
have a PNG export/import, we just need to save the proper CSV :) I will
have time for that at the best in the end of April... :(
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Krita mailing list
<a class="moz-txt-link-abbreviated" \
href="mailto:kimageshop@kde.org">kimageshop@kde.org</a> <a \
class="moz-txt-link-freetext" \
href="https://mail.kde.org/mailman/listinfo/kimageshop">https://mail.kde.org/mailman/listinfo/kimageshop</a>
</pre>
</blockquote>
<br>
</body>
</html>
[Attachment #6 (text/plain)]
_______________________________________________
Krita mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic