Darknoon

Darknoon Blog » DNYellowtail Source Code

27 Dec 2007

DNYellowtail Source Code

As promised, though a bit later than I was expecting, is the plugin I used to perform Yellowtail from within Quartz composer. I’m not sure that the way I’m doing rendering is the “right” way, but it certainly works for what I did. It would be nice to figure out how to do antialiasing….

Requires Mac OS X 10.5 Leopard and the Developer Tools installed, which include Quartz Composer.

Binary plugin (40 KB)
Source code & test composition (608 KB)

To run: either “build and run” in Xcode to install or copy the binary to ~/Library/Graphics/Quartz Composer Plug-Ins.
Open Image output test.qtz to test the installation and to play with it.

—admin  

5 Comments »

RSS TrackBack

  1. Hi.

    This is very nice, thanks for the port.

    I fixed the mouse coordinate issue by the way,

    update(port, (self.inputX+1)*self.imageBounds.size.width*0.5, (self.inputY+1)*self.imageBounds.size.height*0.5, self.inputPressure);

    on line 42 in DNYellowtailRender.m

    Ill see what can be done about antialiasing. Could always do supersampling perhaps? Anyway, its very nice!

    Comment by vade — August 8, 2008 @ 11:22 am

  2. Oops, I guess its not 100% correct, but it seems a touch closer. But importantly, thanks! :)

    Comment by vade — August 8, 2008 @ 11:27 am

  3. I am trying to get this to work and it seems that the test wont load up or anything I installed it in the plugins and even tried the patches folder.

    this is what I get when I run the test
    -[QCCompositionRepository doesPatch:conformToProtocol:]: Argument “patch” cannot be null

    Comment by Jamison Hiner — October 21, 2008 @ 11:52 am

  4. @JamisonHiner The install location should be “~/Library/Graphics/Quartz Composer Plug-Ins” instead of “~/Graphics/Quartz Composer Plug-Ins”

    Does that help?

    Comment by andpoul — November 25, 2008 @ 1:16 pm

  5. Very cool and useful idea. Thanks for sharing.

    Comment by Jason Belec — February 21, 2009 @ 8:55 am

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

©2008 Darknoon / Andrew Pouliot