<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Bobobobo's Weblog</title>
	<atom:link href="http://bobobobo.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://bobobobo.wordpress.com</link>
	<description>technology and the internets</description>
	<lastBuildDate>Wed, 25 Jan 2012 20:56:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='bobobobo.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Bobobobo's Weblog</title>
		<link>http://bobobobo.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://bobobobo.wordpress.com/osd.xml" title="Bobobobo&#039;s Weblog" />
	<atom:link rel='hub' href='http://bobobobo.wordpress.com/?pushpress=hub'/>
		<item>
		<title>AMD bulldozer 8 core doesn&#8217;t bulldoze shit</title>
		<link>http://bobobobo.wordpress.com/2012/01/19/amd-bulldozer-8-core-doesnt-bulldoze-shit/</link>
		<comments>http://bobobobo.wordpress.com/2012/01/19/amd-bulldozer-8-core-doesnt-bulldoze-shit/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 18:17:52 +0000</pubDate>
		<dc:creator>bobobobo</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[1090T]]></category>
		<category><![CDATA[8150]]></category>
		<category><![CDATA[amd]]></category>
		<category><![CDATA[bulldozer]]></category>

		<guid isPermaLink="false">http://bobobobo.wordpress.com/?p=1650</guid>
		<description><![CDATA[I got an AMD FX-8150 chip in a new PC build. _It sucks._ It&#8217;s no better than the AMD 1090T, which incidentally was taken _off_ the market by AMD. Now I know why. The 1090T performs very similarly (with no overclocking at all, either chip) to the &#8220;new&#8221; AMD 8 core. I was already using [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bobobobo.wordpress.com&amp;blog=2331964&amp;post=1650&amp;subd=bobobobo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I got an AMD FX-8150 chip in a new PC build.</p>
<p>_It sucks._  It&#8217;s no better than the AMD 1090T, which incidentally was taken _off_ the market by AMD.  Now I know why.  The 1090T performs very similarly (with no overclocking at all, either chip) to the &#8220;new&#8221; AMD 8 core.</p>
<p>I was already using an AMD 1090T to do parallel raytraces.  I thought I&#8217;d get a second machine as a workhorse.  Built one for $500.  Shoulda gone with Intel.  I&#8217;m running the same raytrace in parallel, one on this machine (which I&#8217;m also using to write this post) and I&#8217;m leaving the FX 8150 alone.  The FX 8150 spawned 8 threads to raytrace on (7 for raytracing and 1 for the UI) because 8 cores were detected, here on the 1090T only 5 raytracing threads are running, +1 for the UI thread.</p>
<p>So far they are neck and neck, even though I am using this machine to write this post.  The FX 8150 machine has completed 119/300 jobs (each &#8220;job&#8221; is 2 800 pixel long rows), this machine 117/300 jobs.  Totally terrible.  I expected _some sort_ of improvement, with a 400 MHz faster clock speed and 2 extra cores, but you get absolutely nothing.</p>
<p>It&#8217;s the SAME core as the 1090T, far as I&#8217;m concerned.</p>
<br />Filed under: <a href='http://bobobobo.wordpress.com/category/misc/'>misc</a> Tagged: <a href='http://bobobobo.wordpress.com/tag/1090t/'>1090T</a>, <a href='http://bobobobo.wordpress.com/tag/8150/'>8150</a>, <a href='http://bobobobo.wordpress.com/tag/amd/'>amd</a>, <a href='http://bobobobo.wordpress.com/tag/bulldozer/'>bulldozer</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bobobobo.wordpress.com/1650/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bobobobo.wordpress.com/1650/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bobobobo.wordpress.com/1650/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bobobobo.wordpress.com/1650/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bobobobo.wordpress.com/1650/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bobobobo.wordpress.com/1650/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bobobobo.wordpress.com/1650/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bobobobo.wordpress.com/1650/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bobobobo.wordpress.com/1650/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bobobobo.wordpress.com/1650/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bobobobo.wordpress.com/1650/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bobobobo.wordpress.com/1650/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bobobobo.wordpress.com/1650/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bobobobo.wordpress.com/1650/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bobobobo.wordpress.com&amp;blog=2331964&amp;post=1650&amp;subd=bobobobo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bobobobo.wordpress.com/2012/01/19/amd-bulldozer-8-core-doesnt-bulldoze-shit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a4ec51727310397c9e592dd84ae74dc2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">bobobobo</media:title>
		</media:content>
	</item>
		<item>
		<title>Rotation * translation VS translation * rotation</title>
		<link>http://bobobobo.wordpress.com/2011/12/20/rotation-translation-vs-translation-rotation/</link>
		<comments>http://bobobobo.wordpress.com/2011/12/20/rotation-translation-vs-translation-rotation/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 22:58:24 +0000</pubDate>
		<dc:creator>bobobobo</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[matrix]]></category>

		<guid isPermaLink="false">http://bobobobo.wordpress.com/?p=1642</guid>
		<description><![CDATA[So, there&#8217;s always this question of &#8220;what&#8217;s the difference between rotation*translation matrix VS translation*rotation&#8221;? DOES TRANSLATION VS ROTATION ORDER MATTER? __YES IT DOES__. From here on in, we will assume a COLUMN major matrix. This means that vectors are POST MULTIPLIED by matrices. MATRIX1 * MATRIX2 * SOME_VECTOR means SOME_VECTOR gets &#8220;hit&#8221; by MATRIX2 first, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bobobobo.wordpress.com&amp;blog=2331964&amp;post=1642&amp;subd=bobobobo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So, there&#8217;s always this question of &#8220;what&#8217;s the difference between rotation*translation matrix VS translation*rotation&#8221;?</p>
<p>DOES TRANSLATION VS ROTATION ORDER MATTER?</p>
<p>__YES IT DOES__.</p>
<p>From here on in, we will assume a COLUMN major matrix.  This means that vectors are POST MULTIPLIED by matrices.</p>
<p>    MATRIX1 * MATRIX2 * SOME_VECTOR</p>
<p>means SOME_VECTOR gets &#8220;hit&#8221; by MATRIX2 first, then MATRIX1.  Matrix multiplication is associative, so it doesn&#8217;t matter if we multiply through (MATRIX1*MATRIX2) first, then multiply THAT resultant 4&#215;4 matrix by SOME_VECTOR.  The result will be the same if we do (MATRIX1*MATRIX2)*SOME_VECTOR or if we do MATRIX1*(MATRIX2*SOME_VECTOR).  That&#8217;s associativity for matrices.</p>
<p>BUT IT DOES matter if we do</p>
<p>    MATRIX2 * MATRIX1 * SOME_VECTOR</p>
<p>You will get a completely different result vs when you do MATRIX1*MATRIX2*SOME_VECTOR.</p>
<p>If you do translation*rotation, the effect is __spinning in place__, because ROTATE about axis (we are still @ origin), then translate.</p>
<h2>translation * rotation, produces SPINNING effect, column major</h2>
<p><img src="http://bobobobo.files.wordpress.com/2011/12/transrot1.png?w=510" /></p>
<h2>translation * rotation, produces SPINNING effect, column major</h2>
<p><img src="http://bobobobo.files.wordpress.com/2011/12/transrot2.png?w=510" /></p>
<p>If you do rotation*translation, the effect is __ORBITING__ around an axis, because trans FIRST, then rotate about the axis (which is now far away)</p>
<h2>rotation * translation, produces ORBITING effect, column major</h2>
<p><img src="http://bobobobo.files.wordpress.com/2011/12/rottrans_1.png?w=510" /></p>
<h2>rotation * translation, produces ORBITING effect, column major</h2>
<p><img src="http://bobobobo.files.wordpress.com/2011/12/rottrans_2.png?w=510" /></p>
<p>Final note, if you are using ROW MAJOR matrices, then these results are reversed (ie backward).</p>
<br />Filed under: <a href='http://bobobobo.wordpress.com/category/misc/'>misc</a> Tagged: <a href='http://bobobobo.wordpress.com/tag/math/'>math</a>, <a href='http://bobobobo.wordpress.com/tag/matrix/'>matrix</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bobobobo.wordpress.com/1642/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bobobobo.wordpress.com/1642/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bobobobo.wordpress.com/1642/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bobobobo.wordpress.com/1642/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bobobobo.wordpress.com/1642/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bobobobo.wordpress.com/1642/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bobobobo.wordpress.com/1642/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bobobobo.wordpress.com/1642/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bobobobo.wordpress.com/1642/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bobobobo.wordpress.com/1642/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bobobobo.wordpress.com/1642/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bobobobo.wordpress.com/1642/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bobobobo.wordpress.com/1642/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bobobobo.wordpress.com/1642/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bobobobo.wordpress.com&amp;blog=2331964&amp;post=1642&amp;subd=bobobobo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bobobobo.wordpress.com/2011/12/20/rotation-translation-vs-translation-rotation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a4ec51727310397c9e592dd84ae74dc2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">bobobobo</media:title>
		</media:content>

		<media:content url="http://bobobobo.files.wordpress.com/2011/12/transrot1.png" medium="image" />

		<media:content url="http://bobobobo.files.wordpress.com/2011/12/transrot2.png" medium="image" />

		<media:content url="http://bobobobo.files.wordpress.com/2011/12/rottrans_1.png" medium="image" />

		<media:content url="http://bobobobo.files.wordpress.com/2011/12/rottrans_2.png" medium="image" />
	</item>
		<item>
		<title>Patchiness in Raytracing / Radiosity renders</title>
		<link>http://bobobobo.wordpress.com/2011/12/10/patchiness-in-raytracing-radiosity-renders/</link>
		<comments>http://bobobobo.wordpress.com/2011/12/10/patchiness-in-raytracing-radiosity-renders/#comments</comments>
		<pubDate>Sat, 10 Dec 2011 20:17:37 +0000</pubDate>
		<dc:creator>bobobobo</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[radiosity]]></category>
		<category><![CDATA[patchy]]></category>
		<category><![CDATA[renders]]></category>

		<guid isPermaLink="false">http://bobobobo.wordpress.com/?p=1636</guid>
		<description><![CDATA[I&#8217;ve seen this _more than once_ and always seem to look to the wrong things.. # Problem: patchy renders # Diagnosis: Eye is TOO CLOSE to the surfaces when rendering hemicubes. &#8211; turn OFF backface rendering (CULL THE BACKFACES!!) &#8211; move the eye 1e-9 units in the direction of the eyeToLook vector (to move it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bobobobo.wordpress.com&amp;blog=2331964&amp;post=1636&amp;subd=bobobobo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve seen this _more than once_ and always seem to look to the wrong things..</p>
<p># Problem: patchy renders<br />
<img src="http://bobobobo.files.wordpress.com/2011/12/problemradiosity.png?w=510" /></p>
<p># Diagnosis: Eye is TOO CLOSE to the surfaces when rendering hemicubes.<br />
<img src="http://bobobobo.files.wordpress.com/2011/12/fixedradiosity.png?w=510" /></p>
<p>  &#8211; turn OFF backface rendering (CULL THE BACKFACES!!)<br />
  &#8211; move the eye 1e-9 units in the direction of the eyeToLook vector (to move it JUST ABOVE the surface of the patch you are getting the hemicube for)</p>
<br />Filed under: <a href='http://bobobobo.wordpress.com/category/misc/'>misc</a> Tagged: <a href='http://bobobobo.wordpress.com/tag/patchy/'>patchy</a>, <a href='http://bobobobo.wordpress.com/tag/radiosity/'>radiosity</a>, <a href='http://bobobobo.wordpress.com/tag/renders/'>renders</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bobobobo.wordpress.com/1636/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bobobobo.wordpress.com/1636/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bobobobo.wordpress.com/1636/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bobobobo.wordpress.com/1636/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bobobobo.wordpress.com/1636/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bobobobo.wordpress.com/1636/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bobobobo.wordpress.com/1636/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bobobobo.wordpress.com/1636/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bobobobo.wordpress.com/1636/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bobobobo.wordpress.com/1636/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bobobobo.wordpress.com/1636/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bobobobo.wordpress.com/1636/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bobobobo.wordpress.com/1636/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bobobobo.wordpress.com/1636/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bobobobo.wordpress.com&amp;blog=2331964&amp;post=1636&amp;subd=bobobobo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bobobobo.wordpress.com/2011/12/10/patchiness-in-raytracing-radiosity-renders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a4ec51727310397c9e592dd84ae74dc2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">bobobobo</media:title>
		</media:content>

		<media:content url="http://bobobobo.files.wordpress.com/2011/12/problemradiosity.png" medium="image" />

		<media:content url="http://bobobobo.files.wordpress.com/2011/12/fixedradiosity.png" medium="image" />
	</item>
		<item>
		<title>error FTK1011: could not create the new file tracking log file:  The file exists.</title>
		<link>http://bobobobo.wordpress.com/2011/11/11/error-ftk1011-could-not-create-the-new-file-tracking-log-file-the-file-exists/</link>
		<comments>http://bobobobo.wordpress.com/2011/11/11/error-ftk1011-could-not-create-the-new-file-tracking-log-file-the-file-exists/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 16:08:14 +0000</pubDate>
		<dc:creator>bobobobo</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[visual studio 2010]]></category>

		<guid isPermaLink="false">http://bobobobo.wordpress.com/?p=1631</guid>
		<description><![CDATA[error FTK1011: could not create the new file tracking log file: The file exists. This error means visual studio 2010 is unhappy about a DEBUG/RELEASE/BUILD folder already existing. You need to go to your project folder and delete ALL build folders (/Debug, /Release) and then rebuild the project. Filed under: misc Tagged: bugs, visual studio [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bobobobo.wordpress.com&amp;blog=2331964&amp;post=1631&amp;subd=bobobobo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>error FTK1011: could not create the new file tracking log file:  The file exists.</p>
<p>This error means visual studio 2010 is unhappy about a DEBUG/RELEASE/BUILD folder already existing.  You need to go to your project folder and delete ALL build folders (/Debug, /Release) and then rebuild the project.</p>
<br />Filed under: <a href='http://bobobobo.wordpress.com/category/misc/'>misc</a> Tagged: <a href='http://bobobobo.wordpress.com/tag/bugs/'>bugs</a>, <a href='http://bobobobo.wordpress.com/tag/visual-studio-2010/'>visual studio 2010</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bobobobo.wordpress.com/1631/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bobobobo.wordpress.com/1631/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bobobobo.wordpress.com/1631/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bobobobo.wordpress.com/1631/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bobobobo.wordpress.com/1631/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bobobobo.wordpress.com/1631/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bobobobo.wordpress.com/1631/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bobobobo.wordpress.com/1631/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bobobobo.wordpress.com/1631/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bobobobo.wordpress.com/1631/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bobobobo.wordpress.com/1631/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bobobobo.wordpress.com/1631/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bobobobo.wordpress.com/1631/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bobobobo.wordpress.com/1631/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bobobobo.wordpress.com&amp;blog=2331964&amp;post=1631&amp;subd=bobobobo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bobobobo.wordpress.com/2011/11/11/error-ftk1011-could-not-create-the-new-file-tracking-log-file-the-file-exists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a4ec51727310397c9e592dd84ae74dc2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">bobobobo</media:title>
		</media:content>
	</item>
		<item>
		<title>Derivative of sin(x) is +90 degree phase shift</title>
		<link>http://bobobobo.wordpress.com/2011/11/02/derivative-of-sinx-is-90-degree-phase-shift/</link>
		<comments>http://bobobobo.wordpress.com/2011/11/02/derivative-of-sinx-is-90-degree-phase-shift/#comments</comments>
		<pubDate>Wed, 02 Nov 2011 15:17:03 +0000</pubDate>
		<dc:creator>bobobobo</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[math]]></category>

		<guid isPermaLink="false">http://bobobobo.wordpress.com/?p=1625</guid>
		<description><![CDATA[We all know d/dx sin( x ) = cos( x ). Also noted that constitutes a +90 degree phase shift in sin( x ) Filed under: misc Tagged: math<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bobobobo.wordpress.com&amp;blog=2331964&amp;post=1625&amp;subd=bobobobo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We all know d/dx sin( x ) = cos( x ).</p>
<p>Also noted that constitutes a +90 degree phase shift in sin( x )</p>
<p><img src="http://bobobobo.files.wordpress.com/2011/11/90-deg.png?w=510" /></p>
<p><img src="http://bobobobo.files.wordpress.com/2011/11/90-deg-2.png?w=510" /></p>
<br />Filed under: <a href='http://bobobobo.wordpress.com/category/misc/'>misc</a> Tagged: <a href='http://bobobobo.wordpress.com/tag/math/'>math</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bobobobo.wordpress.com/1625/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bobobobo.wordpress.com/1625/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bobobobo.wordpress.com/1625/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bobobobo.wordpress.com/1625/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bobobobo.wordpress.com/1625/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bobobobo.wordpress.com/1625/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bobobobo.wordpress.com/1625/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bobobobo.wordpress.com/1625/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bobobobo.wordpress.com/1625/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bobobobo.wordpress.com/1625/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bobobobo.wordpress.com/1625/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bobobobo.wordpress.com/1625/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bobobobo.wordpress.com/1625/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bobobobo.wordpress.com/1625/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bobobobo.wordpress.com&amp;blog=2331964&amp;post=1625&amp;subd=bobobobo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bobobobo.wordpress.com/2011/11/02/derivative-of-sinx-is-90-degree-phase-shift/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a4ec51727310397c9e592dd84ae74dc2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">bobobobo</media:title>
		</media:content>

		<media:content url="http://bobobobo.files.wordpress.com/2011/11/90-deg.png" medium="image" />

		<media:content url="http://bobobobo.files.wordpress.com/2011/11/90-deg-2.png" medium="image" />
	</item>
		<item>
		<title>Form factors</title>
		<link>http://bobobobo.wordpress.com/2011/09/28/form-factors/</link>
		<comments>http://bobobobo.wordpress.com/2011/09/28/form-factors/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 23:27:24 +0000</pubDate>
		<dc:creator>bobobobo</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[form factors]]></category>
		<category><![CDATA[math]]></category>

		<guid isPermaLink="false">http://bobobobo.wordpress.com/?p=1619</guid>
		<description><![CDATA[Page 283 of Ashdown&#8217;s Radiosity text and page 9 of ppsloan&#8217;s cube projection both use this. The reason r is sqrt( 1 + u^2 + v^2 ) is: Filed under: misc Tagged: form factors, math<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bobobobo.wordpress.com&amp;blog=2331964&amp;post=1619&amp;subd=bobobobo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Page 283 of Ashdown&#8217;s Radiosity text and page 9 of ppsloan&#8217;s cube projection both use this.</p>
<p>The reason r is sqrt( 1 + u^2 + v^2 ) is:</p>
<p><img src="http://bobobobo.files.wordpress.com/2011/09/formfactors.png?w=510" /></p>
<br />Filed under: <a href='http://bobobobo.wordpress.com/category/misc/'>misc</a> Tagged: <a href='http://bobobobo.wordpress.com/tag/form-factors/'>form factors</a>, <a href='http://bobobobo.wordpress.com/tag/math/'>math</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bobobobo.wordpress.com/1619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bobobobo.wordpress.com/1619/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bobobobo.wordpress.com/1619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bobobobo.wordpress.com/1619/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bobobobo.wordpress.com/1619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bobobobo.wordpress.com/1619/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bobobobo.wordpress.com/1619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bobobobo.wordpress.com/1619/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bobobobo.wordpress.com/1619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bobobobo.wordpress.com/1619/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bobobobo.wordpress.com/1619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bobobobo.wordpress.com/1619/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bobobobo.wordpress.com/1619/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bobobobo.wordpress.com/1619/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bobobobo.wordpress.com&amp;blog=2331964&amp;post=1619&amp;subd=bobobobo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bobobobo.wordpress.com/2011/09/28/form-factors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a4ec51727310397c9e592dd84ae74dc2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">bobobobo</media:title>
		</media:content>

		<media:content url="http://bobobobo.files.wordpress.com/2011/09/formfactors.png" medium="image" />
	</item>
		<item>
		<title>MSDN unshit scriptlet</title>
		<link>http://bobobobo.wordpress.com/2011/09/27/msdn-unshit-scriptlet/</link>
		<comments>http://bobobobo.wordpress.com/2011/09/27/msdn-unshit-scriptlet/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 23:46:44 +0000</pubDate>
		<dc:creator>bobobobo</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[msdn]]></category>
		<category><![CDATA[unshit]]></category>

		<guid isPermaLink="false">http://bobobobo.wordpress.com/?p=1615</guid>
		<description><![CDATA[Since a week or so MSDN pages scraped by google have been meant for small devices like the iPad. Here&#8217;s the msdn unshit scriptlet, which just replaces the /windows/desktop/ part of the url with nothing: javascript:window.location = String(window.location).replace(/(.*)\/windows\/desktop(.*)/, &#8216;$1$2&#8242; ) ; Filed under: misc Tagged: msdn, unshit<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bobobobo.wordpress.com&amp;blog=2331964&amp;post=1615&amp;subd=bobobobo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Since a week or so MSDN pages scraped by google have been meant for small devices like the iPad.</p>
<p>Here&#8217;s the msdn unshit scriptlet, which just replaces the /windows/desktop/ part of the url with nothing:</p>
<p>javascript:window.location = String(window.location).replace(/(.*)\/windows\/desktop(.*)/, &#8216;$1$2&#8242; ) ;</p>
<br />Filed under: <a href='http://bobobobo.wordpress.com/category/misc/'>misc</a> Tagged: <a href='http://bobobobo.wordpress.com/tag/msdn/'>msdn</a>, <a href='http://bobobobo.wordpress.com/tag/unshit/'>unshit</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bobobobo.wordpress.com/1615/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bobobobo.wordpress.com/1615/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bobobobo.wordpress.com/1615/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bobobobo.wordpress.com/1615/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bobobobo.wordpress.com/1615/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bobobobo.wordpress.com/1615/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bobobobo.wordpress.com/1615/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bobobobo.wordpress.com/1615/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bobobobo.wordpress.com/1615/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bobobobo.wordpress.com/1615/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bobobobo.wordpress.com/1615/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bobobobo.wordpress.com/1615/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bobobobo.wordpress.com/1615/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bobobobo.wordpress.com/1615/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bobobobo.wordpress.com&amp;blog=2331964&amp;post=1615&amp;subd=bobobobo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bobobobo.wordpress.com/2011/09/27/msdn-unshit-scriptlet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a4ec51727310397c9e592dd84ae74dc2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">bobobobo</media:title>
		</media:content>
	</item>
		<item>
		<title>Specular reflection eqn</title>
		<link>http://bobobobo.wordpress.com/2011/09/27/specular-reflection-eqn/</link>
		<comments>http://bobobobo.wordpress.com/2011/09/27/specular-reflection-eqn/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 16:07:10 +0000</pubDate>
		<dc:creator>bobobobo</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[computer-graphics]]></category>
		<category><![CDATA[dot]]></category>
		<category><![CDATA[lighting]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[ndotl]]></category>
		<category><![CDATA[normal]]></category>
		<category><![CDATA[reflection]]></category>
		<category><![CDATA[specular]]></category>

		<guid isPermaLink="false">http://bobobobo.wordpress.com/?p=1609</guid>
		<description><![CDATA[This is easy but usually tricky to get the hang of at first EVERY VECTOR HERE IS A UNIT VECTOR EVEN IF IT DOESN&#8217;T APPEAR SO IN THE DIAGRAMS If you have an incident vector hitting a surface (that has a normal defined for it!), then you can calc the angle of the reflected vector [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bobobobo.wordpress.com&amp;blog=2331964&amp;post=1609&amp;subd=bobobobo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is easy but usually tricky to get the hang of at first</p>
<p>EVERY VECTOR HERE IS A UNIT VECTOR EVEN IF IT DOESN&#8217;T APPEAR SO IN THE DIAGRAMS</p>
<p>If you have an incident vector hitting a surface (that has a normal defined for it!), then you can calc the angle of the reflected vector like so:</p>
<p><img src="http://bobobobo.files.wordpress.com/2011/09/rfln.png?w=510" /><br />
EVERY VECTOR HERE IS A UNIT VECTOR EVEN IF IT DOESN&#8217;T APPEAR SO IN THE DIAGRAMS</p>
<p>ANSWER:</p>
<blockquote>
<p>reflected = incident &#8211; 2 &times; (normal &sdot; incident) normal</p>
</blockquote>
<p>WHY?</p>
<p><img src="http://bobobobo.files.wordpress.com/2011/09/rfln1.png?w=510" /><br />
EVERY VECTOR HERE IS A UNIT VECTOR EVEN IF IT DOESN&#8217;T APPEAR SO IN THE DIAGRAMS</p>
<p>All you&#8217;ve gots to do is look at the angle the incident makes with the normal.  That&#8217;s what the formula I gave says anyway.</p>
<p>But also consider this.  If the incident is perpendicular to the normal, then the reflected angle has pretty much no change from the incident angle.  IE AT the case where the incident vector has an angle of 90 degrees with the normal of the surface, the &#8220;reflected&#8221; vector (if you can call it that!) is in the same direction as the &#8220;incident&#8221; vector.  That is because the dot product (normal &sdot; incident) goes to 0 when the angle between incident and normal is 90 degrees, so:</p>
<p>reflected = incident &#8211; 2 &times; (normal &sdot; incident) normal<br />
reflected = incident &#8211; 2 &times; (0) normal<br />
reflected = incident</p>
<p>So that&#8217;s interesting.  Now consider the other case where the angle between the normal and incident is 180 degrees (ie the ray hits the surface head-on):</p>
<p><img src="http://bobobobo.files.wordpress.com/2011/09/rfln3.png?w=510" /><br />
EVERY VECTOR HERE IS A UNIT VECTOR EVEN IF IT DOESN&#8217;T APPEAR SO IN THE DIAGRAMS</p>
<p>reflected = incident &#8211; 2 &times; (normal &sdot; incident) normal<br />
reflected = incident &#8211; 2 &times; (-1) normal<br />
reflected = incident + 2 &times; normal</p>
<p>IE reflected turns completely around.</p>
<p>For everything else in between, there&#8217;s cosine.</p>
<p>So there is LESS change in the direction of the reflected angle as the incident-normal angle grows.  This is encoded by the dot product/cosine in the normal reflection.</p>
<p>Ok, here&#8217;s the math for it.</p>
<p>Using this diagram:</p>
<p><img src="http://bobobobo.files.wordpress.com/2011/09/rfln4.png?w=510" /><br />
EVERY VECTOR HERE IS A UNIT VECTOR EVEN IF IT DOESN&#8217;T APPEAR SO IN THE DIAGRAMS</p>
<p>The angle THETA there is going to be the cosine of the NORMAL and the INCIDENT</p>
<p>The SMALLER ANGLE GAMMA is going to be (THETA &#8211; 90) because the normal is at an angle of 90 degrees with the surface.  That&#8217;s why its a normal, duh!</p>
<p>Now then some simple vector math will give you:</p>
<p>The length of the pink side X (perp distance to surface from INCIDENT vector:)</p>
<p>X = sin( GAMMA ) (remember incident is a unit vector)</p>
<p>So, now </p>
<p>REFLECTED = INCIDENT + 2 (sin (GAMMA)) ( NORMAL )</p>
<p>This makes sense because WHEN (sin(GAMMA)) is small, (angle between INCIDENT and NORMAL == nearly 90 degrees) we don&#8217;t need to add a large &#8220;displacement&#8221; in the direction of the normal to get the reflected vector (we add 0 x normal in the extreme case of a 90 degree INCIDENT angle with NORMAL).  As the angle between NORMAL and INCIDENT INcreases, so does the displacement we need to use to the reflected vector, until we get to the other extreme case where the REFLECTED = INCIDENT + 2 * NORMAL.</p>
<p>Ok then, simplify.</p>
<p>REFLECTED = INCIDENT + 2 (sin (GAMMA)) ( NORMAL )<br />
REFLECTED = INCIDENT + 2 (sin (THETA &#8211; 90)) (NORMAL)<br />
REFLECTED = INCIDENT + 2 (sin (THETA)cos(90) &#8211; sin(90)cos(THETA)) (NORMAL)</p>
<p>cos(90)=0, sin(90)=1</p>
<p>REFLECTED = INCIDENT + 2 (-cos(THETA)) (NORMAL)</p>
<p>cos(THETA) = INCIDENT &sdot; NORMAL</p>
<p>REFLECTED = INCIDENT &#8211; 2 ( INCIDENT &sdot; NORMAL ) (NORMAL)</p>
<p>And there you have it.</p>
<br />Filed under: <a href='http://bobobobo.wordpress.com/category/misc/'>misc</a> Tagged: <a href='http://bobobobo.wordpress.com/tag/computer-graphics/'>computer-graphics</a>, <a href='http://bobobobo.wordpress.com/tag/dot/'>dot</a>, <a href='http://bobobobo.wordpress.com/tag/lighting/'>lighting</a>, <a href='http://bobobobo.wordpress.com/tag/math/'>math</a>, <a href='http://bobobobo.wordpress.com/tag/ndotl/'>ndotl</a>, <a href='http://bobobobo.wordpress.com/tag/normal/'>normal</a>, <a href='http://bobobobo.wordpress.com/tag/reflection/'>reflection</a>, <a href='http://bobobobo.wordpress.com/tag/specular/'>specular</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bobobobo.wordpress.com/1609/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bobobobo.wordpress.com/1609/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bobobobo.wordpress.com/1609/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bobobobo.wordpress.com/1609/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bobobobo.wordpress.com/1609/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bobobobo.wordpress.com/1609/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bobobobo.wordpress.com/1609/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bobobobo.wordpress.com/1609/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bobobobo.wordpress.com/1609/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bobobobo.wordpress.com/1609/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bobobobo.wordpress.com/1609/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bobobobo.wordpress.com/1609/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bobobobo.wordpress.com/1609/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bobobobo.wordpress.com/1609/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bobobobo.wordpress.com&amp;blog=2331964&amp;post=1609&amp;subd=bobobobo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bobobobo.wordpress.com/2011/09/27/specular-reflection-eqn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a4ec51727310397c9e592dd84ae74dc2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">bobobobo</media:title>
		</media:content>

		<media:content url="http://bobobobo.files.wordpress.com/2011/09/rfln.png" medium="image" />

		<media:content url="http://bobobobo.files.wordpress.com/2011/09/rfln1.png" medium="image" />

		<media:content url="http://bobobobo.files.wordpress.com/2011/09/rfln3.png" medium="image" />

		<media:content url="http://bobobobo.files.wordpress.com/2011/09/rfln4.png" medium="image" />
	</item>
		<item>
		<title>Just a note about LightWave 3D OBJ Export v2.1..</title>
		<link>http://bobobobo.wordpress.com/2011/08/31/just-a-note-about-lightwave-3d-obj-export-v2-1/</link>
		<comments>http://bobobobo.wordpress.com/2011/08/31/just-a-note-about-lightwave-3d-obj-export-v2-1/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 03:39:28 +0000</pubDate>
		<dc:creator>bobobobo</dc:creator>
				<category><![CDATA[misc]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[lightwave]]></category>
		<category><![CDATA[obj]]></category>

		<guid isPermaLink="false">http://bobobobo.wordpress.com/?p=1604</guid>
		<description><![CDATA[LightWave 3D OBJ Export v2.1 is completely screwed up In this model I have, it does the most ODD things. One thing it does (but this is valid, just I didn&#8217;t expect it) is it uses negative texcoord indices sometimes (so f 5/-1 126/-2 140/-3 52/-4). Negative indices just means to use the last vt, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bobobobo.wordpress.com&amp;blog=2331964&amp;post=1604&amp;subd=bobobobo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>LightWave 3D OBJ Export v2.1 is completely screwed up</p>
<p>In this model I have, it does the most ODD things.</p>
<p>One thing it does (but this is valid, just I didn&#8217;t expect it) is it uses negative texcoord indices sometimes (so f 5/-1 126/-2 140/-3 52/-4).  Negative indices just means to use the last vt, 2nd last vt, etc.</p>
<p>The thing it does apparently wrong is it DOES NOT include any newmtl statements, or a mtllib file, and it uses usemtl statements as if they are _IMAGE FILENAMES_ (really its supposed to be map_kd, or map_ka).</p>
<p>The quick fix is to add code:<br />
  &#8211; if usemtl is attempted but that mtl doesn&#8217;t exist, create it and see if there is an image with the same filename as the mtl. If there is, load it and use it for that mtl.<br />
  &#8211; check the vt index and if it is negative, use the -whatever vt coordinate from your current point in the file</p>
<p>These aren&#8217;t _that bad_, but they really <a href="http://paulbourke.net/dataformats/obj/">should follow the file format correctly</a></p>
<p>Also, it exports non-convex polygons.</p>
<br />Filed under: <a href='http://bobobobo.wordpress.com/category/misc/'>misc</a> Tagged: <a href='http://bobobobo.wordpress.com/tag/files/'>files</a>, <a href='http://bobobobo.wordpress.com/tag/lightwave/'>lightwave</a>, <a href='http://bobobobo.wordpress.com/tag/obj/'>obj</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bobobobo.wordpress.com/1604/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bobobobo.wordpress.com/1604/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bobobobo.wordpress.com/1604/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bobobobo.wordpress.com/1604/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bobobobo.wordpress.com/1604/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bobobobo.wordpress.com/1604/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bobobobo.wordpress.com/1604/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bobobobo.wordpress.com/1604/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bobobobo.wordpress.com/1604/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bobobobo.wordpress.com/1604/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bobobobo.wordpress.com/1604/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bobobobo.wordpress.com/1604/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bobobobo.wordpress.com/1604/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bobobobo.wordpress.com/1604/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bobobobo.wordpress.com&amp;blog=2331964&amp;post=1604&amp;subd=bobobobo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bobobobo.wordpress.com/2011/08/31/just-a-note-about-lightwave-3d-obj-export-v2-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a4ec51727310397c9e592dd84ae74dc2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">bobobobo</media:title>
		</media:content>
	</item>
		<item>
		<title>If then</title>
		<link>http://bobobobo.wordpress.com/2011/08/19/if-then/</link>
		<comments>http://bobobobo.wordpress.com/2011/08/19/if-then/#comments</comments>
		<pubDate>Fri, 19 Aug 2011 21:17:48 +0000</pubDate>
		<dc:creator>bobobobo</dc:creator>
				<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://bobobobo.wordpress.com/?p=1601</guid>
		<description><![CDATA[if( sh ) then: puts( &#8220;Yeah it was sh&#8221; ) ; Filed under: misc<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bobobobo.wordpress.com&amp;blog=2331964&amp;post=1601&amp;subd=bobobobo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>if( sh ) then: puts( &#8220;Yeah it was sh&#8221; ) ;</p>
<br />Filed under: <a href='http://bobobobo.wordpress.com/category/misc/'>misc</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bobobobo.wordpress.com/1601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bobobobo.wordpress.com/1601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bobobobo.wordpress.com/1601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bobobobo.wordpress.com/1601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bobobobo.wordpress.com/1601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bobobobo.wordpress.com/1601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bobobobo.wordpress.com/1601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bobobobo.wordpress.com/1601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bobobobo.wordpress.com/1601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bobobobo.wordpress.com/1601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bobobobo.wordpress.com/1601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bobobobo.wordpress.com/1601/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bobobobo.wordpress.com/1601/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bobobobo.wordpress.com/1601/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bobobobo.wordpress.com&amp;blog=2331964&amp;post=1601&amp;subd=bobobobo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bobobobo.wordpress.com/2011/08/19/if-then/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a4ec51727310397c9e592dd84ae74dc2?s=96&#38;d=http%3A%2F%2Fs0.wp.com%2Fi%2Fmu.gif" medium="image">
			<media:title type="html">bobobobo</media:title>
		</media:content>
	</item>
	</channel>
</rss>
