<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Samiam's Scribble Pad &#187; cortex-vfx code vfx</title>
	<atom:link href="http://www.hodge.net.au/sam/blog/tag/cortex-vfx-code-vfx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hodge.net.au/sam/blog</link>
	<description>Random Thoughts of Sam Hodge, about Life, Art and Technology</description>
	<lastBuildDate>Mon, 01 Dec 2025 07:20:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>cortex vfx install on Ubuntu 10.04</title>
		<link>http://www.hodge.net.au/sam/blog/2010/05/30/cortex-vfx-install/</link>
		<comments>http://www.hodge.net.au/sam/blog/2010/05/30/cortex-vfx-install/#comments</comments>
		<pubDate>Sun, 30 May 2010 02:11:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[cortex-vfx code vfx]]></category>

		<guid isPermaLink="false">http://www.hodge.net.au/sam/blog/?p=221</guid>
		<description><![CDATA[A couple of weeks ago at work we discovered a neat trick in Nuke where you can take the RGB values from an image and mix them with the XYZ values from a position pass from renderman to create a point cloud of the front surface of a render. You can also use a P-reference [...]]]></description>
				<content:encoded><![CDATA[<p>A couple of weeks ago at work we discovered a neat trick in Nuke where you can take the RGB values from an image and mix them with the XYZ values from a position pass from renderman to create a point cloud of the front surface of a render. You can also use a P-reference pass to put a creature back into bind pose as a bunch of points. Which allows you to do neat things like 3d roto.</p>
<p>As a result we started thinking would there be a cool way to also display the backfacing surfaces and encode them into RGB and XYZ.</p>
<p>Producing the data would be easy enough using a point cloud or even bending over bake2d to make it work using UV coordinates.</p>
<p>But you could also sort the data in interesting ways so unless you looked at the correlation between RGB and XYZ the image would either be meaning less in raster format, or could have another look to it.</p>
<p>So I went looking for a good python binding to a float or half float image library.</p>
<p>OpenEXR has some functionality see this <a href="http://www.excamera.com/articles/26/doc/openexr.html">doc</a></p>
<p>but then I stumbled on <a href="http://code.google.com/p/cortex-vfx/">cortex-vfx </a>on google code, it is basically a CG toolkit, like <a href="http://cgkit.sourceforge.net/">CGKit</a></p>
<p>After failing to get <a href="http://code.google.com/p/cortex-vfx/">cortex-vfx</a> to build on my imac, (some problem with python and boost not using the same version of python)</p>
<p>I decided to throw Ubuntu 10.04 onto some hardware and see if I could get cortex vfx to install</p>
<p>here are the bit and pieces that I needed to put onto a fresh install:</p>
<ul>
<li>libilmbase-dev</li>
<li>libopenexr-dev</li>
<li>libtbb-dev</li>
<li>libboost-all-dev</li>
<li>libtiff4-dev</li>
</ul>
<p>here are my options for the scons build so far </p>
<p><code lang="Makefile" line="1"><br />
CXXFLAGS = ['-pipe', '-Wall', '-O2', '-DNDEBUG', '-DBOOST_DISABLE_ASS<br />
ERTS']<br />
TESTCXXFLAGS = ['-pipe', '-Wall', '-O0']<br />
PYTHONCXXFLAGS = ['-pipe', '-Wall', '-O2', '-DNDEBUG', '-DBOOST_DISAB<br />
LE_ASSERTS']<br />
LINKFLAGS = []<br />
BOOST_INCLUDE_PATH = '/usr/include'<br />
BOOST_LIB_PATH = '/usr/lib'<br />
BOOST_LIB_SUFFIX = ''<br />
OPENEXR_INCLUDE_PATH = '/usr/include/OpenEXR'<br />
OPENEXR_LIB_PATH = '/usr/lib'<br />
</code></p>
<p>Once I get Maya and Nuke installed I can have a look at building against these packages also.</p>
<p>Then hopefully I can find out if it is going to work at all</p>
<p>Its been building for about an hour on this machine with about 11000 bogomips, Intel(R) Pentium(R) D CPU 2.80GHz, hopefully I can post about all the wonderful things cortex-vfx can do</p>
<p>Edit: Huzzah it installed</p>
<p>Now I just need to find some time to do what I intended to do, but I might compile it against Maya and 3delight first</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hodge.net.au/sam/blog/2010/05/30/cortex-vfx-install/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
