Today I looked at Clutter, a nifty "rich UI" creation library using OpenGL and the like. After playing around with some of the samples, reading some API docs and writing one dumb simple text-rotating application (think Windows' text-message screensaver, you know), I wanted to make something more advanced (hum-hum).
I decided writing some photo slideshow application would be cool. We already have several of those, obviously, remember this is just a playground.
Having some sort of F-Spot (a great photo management application) integration would be nifty too, so I started with that: loading taglists and picture-paths for one tag. In the end it turned out writing that took more time than writing the simple view I created.
Next I wrote the Clutter driver code and some system to be able to easily switch view functions. I only implemented one so far, which just fades between images (in, out, next image in, out etc) and stores the GdkPixbuf's in a ringbuffer. Not optimal, no cleanup code yet, jadajadajada.
No screenshots as a static screenshot would not be very impressive (the current application neither but hey ;-)).
Anyway, it might be useful as a sample/basic Clutter application for some people. You can find the source code, clone URL and compilation instructions here. If you implement some nifty view, share it!
Enjoy.
Comments:
Corey: IIRC lowfat is written using more low-level OpenGL, which I don't know (yet). I did not intend to write a full-fledged slideshow app whatsoever, actually the main reason I started to look at Clutter was to write some (non-interactive) "public information display", easy to manage for non-geeks, software.
njpatel dot blogspot dot com/2007/06/flickr-clutter-fluttr.html
(it won't let me submit that in link form!)
Clutter looks increasingly cool, and I plan on looking at your implementation here to find out how to use it a bit better. It seems to be in a constant flux though, so I'm not sure learning it now would really be useful.
Oh and, my antispamsystem dislikes blogspot.
This post has 1 feedback awaiting moderation...