<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: libPNG Tutorial: Loading PNG files from streams</title>
	<atom:link href="http://www.piko3d.com/?feed=rss2&#038;page_id=68" rel="self" type="application/rss+xml" />
	<link>http://www.piko3d.com</link>
	<description>Straight forward little 3D engine</description>
	<lastBuildDate>Sun, 27 Jun 2010 14:14:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Michael</title>
		<link>http://www.piko3d.com/?page_id=68&#038;cpage=2#comment-949</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sun, 27 Jun 2010 14:14:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.piko3d.com/?page_id=68#comment-949</guid>
		<description>Thanks for this tutorial, it&#039;s been of great value!</description>
		<content:encoded><![CDATA[<p>Thanks for this tutorial, it&#8217;s been of great value!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ra</title>
		<link>http://www.piko3d.com/?page_id=68&#038;cpage=2#comment-288</link>
		<dc:creator>Ra</dc:creator>
		<pubDate>Fri, 02 Apr 2010 23:42:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.piko3d.com/?page_id=68#comment-288</guid>
		<description>Thanks and congratulations for this great tutorial! Salud!</description>
		<content:encoded><![CDATA[<p>Thanks and congratulations for this great tutorial! Salud!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wracky</title>
		<link>http://www.piko3d.com/?page_id=68&#038;cpage=1#comment-229</link>
		<dc:creator>Wracky</dc:creator>
		<pubDate>Wed, 17 Mar 2010 20:41:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.piko3d.com/?page_id=68#comment-229</guid>
		<description>Thanks for noticing! You&#039;re the first to notice it out of the 2.400+ people that have viewed the tutorial so far :D I&#039;ve made a test case and it would indeed crash. I&#039;ve updated the tutorial. Thanks again!!</description>
		<content:encoded><![CDATA[<p>Thanks for noticing! You&#8217;re the first to notice it out of the 2.400+ people that have viewed the tutorial so far <img src='http://www.piko3d.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  I&#8217;ve made a test case and it would indeed crash. I&#8217;ve updated the tutorial. Thanks again!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.piko3d.com/?page_id=68&#038;cpage=1#comment-225</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Mon, 15 Mar 2010 22:34:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.piko3d.com/?page_id=68#comment-225</guid>
		<description>I&#039;m not sure, but you use all those filters to change bit depths and stuff, and you still use the old depths and everything for you arrays. Shouldn&#039;t you update these values as well?</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure, but you use all those filters to change bit depths and stuff, and you still use the old depths and everything for you arrays. Shouldn&#8217;t you update these values as well?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wracky</title>
		<link>http://www.piko3d.com/?page_id=68&#038;cpage=1#comment-211</link>
		<dc:creator>Wracky</dc:creator>
		<pubDate>Thu, 11 Mar 2010 22:39:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.piko3d.com/?page_id=68#comment-211</guid>
		<description>yeah you are right...I know its not the best option. I think i&#039;ll spend some more time on this later and change the tutorial to use the callbacks for error handling. Thanks for the reply!</description>
		<content:encoded><![CDATA[<p>yeah you are right&#8230;I know its not the best option. I think i&#8217;ll spend some more time on this later and change the tutorial to use the callbacks for error handling. Thanks for the reply!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xlq</title>
		<link>http://www.piko3d.com/?page_id=68&#038;cpage=1#comment-210</link>
		<dc:creator>xlq</dc:creator>
		<pubDate>Thu, 11 Mar 2010 21:46:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.piko3d.com/?page_id=68#comment-210</guid>
		<description>Watch out for setjmp/longjmp and C++. If you&#039;re using function-scope non-pod objects and you&#039;re not careful, libpng could longjmp over some destructor calls and leak memory/cause undefined behaviour. Also, if something throws an exception in there, such as new, you&#039;ll leak all your buffers and PNG structures.</description>
		<content:encoded><![CDATA[<p>Watch out for setjmp/longjmp and C++. If you&#8217;re using function-scope non-pod objects and you&#8217;re not careful, libpng could longjmp over some destructor calls and leak memory/cause undefined behaviour. Also, if something throws an exception in there, such as new, you&#8217;ll leak all your buffers and PNG structures.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DPurple</title>
		<link>http://www.piko3d.com/?page_id=68&#038;cpage=1#comment-171</link>
		<dc:creator>DPurple</dc:creator>
		<pubDate>Sat, 20 Feb 2010 05:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.piko3d.com/?page_id=68#comment-171</guid>
		<description>Great tutorial, helped me a lot!
thanks!</description>
		<content:encoded><![CDATA[<p>Great tutorial, helped me a lot!<br />
thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wracky</title>
		<link>http://www.piko3d.com/?page_id=68&#038;cpage=1#comment-135</link>
		<dc:creator>Wracky</dc:creator>
		<pubDate>Tue, 02 Feb 2010 15:06:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.piko3d.com/?page_id=68#comment-135</guid>
		<description>Changed it! Thanks for the comment :-D</description>
		<content:encoded><![CDATA[<p>Changed it! Thanks for the comment <img src='http://www.piko3d.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nevelis</title>
		<link>http://www.piko3d.com/?page_id=68&#038;cpage=1#comment-134</link>
		<dc:creator>nevelis</dc:creator>
		<pubDate>Mon, 01 Feb 2010 21:21:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.piko3d.com/?page_id=68#comment-134</guid>
		<description>Shouldn&#039;t:

for (size_t i = 0; i &lt; bufferHeight; i++)

be:

for (size_t i = 0; i &lt; imgHeight; i++)
?

Great tut :)

Cheers!</description>
		<content:encoded><![CDATA[<p>Shouldn&#8217;t:</p>
<p>for (size_t i = 0; i &lt; bufferHeight; i++)</p>
<p>be:</p>
<p>for (size_t i = 0; i &lt; imgHeight; i++)<br />
?</p>
<p>Great tut <img src='http://www.piko3d.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guest</title>
		<link>http://www.piko3d.com/?page_id=68&#038;cpage=1#comment-128</link>
		<dc:creator>Guest</dc:creator>
		<pubDate>Tue, 19 Jan 2010 22:42:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.piko3d.com/?page_id=68#comment-128</guid>
		<description>Thank you for this tutorial, very helpful.

&gt;Funnily enough, this is also how a .BMP image is stored. (I don’t know why! if anyone knows, leave a comment! )

That&#039;s because in 3D applications one of the axises (Y or Z) is usually directed straight up, not down. This would create additional inconsistency, if (U, V) image coordinates and (X, Y)/(X, Z) world coordinates will not be conformed.</description>
		<content:encoded><![CDATA[<p>Thank you for this tutorial, very helpful.</p>
<p>&gt;Funnily enough, this is also how a .BMP image is stored. (I don’t know why! if anyone knows, leave a comment! )</p>
<p>That&#8217;s because in 3D applications one of the axises (Y or Z) is usually directed straight up, not down. This would create additional inconsistency, if (U, V) image coordinates and (X, Y)/(X, Z) world coordinates will not be conformed.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
