<?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>pings from the void &#187; library</title>
	<atom:link href="http://thequietvoid.com/archives/tag/library/feed" rel="self" type="application/rss+xml" />
	<link>http://thequietvoid.com</link>
	<description>· )  -) --)  ---) ----)</description>
	<lastBuildDate>Tue, 27 Jul 2010 13:36:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>New Year, New Library</title>
		<link>http://thequietvoid.com/archives/105</link>
		<comments>http://thequietvoid.com/archives/105#comments</comments>
		<pubDate>Wed, 30 Dec 2009 11:58:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Processing]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[polymonkeylibs]]></category>
		<category><![CDATA[time]]></category>

		<guid isPermaLink="false">http://thequietvoid.com/?p=105</guid>
		<description><![CDATA[As part of getting ready for my new job, I&#8217;m in the process of publishing a lot of the common code that I&#8217;ve been using over the years and I thought why not start a collection. And so the very humble and small PolymonkeyLibs begins. The first official package is polymonkey.time it features 3 classes [...]]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;"><a href="http://www.flickr.com/photos/polymonkey/4226667498/" title="F32 yeah enbiggen by matt ditton (AKA polymonkey), on Flickr"><img src="http://farm5.static.flickr.com/4024/4226667498_1f9dd19c2f_o.png" width="340" height="340" alt="F32 yeah enbiggen" /></a></div>
<p>As part of getting ready for my new job, I&#8217;m in the process of publishing a lot of the common code that I&#8217;ve been using over the years and I thought why not start a collection. And so the very humble and small <a href="http://code.google.com/p/polymonkey/">PolymonkeyLibs</a> begins.<br />
<span id="more-105"></span><br />
The first official package is <b>polymonkey.time</b> it features 3 classes that relate to (you guessed it) time.</p>
<p><b>Time</b> &#8211; used for keeping track of TimeDelta (the time in seconds of the previous frame) can also speed up and slow down time.</p>
<p><b>TimerEvent</b> &#8211; A helper class that will automatically call a timerEvent() method in a set number of seconds.</p>
<p><b>StopWatch</b> &#8211; A helper class for timing how long an operation takes.</p>
<p>Docs, Examples and version 001 of the library are in the Download tab of the page above. If you&#8217;ve got questions / problems / requests then send em this way.</p>
<p>Matt Ditton</p>
<p><i>Disclaimer: Although the internals are as accurate as possible. Everything gets converted to floats or ints when talking to processing. So your mileage my vary. And although it works like a charm I wouldn&#8217;t use it to run a pacemaker or anything.</i></p>
]]></content:encoded>
			<wfw:commentRss>http://thequietvoid.com/archives/105/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Objloader version 014 up on google code</title>
		<link>http://thequietvoid.com/archives/194</link>
		<comments>http://thequietvoid.com/archives/194#comments</comments>
		<pubDate>Fri, 11 Jul 2008 14:16:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Processing]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[obj]]></category>

		<guid isPermaLink="false">http://thequietvoid.com/?p=194</guid>
		<description><![CDATA[Now with VBO! One piece of advice for all who come after me. When dealing with arrays in opengl, remember that the stride of an array IS IN BYTES. That&#8217;s right F**KING BYTES. One Float is 4 bytes. to get to the second element in a float array you need to skip 4 bytes. Motherfu&#8212;-. [...]]]></description>
			<content:encoded><![CDATA[<p>Now with VBO!</p>
<p>One piece of advice for all who come after me. When dealing with arrays in opengl, remember that the stride of an array IS IN BYTES. That&#8217;s right F**KING BYTES. One Float is 4 bytes. to get to the second element in a float array you need to skip 4 bytes. Motherfu&#8212;-.</p>
<p>Seriously I spent about 8 hours on that bug. Just another example of information so common knowledge I knew nothing about it. Opengl you are a fickle mistress.</p>
<p>mattD</p>
]]></content:encoded>
			<wfw:commentRss>http://thequietvoid.com/archives/194/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>We&#8217;re up on google code</title>
		<link>http://thequietvoid.com/archives/205</link>
		<comments>http://thequietvoid.com/archives/205#comments</comments>
		<pubDate>Fri, 28 Mar 2008 14:27:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Processing]]></category>
		<category><![CDATA[collada]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[obj]]></category>

		<guid isPermaLink="false">http://thequietvoid.com/?p=205</guid>
		<description><![CDATA[In the last week I&#8217;ve been putting the two libraries I&#8217;m involved in up on google code. So the OBJLoader and the Collada Loader both have nice safe source controlled homes. Over the coming weeks I&#8217;ll be making sure that all documentation and examples are also up on google code. the OBJLoader the Collada Loader]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/polymonkey/2119707753/"><img alt="city lights river view" src="http://farm3.static.flickr.com/2032/2119707753_37c9195e3d.jpg" title="city lights river view by matt ditton (AKA polymonkey), on Flickr" class="aligncenter" width="500" height="446" /></a></p>
<p>In the last week I&#8217;ve been putting the two libraries I&#8217;m involved in up on google code. So the OBJLoader and the Collada Loader both have nice safe source controlled homes. Over the coming weeks I&#8217;ll be making sure that all documentation and examples are also up on google code.<br />
<blockquotes></blockquotes>
<pre>the <a href="http://code.google.com/p/saitoobjloader/">OBJLoader</a>
the <a href="http://code.google.com/p/polymonkey-collada-importer/">Collada Loader</a>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://thequietvoid.com/archives/205/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Collada Loader 003</title>
		<link>http://thequietvoid.com/archives/211</link>
		<comments>http://thequietvoid.com/archives/211#comments</comments>
		<pubDate>Mon, 10 Mar 2008 23:31:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Processing]]></category>
		<category><![CDATA[collada]]></category>
		<category><![CDATA[library]]></category>

		<guid isPermaLink="false">http://thequietvoid.com/?p=211</guid>
		<description><![CDATA[The Collada Loader has been updated and now sits at version 003. There are a few new functions involving materials. You can check out the supplied example file for the usage. But here is the list of new stuff. 1234567891011model.toggleTexture&#40;&#41;; //toggles the texture on and off model.toggleMaterial&#40;&#41;; //toggles the collada material model.setTexture&#40;PImage&#41;; //replaces the loaded [...]]]></description>
			<content:encoded><![CDATA[<p>The Collada Loader has been updated and now sits at version 003.  There are a few new functions involving materials. You can check out the supplied example file for the usage. But here is the list of new stuff.</p>
<div class="codecolorer-container java default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br /></div></td><td><div class="java codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">model.<span style="color: #006633;">toggleTexture</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">//toggles the texture on and off</span><br />
<br />
model.<span style="color: #006633;">toggleMaterial</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">//toggles the collada material</span><br />
<br />
model.<span style="color: #006633;">setTexture</span><span style="color: #009900;">&#40;</span>PImage<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">//replaces the loaded texture with a supplied PImage</span><br />
<br />
model.<span style="color: #006633;">originalTexture</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">//reloads the original texture</span></div></td></tr></tbody></table></div>
<p><a href='http://thequietvoid.com/wp-content/uploads/ColladaLibrary_003_demo.zip'>ColladaLibrary_003_demo</a><br />
<a href='http://thequietvoid.com/wp-content/uploads/ColladaLibrary_003_lib.zip'>ColladaLibrary_003_lib</a><br />
<a href='http://thequietvoid.com/wp-content/uploads/ColladaLibrary_003_src.zip'>ColladaLibrary_003_src</a></p>
<p>UPDATE: I&#8217;m sorry to say that with the updates to the XML library in processing, the collada loader broke. And broke hard. If anyone would like to help out in fixing this, that would be great. I&#8217;m afraid free time is just not happening for me at the moment.</p>
]]></content:encoded>
			<wfw:commentRss>http://thequietvoid.com/archives/211/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Processing Collada Loader version 001</title>
		<link>http://thequietvoid.com/archives/225</link>
		<comments>http://thequietvoid.com/archives/225#comments</comments>
		<pubDate>Mon, 18 Feb 2008 23:54:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Processing]]></category>
		<category><![CDATA[collada]]></category>
		<category><![CDATA[library]]></category>

		<guid isPermaLink="false">http://thequietvoid.com/?p=225</guid>
		<description><![CDATA[Here it is. colladaLoader_001 collada_library_test Collada_Loader_source_001 So why another format? Lot&#8217;s of reasons but mostly because I needed to load Collada files into processing. The added bonus is that the collada format is far more extendable than the obj format. It can store mesh, splines, cameras, lights, skeletons, skins, animation and even physics. So it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Here it is.</p>
<p><a href='http://thequietvoid.com/wp-content/uploads/colladaLoader_001.zip'>colladaLoader_001</a><br />
<a href='http://thequietvoid.com/wp-content/uploads/collada_library_test.zip'>collada_library_test</a><br />
<a href='http://thequietvoid.com/wp-content/uploads/Collada_Loader_source_001.zip'>Collada_Loader_source_001</a></p>
<p><strong>So why another format?</strong><br />
Lot&#8217;s of reasons but mostly because I needed to load Collada files into processing. The added bonus is that the collada format is far more extendable than the obj format. It can store mesh, splines, cameras, lights, skeletons, skins, animation and even physics. So it&#8217;s more a storage medium for 3D data rather than being just a model format.</p>
<p><strong>What can your loader do for me?</strong><br />
At the moment the loader can load and display one model with one material (textured or untextured). There are also several helper functions for drawing the bounding box, vertex normals, face normals and the wire frame. You can see them all in the example above.</p>
<p><strong>Is that it?</strong><br />
In this release, I&#8217;m afraid so. There is a lot more work to do. The current todo list (in order) looks like this.</p>
<li>Multiple materials</li>
<li>Multiple geometries.</li>
<li>Cameras</li>
<li>Lights</li>
<li>Splines</li>
<li>Animation</li>
</ol>
<p>So when is it going to be finished?<br />
Um. I&#8217;ll get back to you on that.</p>
<p><strong>Can you add support for (insert thing here)?</strong><br />
Yes. It&#8217;s meant to be used. If there is something that you need from the loader just ask.</p>
<p><strong>I broke it.</strong><br />
Excellent. Drop me and email and I&#8217;ll try and get it sorted.</p>
<p>MattD</p>
]]></content:encoded>
			<wfw:commentRss>http://thequietvoid.com/archives/225/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
