<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>The Snarling Gullet</title>
	<atom:link href="http://netherlogic.com/gullet/feed" rel="self" type="application/rss+xml" />
	<link>http://netherlogic.com/gullet</link>
	<description>random outbursts about art, media and simple machines</description>
	<pubDate>Fri, 24 Oct 2008 03:13:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>Nuke: Launch command-line renders from the UI</title>
		<link>http://netherlogic.com/gullet/nuke-launch-command-line-renders-from-the-ui</link>
		<comments>http://netherlogic.com/gullet/nuke-launch-command-line-renders-from-the-ui#comments</comments>
		<pubDate>Fri, 24 Oct 2008 03:03:29 +0000</pubDate>
		<dc:creator>tim</dc:creator>
		
		<category><![CDATA[Nuke]]></category>

		<guid isPermaLink="false">http://netherlogic.com/gullet/?p=334</guid>
		<description><![CDATA[I hacked up this script because I was frustrated with rendering in the Nuke UI, tired of typing out command-line render commands, and our renderfarm wasn&#8217;t alive yet. I&#8217;m posting it because I bet there&#8217;s other people in the same situation and I hope it can ease your pain.
This script launches a number of command-line [...]]]></description>
			<content:encoded><![CDATA[<p>I hacked up this script because I was frustrated with rendering in the <a href="http://www.thefoundry.co.uk/pkg_overview.aspx?ui=CBC2593A-2C9F-4EF9-84BE-C198B0171453">Nuke</a> UI, tired of typing out command-line render commands, and our renderfarm wasn&#8217;t alive yet. I&#8217;m posting it because I bet there&#8217;s other people in the same situation and I hope it can ease your pain.</p>
<p>This script launches a number of command-line render instances in the background and captures their output in log files which are saved to the same directory as the Nuke script. You are now free to keep working in the UI and have your renders happen in the background. You are also free to to launch 8 command-line Nuke renderers and squeeze every last cycle out of your fancy 8-core überbox.</p>
<p>It works in Nuke5.0v2 on OS X. Maybe it works on other versions and platforms. If so, I&#8217;d love to hear about it.</p>
<p><span id="more-334"></span><br />
Code:</p>
<p><code><br />
#<br />
# launchNukes_inNuke.py<br />
#<br />
# v01<br />
#<br />
# a script for launching single-core command-line nuke renderers<br />
# from inside the Nuke UI.<br />
#<br />
# also saves log files of each instance's output to the same folder<br />
# where the Nuke script lives.<br />
#</p>
<p>import re<br />
import nuke<br />
import os<br />
import sys</p>
<p>def launch_nukes():<br />
    a = nuke.knob("first_frame")<br />
    b = nuke.knob("last_frame")<br />
    start = int(a)<br />
    end = int(b)<br />
    incr = 1<br />
    instances = 1<br />
    _range = a+","+b<br />
    p = nuke.Panel("Launch Nukes")<br />
    p.addSingleLineInput("Frames to execute:", _range)<br />
    p.addSingleLineInput("Number of background procs:", instances)<br />
    p.addButton("Cancel")<br />
    p.addButton("OK")<br />
    result = p.show()</p>
<p>    r = p.value("Frames to execute:")<br />
    s = p.value("Number of background procs:")<br />
    if r is None:<br />
        return<br />
    if s is None:<br />
        return<br />
    # this is the requested frame range<br />
    frames = r<br />
    # this is the number of instances to launch<br />
    inst = int(s)</p>
<p>    (scriptpath, scriptname) = os.path.split(nuke.value("root.name"))<br />
    flags = "-ixfm 1"</p>
<p>    print ">>> launching %s nuke instances" % inst</p>
<p>    # create a frame range string for each renderer<br />
    for i in range(inst):<br />
        print ">>> generating range for instance %d" % i<br />
        instRange = ""</p>
<p>        # separate ranges at spaces<br />
        f = frames.split(" ")</p>
<p>        # separate individual start, end, and increment values<br />
        for p in f:<br />
            c = p.split(",")<br />
            incr = 1<br />
            if len(c) > 0:<br />
                start = int(c[0])<br />
                end = start<br />
            if len(c) > 1: end = int(c[1])<br />
            if len(c) > 2: incr = int(c[2])</p>
<p>            # re-jigger this range for this instance of the renderer<br />
            st = start + ( i * incr )<br />
            en = end<br />
            inc = incr * inst<br />
            new = "%d,%d,%d" % (st, en, inc)<br />
            if inc == 1:<br />
                new = "%d,%d" % (st, en)<br />
            if en == st:<br />
                new = "%d" % st<br />
            if st > en:<br />
                new = ""<br />
            else:<br />
                # add the re-jiggered range to the instances range string<br />
                instRange = instRange + " " + new</p>
<p>        print ">>> range for instance %d is: %s" % (i, instRange)</p>
<p>        logFile = "%s/%s_log%02d.log" % (scriptpath, scriptname, i)</p>
<p>        cmd = "%s %s %s/%s %s > %s &#038;" % (nuke.EXE_PATH, flags, scriptpath, scriptname, instRange, logFile)<br />
        print ">>> starting instance %d" % (i, )<br />
        print "command: " + cmd<br />
        os.system(cmd)<br />
</code></p>
<p>For some reason, WordPress is mashing the formatting in my code block. I&#8217;ll have to figure that out. Meanwhile, enjoy fixing the indents yourself. Whee&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://netherlogic.com/gullet/nuke-launch-command-line-renders-from-the-ui/feed</wfw:commentRss>
		</item>
		<item>
		<title>The signature of Henri Cartier-Bresson</title>
		<link>http://netherlogic.com/gullet/the-signature</link>
		<comments>http://netherlogic.com/gullet/the-signature#comments</comments>
		<pubDate>Wed, 14 May 2008 17:27:47 +0000</pubDate>
		<dc:creator>tim</dc:creator>
		
		<category><![CDATA[Envy]]></category>

		<guid isPermaLink="false">http://netherlogic.com/gullet/?p=333</guid>
		<description><![CDATA[Last night I took an hour to watch Henri Cartier-Bresson: The Impassioned Eye. It&#8217;s an interesting documentary about an amazing man. 
The most amazing moment was a 15-second shot where Mr. Cartier-Bresson is beginning to sign a new edition of prints. He uncaps his pen, then decides where to make the signature. His hand shifts [...]]]></description>
			<content:encoded><![CDATA[<p>Last night I took an hour to watch <a href="http://movies.nytimes.com/movie/314993/Henri-Cartier-Bresson-The-Impassioned-Eye/overview">Henri Cartier-Bresson: The Impassioned Eye</a>. It&#8217;s an interesting documentary about an amazing man. </p>
<p>The most amazing moment was a 15-second shot where Mr. Cartier-Bresson is beginning to sign a new edition of prints. He uncaps his pen, then decides where to make the signature. His hand shifts a little to the right, a little more to the right, now left. We can see that he&#8217;s as concerned about the composition of the signature as he is with the composition of his photographs. He shifts again, and then pauses. He starts to write in a confident, unhurried hand and we watch as <strong>that</strong> signature takes shape. I got goosebumps. </p>
<p>Such a simple thing, a masterwork.</p>
]]></content:encoded>
			<wfw:commentRss>http://netherlogic.com/gullet/the-signature/feed</wfw:commentRss>
		</item>
		<item>
		<title>Philly murder count</title>
		<link>http://netherlogic.com/gullet/philly-murder-count</link>
		<comments>http://netherlogic.com/gullet/philly-murder-count#comments</comments>
		<pubDate>Fri, 11 Apr 2008 16:15:59 +0000</pubDate>
		<dc:creator>tim</dc:creator>
		
		<category><![CDATA[Pointy Sticks]]></category>

		<guid isPermaLink="false">http://netherlogic.com/gullet/?p=332</guid>
		<description><![CDATA[Current murder and nonnegligent manslaughter stats for Philadelphia since 1 January 2008 is available here.
Pennsylvania has an interesting system for State Police stats reporting.
]]></description>
			<content:encoded><![CDATA[<p>Current murder and nonnegligent manslaughter stats for Philadelphia since 1 January 2008 is available <a href="http://ucr.psp.state.pa.us/UCR/Reporting/Query/IBR/QueryResultsUI.asp?Session=uE75W3VV0EF3897C15391E473996C61BC0076BBEDA&#038;Group=2&#038;SubGroup=View&#038;Tab=6">here</a>.</p>
<p>Pennsylvania has an interesting system for <a href="http://ucr.psp.state.pa.us/UCR/ComMenuUI.asp">State Police stats reporting</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://netherlogic.com/gullet/philly-murder-count/feed</wfw:commentRss>
		</item>
		<item>
		<title>Duchamp</title>
		<link>http://netherlogic.com/gullet/duchamp</link>
		<comments>http://netherlogic.com/gullet/duchamp#comments</comments>
		<pubDate>Mon, 17 Mar 2008 15:29:08 +0000</pubDate>
		<dc:creator>tim</dc:creator>
		
		<category><![CDATA[Loyalty]]></category>

		<guid isPermaLink="false">http://netherlogic.com/gullet/duchamp</guid>
		<description><![CDATA[Need to explore this Duchamp resource:
http://www.freshwidow.com/duchamp-aug96.html
]]></description>
			<content:encoded><![CDATA[<p>Need to explore this Duchamp resource:</p>
<p><a href="http://www.freshwidow.com/duchamp-aug96.html">http://www.freshwidow.com/duchamp-aug96.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://netherlogic.com/gullet/duchamp/feed</wfw:commentRss>
		</item>
		<item>
		<title>LCD + Polaroid = Camera?!</title>
		<link>http://netherlogic.com/gullet/lcd-polaroid-camera</link>
		<comments>http://netherlogic.com/gullet/lcd-polaroid-camera#comments</comments>
		<pubDate>Tue, 26 Feb 2008 16:31:12 +0000</pubDate>
		<dc:creator>tim</dc:creator>
		
		<category><![CDATA[Art &#038; Media]]></category>

		<guid isPermaLink="false">http://netherlogic.com/gullet/lcd-polaroid-camera</guid>
		<description><![CDATA[http://www.zazaziza.com/fornogoodreason/category/somethingscopes/
Wow.
First, Polaroid discontinues instant film and now this. It&#8217;s been an interesting month.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.zazaziza.com/fornogoodreason/category/somethingscopes/">http://www.zazaziza.com/fornogoodreason/category/somethingscopes/</a></p>
<p>Wow.</p>
<p>First, Polaroid <a href="http://thelede.blogs.nytimes.com/2008/02/08/polaroid-abandons-instant-photography/">discontinues instant film</a> and now this. It&#8217;s been an interesting month.</p>
]]></content:encoded>
			<wfw:commentRss>http://netherlogic.com/gullet/lcd-polaroid-camera/feed</wfw:commentRss>
		</item>
		<item>
		<title>This is where I got my start in film.</title>
		<link>http://netherlogic.com/gullet/this-is-where-i-got-my-start-in-film</link>
		<comments>http://netherlogic.com/gullet/this-is-where-i-got-my-start-in-film#comments</comments>
		<pubDate>Thu, 20 Dec 2007 01:42:56 +0000</pubDate>
		<dc:creator>tim</dc:creator>
		
		<category><![CDATA[Blather]]></category>

		<guid isPermaLink="false">http://netherlogic.com/gullet/this-is-where-i-got-my-start-in-film</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><a href='http://netherlogic.com/gullet/wp-content/uploads/2007/12/tim-edit-table.jpg' title='Tim at flatbed editor.'><img src='http://netherlogic.com/gullet/wp-content/uploads/2007/12/tim-edit-table.jpg' alt='Tim at flatbed editor.' /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://netherlogic.com/gullet/this-is-where-i-got-my-start-in-film/feed</wfw:commentRss>
		</item>
		<item>
		<title>New Demo Reel Posted</title>
		<link>http://netherlogic.com/gullet/new-demo-reel-posted</link>
		<comments>http://netherlogic.com/gullet/new-demo-reel-posted#comments</comments>
		<pubDate>Wed, 19 Dec 2007 14:38:28 +0000</pubDate>
		<dc:creator>tim</dc:creator>
		
		<category><![CDATA[Works]]></category>

		<guid isPermaLink="false">http://netherlogic.com/gullet/new-demo-reel-posted</guid>
		<description><![CDATA[I&#8217;ve just finished a new version of my demo reel. This one focusses on compositing with a little dose of motion graphics. Also updated my resume and wrote out a new cut sheet to accompany the new reel.
Get &#8216;em here: the Reel, the Resume, and the breakdown.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just finished a new version of my demo reel. This one focusses on compositing with a little dose of motion graphics. Also updated my resume and wrote out a new cut sheet to accompany the new reel.</p>
<p>Get &#8216;em here: <a href="http://netherlogic.com/the_work/TimBowman_reel.mov">the Reel</a>, <a href="http://netherlogic.com/the_work/TimBowman_CV.pdf">the Resume</a>, and <a href="http://netherlogic.com/the_work/TimBowman_breakdown.pdf">the breakdown</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://netherlogic.com/gullet/new-demo-reel-posted/feed</wfw:commentRss>
<enclosure url="http://netherlogic.com/the_work/TimBowman_reel.mov" length="13063499" type="video/quicktime" />
		</item>
		<item>
		<title>radiance&#8230; high dynamic range imagery&#8230; tone mapping&#8230; AAAHHHHH!</title>
		<link>http://netherlogic.com/gullet/radiance-high-dynamic-range-imagery-tone-mapping-aaahhhhh</link>
		<comments>http://netherlogic.com/gullet/radiance-high-dynamic-range-imagery-tone-mapping-aaahhhhh#comments</comments>
		<pubDate>Mon, 10 Dec 2007 20:21:43 +0000</pubDate>
		<dc:creator>tim</dc:creator>
		
		<category><![CDATA[Blather]]></category>

		<guid isPermaLink="false">http://netherlogic.com/gullet/radiance-high-dynamic-range-imagery-tone-mapping-aaahhhhh</guid>
		<description><![CDATA[i&#8217;ve been spending way too much time on a recent project. i&#8217;m stuck at the point where i play floating point imagery back to the screen and the chroma is eating my nice clipped luminance values. most likely this is clear as mud to you. me too. i need to read this thing. maybe it&#8217;ll [...]]]></description>
			<content:encoded><![CDATA[<p>i&#8217;ve been spending way too much time on a recent project. i&#8217;m stuck at the point where i play floating point imagery back to the screen and the chroma is eating my nice clipped luminance values. most likely this is clear as mud to you. me too. i need to read this thing. maybe it&#8217;ll help me finger it out.</p>
<p><a href="http://en.wikipedia.org/wiki/Tone_mapping">http://en.wikipedia.org/wiki/Tone_mapping</a></p>
<p>[edit 2007.12.19] Turns out that it is helpful to think of HSB colorspace as a sphere instead of a cylinder. As B approaches white or black, S should approach 0. Works like a charm.</p>
<p>[edit 2008.03.24] Here is the Wikipedia entry for HSL/HSV colorspace. Includes some useful math for RGB to HSL and back.<br />
<a href="http://en.wikipedia.org/wiki/HSV_color_space">http://en.wikipedia.org/wiki/HSV_color_space</a></p>
<p>[edit 2008.03.26] Scroll down on this page to get to their description of HSV2. This thinking may apply to my float lightness gain problem.<br />
<a href="http://ilab.usc.edu/wiki/index.php/HSV_And_H2SV_Color_Space">http://ilab.usc.edu/wiki/index.php/HSV_And_H2SV_Color_Space</a></p>
<p>And then there&#8217;s <a href="http://www.poynton.com/Poynton-color.html">Charles Poynton</a>, who has done a lot of thinking about color.</p>
<p>We also have <a href="http://couleur.org">couleur.org</a>, by Philippe COLANTONI, with short explanations and 3D graphs of several color spaces.<br />
<a href="http://www.couleur.org/index.php?page=transformations">http://www.couleur.org/index.php?page=transformations</a></p>
]]></content:encoded>
			<wfw:commentRss>http://netherlogic.com/gullet/radiance-high-dynamic-range-imagery-tone-mapping-aaahhhhh/feed</wfw:commentRss>
		</item>
		<item>
		<title>http://polanoid.net/</title>
		<link>http://netherlogic.com/gullet/httppolanoidnet</link>
		<comments>http://netherlogic.com/gullet/httppolanoidnet#comments</comments>
		<pubDate>Mon, 26 Nov 2007 16:08:16 +0000</pubDate>
		<dc:creator>tim</dc:creator>
		
		<category><![CDATA[Art &#038; Media]]></category>

		<guid isPermaLink="false">http://netherlogic.com/gullet/httppolanoidnet</guid>
		<description><![CDATA[Awesome! There is a web community of people who like to shoot Polaroid film:http://polanoid.net/ 
In other news, Jessica and I visited the Andre Kertesz show at Silverstein Photograhy in NYC this weekend. Beautiful work. The tiny size and perfect detail really draw you in. So sad.
I feel lucky to have seen these photographs in person.
]]></description>
			<content:encoded><![CDATA[<p>Awesome! There is a web community of people who like to shoot Polaroid film:<a href="http://polanoid.net/" title="http://polanoid.net/">http://polanoid.net/</a> </p>
<p>In other news, Jessica and I visited the Andre Kertesz show at <a href="http://chelseaartgalleries.com/Silverstein+Photography/The+Polaroids.html">Silverstein Photograhy</a> in NYC this weekend. Beautiful work. The tiny size and perfect detail really draw you in. So sad.</p>
<p>I feel lucky to have seen these photographs in person.</p>
]]></content:encoded>
			<wfw:commentRss>http://netherlogic.com/gullet/httppolanoidnet/feed</wfw:commentRss>
		</item>
		<item>
		<title>Arthur Ganson</title>
		<link>http://netherlogic.com/gullet/arthur-ganson</link>
		<comments>http://netherlogic.com/gullet/arthur-ganson#comments</comments>
		<pubDate>Tue, 20 Nov 2007 21:34:37 +0000</pubDate>
		<dc:creator>tim</dc:creator>
		
		<category><![CDATA[Art &#038; Media]]></category>

		<guid isPermaLink="false">http://netherlogic.com/gullet/arthur-ganson</guid>
		<description><![CDATA[Machine with Wishbone by Arthur Ganson. 
Is Arthur Ganson the turn-of-the-century Jean Tinguely? His work sure is fascinating.
More on him:
Machine with Wishbone
His MIT Museum Exhibition
from Sculpture.org
]]></description>
			<content:encoded><![CDATA[<p><a mce_href="http://web.mit.edu/museum/exhibitions/images/ganson_wishbone.mov" href="http://web.mit.edu/museum/exhibitions/images/ganson_wishbone.mov">Machine with Wishbone</a> by Arthur Ganson. </p>
<p>Is Arthur Ganson the turn-of-the-century Jean Tinguely? His work sure is fascinating.</p>
<p>More on him:<br />
<a href="http://web.mit.edu/museum/exhibitions/images/ganson_wishbone.mov">Machine with Wishbone</a><br />
<a href="http://web.mit.edu/museum/exhibitions/ganson.html">His MIT Museum Exhibition</a><br />
<a href="http://www.sculpture.org/documents/scmag98/ganson/">from Sculpture.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://netherlogic.com/gullet/arthur-ganson/feed</wfw:commentRss>
<enclosure url="http://web.mit.edu/museum/exhibitions/images/ganson_wishbone.mov" length="9133679" type="video/quicktime" />
		</item>
	</channel>
</rss>
