<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 19 Jun 2013 11:42:12 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Kore Nordman's Blog: Raytracing with Image_3D]]></title>
      <guid>http://www.phpdeveloper.org/news/5112</guid>
      <link>http://www.phpdeveloper.org/news/5112</link>
      <description><![CDATA[<i>Kore Nordman</i> has been making even further advancements in the development behind the <a href="http://pear.php.net/package/Image_3D">PEAR Image_3D</a> library - this time, he <a href="http://kore-nordmann.de/home/blog/php/raytracing_with_image_3d">looks at</a> raytracing in PHP.
<p>
<quote>
<i>
I was always writing, that implementing a <a href="http://en.wikipedia.org/wiki/Ray_tracing">raytracer</a> (or the better <a href="http://de.wikipedia.org/wiki/Raytracing">german description</a>) in PHP would be far to slow. And then, two days ago, I had the feeling I should prove this ... this was also the way <a href="http://pear.php.net/package/Image_3D">Image_3D</a> was born. With the infrastructure Image_3D offers, all the existing models, the abstraction etc. it wasn't such a big thing. You mainly need to write a short algorithm which gets the intersection point for a polygon with a line, and that's it. For sure, you should optimze the algorithm a bit. And it is really fun to implement such a simple mathematical model like raytracing is.
</i>
</quote>
<p>
He talks about some of the problems that raytracers don't have that normal renderers do (shadows, reflections, etc) and <a href="http://kore-nordmann.de/home/blog/php/raytracing_with_image_3d">notes</a> that the images display in the post took about seven minutes to render on his system. He proved that it can work, but notes that it supports his original hypothesis - rendering like this with PHP is just too slow.]]></description>
      <pubDate>Wed, 05 Apr 2006 07:48:36 -0500</pubDate>
    </item>
  </channel>
</rss>
