Screensavr

So here it is, one month on: the first Mac-native Cocoa version. Built on ObjectiveFlickr.

[ZIP] Download for Mac (Universal)


4 March 2007 in Cocoa, Screensaver

4 Comments

    • 1
    • Comment by gabes
    • 7 March, 2007 at 4:06 pm

    Hey mate, it runs great, but on 2 screens, i’m getting weird occurrences where the same image will show twice, even three times in a row.

    Performance is great though, running on 2 monitors with high quality images, it’s as smooth as a pedo in a chat room.

    • 2
    • Comment by Rasmus
    • 11 June, 2007 at 10:22 am

    Great idéa! But the performance is really bad (low framerate and high CPU load)
    Ive had some (alot) experience with 2D pixel pushin on the mac os. Take a look at this (unfortunately dead) project; http://trac.hunch.se/PhotoFeeder , where we had to do alot of performance tweeking. You will want to have a look at this in particular: http://trac.hunch.se/PhotoFeeder/browser/trunk/Core/PFMain.m#L637

    Using Quartz Composer was actually the best alternative, both considering performance and ease of use. We met one of Apples 2D/3D developers actually, and he also recommended using QC before implementing everything yourself in OpenGL (as we did earlier).

    • 3
    • Comment by Rasmus
    • 11 June, 2007 at 10:26 am

    And! Have a look at “Display Links” - very good for rendering synchronized with display hardware.

    • 4
    • Comment by Simon
    • 11 June, 2007 at 10:37 am

    Hi Rasmus - thanks for your comments and example code. Your screensaver is far more advanced than mine! Love the ‘providers’ idea, makes a lot of sense and something I could easily implement as I have a similar mechanism already.

    I am just learning Objective C, this is really my first effort. I have talked to other programmers about using Core Graphics - at the moment I’m just using NSImage as my way of ‘getting it to work’… I wouldn’t dare show you the source…

    Also interesting that you mention Quartz Composer; I hadn’t seriously thought it could so something like this but might be worth giving it a go. If you know of any good online Quartz Composer learning resources I’d love to know.

    Thanks again.


Leave a Comment


(required)
(will not be published) (required)

Follow comments through the RSS 2.0 feed. Trackback from your own site.

Previous: Word Clock: update / Next: Gravity