<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Code Laboratorium</title>
	<atom:link href="http://codelab.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://codelab.wordpress.com</link>
	<description>Musings of a grumpy coder</description>
	<lastBuildDate>Mon, 09 Nov 2009 01:06:14 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on FreeGLUT spaceball patch by Nuclear</title>
		<link>http://codelab.wordpress.com/2009/10/16/freeglut-spaceball-patch/#comment-84</link>
		<dc:creator>Nuclear</dc:creator>
		<pubDate>Mon, 09 Nov 2009 01:06:14 +0000</pubDate>
		<guid isPermaLink="false">http://codelab.wordpress.com/?p=91#comment-84</guid>
		<description>The patch has been commited to the freeglut subversion repository (rev 837 and up), and should make it into the next freeglut 2.6.0 release (which I understand should be out shortly).

Btw, where freeglut is installed can be controlled by passing the --prefix=/what/ever/path argument to the configure script. However /usr/local/include should be in the default search path. At least it is on my system.</description>
		<content:encoded><![CDATA[<p>The patch has been commited to the freeglut subversion repository (rev 837 and up), and should make it into the next freeglut 2.6.0 release (which I understand should be out shortly).</p>
<p>Btw, where freeglut is installed can be controlled by passing the &#8211;prefix=/what/ever/path argument to the configure script. However /usr/local/include should be in the default search path. At least it is on my system.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on FreeGLUT spaceball patch by Guillaume Riviere</title>
		<link>http://codelab.wordpress.com/2009/10/16/freeglut-spaceball-patch/#comment-82</link>
		<dc:creator>Guillaume Riviere</dc:creator>
		<pubDate>Tue, 03 Nov 2009 03:25:34 +0000</pubDate>
		<guid isPermaLink="false">http://codelab.wordpress.com/?p=91#comment-82</guid>
		<description>PS:
1) On this page http://spacenav.sourceforge.net/glut/
you should precise that the patch must be copied and applied in the &quot;freeglut&quot; directory (obtained from svn)

2) The command &quot;make install&quot; installs freeglut in /usr/local/
then -I /usr/local/include must be added to gcc or g++</description>
		<content:encoded><![CDATA[<p>PS:<br />
1) On this page <a href="http://spacenav.sourceforge.net/glut/" rel="nofollow">http://spacenav.sourceforge.net/glut/</a><br />
you should precise that the patch must be copied and applied in the &#8220;freeglut&#8221; directory (obtained from svn)</p>
<p>2) The command &#8220;make install&#8221; installs freeglut in /usr/local/<br />
then -I /usr/local/include must be added to gcc or g++</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on FreeGLUT spaceball patch by Guillaume Riviere</title>
		<link>http://codelab.wordpress.com/2009/10/16/freeglut-spaceball-patch/#comment-81</link>
		<dc:creator>Guillaume Riviere</dc:creator>
		<pubDate>Tue, 03 Nov 2009 03:14:21 +0000</pubDate>
		<guid isPermaLink="false">http://codelab.wordpress.com/?p=91#comment-81</guid>
		<description>Hello,

Thank you so much !!! I want to develop a GLUT application under Debian Lenny and to use the SpacePilot of 3D Connexions.

Then i needed the 3 functions glutSpaceballButtonFunc(), glutSpaceballMotionFunc () and glutSpaceballRotateFunc (), which are not (yet) implemented in FreeGLUT.

Current version is 833, the command to download should now be:

svn co https://freeglut.svn.sourceforge.net/svnroot/freeglut/trunk/freeglut/freeglut -r 832

Thanks again for your great work ! Hope FreeGLUT will add your patch to official version.

Guillaume</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Thank you so much !!! I want to develop a GLUT application under Debian Lenny and to use the SpacePilot of 3D Connexions.</p>
<p>Then i needed the 3 functions glutSpaceballButtonFunc(), glutSpaceballMotionFunc () and glutSpaceballRotateFunc (), which are not (yet) implemented in FreeGLUT.</p>
<p>Current version is 833, the command to download should now be:</p>
<p>svn co <a href="https://freeglut.svn.sourceforge.net/svnroot/freeglut/trunk/freeglut/freeglut" rel="nofollow">https://freeglut.svn.sourceforge.net/svnroot/freeglut/trunk/freeglut/freeglut</a> -r 832</p>
<p>Thanks again for your great work ! Hope FreeGLUT will add your patch to official version.</p>
<p>Guillaume</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on S-ray goes public by giannis</title>
		<link>http://codelab.wordpress.com/2009/10/04/s-ray-goes-public/#comment-78</link>
		<dc:creator>giannis</dc:creator>
		<pubDate>Sun, 18 Oct 2009 19:17:30 +0000</pubDate>
		<guid isPermaLink="false">http://codelab.wordpress.com/?p=85#comment-78</guid>
		<description>Congratulations!

Can&#039;t wait to see where you are heading with this! But the sooner you have easy downloadable/installable packages the sooner you get feedback. ;)</description>
		<content:encoded><![CDATA[<p>Congratulations!</p>
<p>Can&#8217;t wait to see where you are heading with this! But the sooner you have easy downloadable/installable packages the sooner you get feedback. ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Spacenavd 0.4 by modal</title>
		<link>http://codelab.wordpress.com/2009/07/24/spacenavd-0-4/#comment-68</link>
		<dc:creator>modal</dc:creator>
		<pubDate>Sun, 26 Jul 2009 22:26:05 +0000</pubDate>
		<guid isPermaLink="false">http://codelab.wordpress.com/?p=67#comment-68</guid>
		<description>Great stuff man!!

Love the new website as well :-)
The blue grid in the background reminded me of:
http://www.youtube.com/watch?v=zowhg6l9RUc</description>
		<content:encoded><![CDATA[<p>Great stuff man!!</p>
<p>Love the new website as well :-)<br />
The blue grid in the background reminded me of:<br />
<span style="text-align:center; display: block;"><a href="http://codelab.wordpress.com/2009/10/16/freeglut-spaceball-patch/"><img src="http://img.youtube.com/vi/zowhg6l9RUc/2.jpg" alt="" /></a></span></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sray raytracer under development by giannis</title>
		<link>http://codelab.wordpress.com/2009/06/12/sray-raytracer-under-development/#comment-54</link>
		<dc:creator>giannis</dc:creator>
		<pubDate>Sun, 21 Jun 2009 18:56:27 +0000</pubDate>
		<guid isPermaLink="false">http://codelab.wordpress.com/?p=61#comment-54</guid>
		<description>Ok, good to know - please keep us updated with your work! :)</description>
		<content:encoded><![CDATA[<p>Ok, good to know &#8211; please keep us updated with your work! :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sray raytracer under development by Nuclear</title>
		<link>http://codelab.wordpress.com/2009/06/12/sray-raytracer-under-development/#comment-53</link>
		<dc:creator>Nuclear</dc:creator>
		<pubDate>Sun, 21 Jun 2009 03:27:48 +0000</pubDate>
		<guid isPermaLink="false">http://codelab.wordpress.com/?p=61#comment-53</guid>
		<description>For the moment I&#039;m just having fun with it, plus it&#039;s my MSc dissertation project.
I will definitely release it when it&#039;s close to usable, but whether I&#039;ll carry on development and make it into something considered &quot;production quality&quot; in terms of features and performance, remains to be seen :)</description>
		<content:encoded><![CDATA[<p>For the moment I&#8217;m just having fun with it, plus it&#8217;s my MSc dissertation project.<br />
I will definitely release it when it&#8217;s close to usable, but whether I&#8217;ll carry on development and make it into something considered &#8220;production quality&#8221; in terms of features and performance, remains to be seen :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sray raytracer under development by giannis</title>
		<link>http://codelab.wordpress.com/2009/06/12/sray-raytracer-under-development/#comment-52</link>
		<dc:creator>giannis</dc:creator>
		<pubDate>Sat, 20 Jun 2009 21:48:18 +0000</pubDate>
		<guid isPermaLink="false">http://codelab.wordpress.com/?p=61#comment-52</guid>
		<description>It looks good John ;)

Is SRay going to be an educational tool of yours, or are you heading for a production ray-tracer?</description>
		<content:encoded><![CDATA[<p>It looks good John ;)</p>
<p>Is SRay going to be an educational tool of yours, or are you heading for a production ray-tracer?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sray raytracer under development by Nuclear</title>
		<link>http://codelab.wordpress.com/2009/06/12/sray-raytracer-under-development/#comment-51</link>
		<dc:creator>Nuclear</dc:creator>
		<pubDate>Sun, 14 Jun 2009 06:40:59 +0000</pubDate>
		<guid isPermaLink="false">http://codelab.wordpress.com/?p=61#comment-51</guid>
		<description>smathegreek: I&#039;m not sure about any tutorials, but I could suggest a book: &quot;An Introduction to Ray Tracing&quot; ( http://www.amazon.com/Introduction-tracing-Kaufmann-Computer-Graphics/dp/0122861604 ). Unfortunately I just noticed it&#039;s quite expensive, but no matter, actually I can explain how to write a simple ray tracer in a few sentences. The algorithm is extremely simple and elegant.

For each pixel of the image, you start by generating a ray that starts from the view point, and passes through that pixel. Then you have to test that ray with all objects in the scene and find the closest intersection point (start by supporting only spheres and infinite planes which are the simplest objects to test for intersections). If there is no intersection, just assign black, or whatever you consider the &quot;background&quot; color to that pixel. Otherwise, at the closest intersection, calculate the color using the standard phong reflectance model and assign that to the pixel.

Adding reflections is trivial. At the intersection point, recursively call the ray tracing routine with a new ray which has that point as its origin, and direction equal to the reflected vector of the original ray by the normal, and just add the color it returns to the calculated direct color, multiplied by the &quot;reflectivity&quot; of the object. Refraction and shadows are equally trivial if you think about it.

Have fun, and let me know if you give it a try, and ask if you have any problems :)</description>
		<content:encoded><![CDATA[<p>smathegreek: I&#8217;m not sure about any tutorials, but I could suggest a book: &#8220;An Introduction to Ray Tracing&#8221; ( <a href="http://www.amazon.com/Introduction-tracing-Kaufmann-Computer-Graphics/dp/0122861604" rel="nofollow">http://www.amazon.com/Introduction-tracing-Kaufmann-Computer-Graphics/dp/0122861604</a> ). Unfortunately I just noticed it&#8217;s quite expensive, but no matter, actually I can explain how to write a simple ray tracer in a few sentences. The algorithm is extremely simple and elegant.</p>
<p>For each pixel of the image, you start by generating a ray that starts from the view point, and passes through that pixel. Then you have to test that ray with all objects in the scene and find the closest intersection point (start by supporting only spheres and infinite planes which are the simplest objects to test for intersections). If there is no intersection, just assign black, or whatever you consider the &#8220;background&#8221; color to that pixel. Otherwise, at the closest intersection, calculate the color using the standard phong reflectance model and assign that to the pixel.</p>
<p>Adding reflections is trivial. At the intersection point, recursively call the ray tracing routine with a new ray which has that point as its origin, and direction equal to the reflected vector of the original ray by the normal, and just add the color it returns to the calculated direct color, multiplied by the &#8220;reflectivity&#8221; of the object. Refraction and shadows are equally trivial if you think about it.</p>
<p>Have fun, and let me know if you give it a try, and ask if you have any problems :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Sray raytracer under development by smathegreek</title>
		<link>http://codelab.wordpress.com/2009/06/12/sray-raytracer-under-development/#comment-50</link>
		<dc:creator>smathegreek</dc:creator>
		<pubDate>Sun, 14 Jun 2009 01:22:55 +0000</pubDate>
		<guid isPermaLink="false">http://codelab.wordpress.com/?p=61#comment-50</guid>
		<description>Gianni poly entypwsiako !!!
Mporeis na postareis kapoio link gia tutorials pou aforoun raytraces klp ???</description>
		<content:encoded><![CDATA[<p>Gianni poly entypwsiako !!!<br />
Mporeis na postareis kapoio link gia tutorials pou aforoun raytraces klp ???</p>
]]></content:encoded>
	</item>
</channel>
</rss>
