RSS/Atom feed Twitter
Site is read-only, email is disabled

Fast-painting using the undo stack

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

Fast-painting using the undo stack Uri Simchoni 08 Aug 19:18
  Fast-painting using the undo stack Chris Mohler 08 Aug 20:59
  Fast-painting using the undo stack saulgoode@flashingtwelve.brickfilms.com 09 Aug 21:13
Uri Simchoni
2011-08-08 19:18:56 UTC (over 13 years ago)

Fast-painting using the undo stack

Hi,
I'm looking for a way to implement a fast-painting animation using GIMP.What I'd like to achieve is a tool that allows the artist to just paint, and with a press of a button produce a video of the painting process. I'm looking for solutions that integrates with the painting program, because screen-capture programs display things (toolboxes, mouse) which I don't want to appear in the final video. I'd like to know whether I'm inventing something that's already invented, discuss possible implementation strategies, and ask for pointers on how to start.One idea I had was to use "duplicate layer" every n milliseconds (or on mouse movement, after n milliseconds have passed), then save each layer as an image and create the video out of these images. Another idea is to make an undo point every n milliseconds, then play the undo stack and save each step. I suppose it will take less memory than the first idea, which does not seem like a a scalable one. As far as I can tell, both these ideas cannot be implemented as plugins (I cannot duplicate the layers every n milliseconds with a plugin, I cannot modify the undo behavior of basic painting tools, and I cannot play the undo stack with a plugin) Is that correct? Any comments on this, as well as pointers to the code, will be appreciated.Thanks in advance,Uri Simchoni

Chris Mohler
2011-08-08 20:59:45 UTC (over 13 years ago)

Fast-painting using the undo stack

On Mon, Aug 8, 2011 at 2:18 PM, Uri Simchoni wrote:

I'd like to know whether I'm inventing something that's already invented, discuss possible implementation strategies, and ask for pointers on how to start

(gtk)recordmydesktop can be configured to record only a certain area of the screen and ignore the cursor/mouse: http://recordmydesktop.sourceforge.net/about.php

Chris

saulgoode@flashingtwelve.brickfilms.com
2011-08-09 21:13:32 UTC (over 13 years ago)

Fast-painting using the undo stack

Quoting Uri Simchoni :

As far as I can tell, both these ideas cannot be implemented as plugins (I cannot duplicate the layers every n milliseconds with a plugin, I cannot modify the undo behavior of basic painting tools, and I cannot play the undo stack with a plugin) Is that correct? Any comments on this, as well as pointers to the code, will be appreciated.Thanks in advance,Uri Simchoni

Yes, you are correct. Personally, I think that Recordmydesktop would be the best solution (cropping out undesirable elements), however, I have written a Script-fu which somewhat alleviates the problem of not being able to "replay" the UNDO history. The script is rather simple and merely adds a command to the File menu which saves a time-stamped snapshot of the current state of the image. This allows you to step through the UNDO history, saving a snapshot at each step.

https://chiselapp.com/user/saulgoode/repository/script-fu/wiki?name=sg-snapshot