<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=Image_3D</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/17008" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/17008">
      <title>Image_3D: Bug 17008 [Open] Bad layers detection</title>
      <link>http://pear.php.net/bugs/17008</link>
      <content:encoded><![CDATA[<pre>Image_3D Bug
Reported by waterwall
2010-01-18T07:24:02+00:00
PHP: 5.2.4 OS: Ubuntu Package Version: 0.4.1

Description:
------------
Image_3d renders it in wrong way. I guess the problem is to check which object is in front (or back).

Test script:
---------------
$world = new Image_3D ();
$world -&gt; setColor (new Image_3D_Color (240, 240, 240));

$light1 = $world-&gt;createLight('Light', array(0, 0, 300));
$light1-&gt;setColor(new Image_3D_Color(255, 255, 255));

$cube = $world -&gt; createObject ('cube', array (210, 70, 30));
$cube -&gt; setColor(new Image_3D_Color (0, 0, 255, 0));

for ($x = 0; $x &lt; 6; $x++){
	for ($z = 0; $z &lt; 2; $z++){
		$cube = $world -&gt; createObject ('cube', array (210 / 6 - 2, 70 / 17 - 2, 30 / 2 - 2));
		$cube -&gt; setColor (new Image_3D_Color (255, 0, 0));
		$cube -&gt; transform ($world -&gt; createMatrix ('Move', array (($x + 0.5) * 210 / 6 - 210 / 2, -35 - 70 / 17, $z * 30 / 2 - 30 / 4)));
	}
}

$world -&gt; transform ($world-&gt;createMatrix ('Rotation', array (45, 0, 0)));
$world -&gt; transform ($world-&gt;createMatrix ('Scale', array (3, 3, 3)));

$world -&gt; setOption (Image_3D::IMAGE_3D_OPTION_BF_CULLING, false);
$world -&gt; setOption (Image_3D::IMAGE_3D_OPTION_FILLED, false);

$world -&gt; createRenderer('perspectively');

$world -&gt; createDriver ('SVG');
$world -&gt; render (1024, 768, 'phptemp/budynek.svg');

Expected result:
----------------
I try to create 3d image. There should be the big blue cube and some small, red cubes on that big one.

Actual result:
--------------
Generated graphic (svg):
http://mkk.ekk.pl/projects/studio102/um/phptemp/building-error.svg</pre>]]></content:encoded>
      <description><![CDATA[<pre>Image_3D Bug
Reported by waterwall
2010-01-18T07:24:02+00:00
PHP: 5.2.4 OS: Ubuntu Package Version: 0.4.1

Description:
------------
Image_3d renders it in wrong way. I guess the problem is to check which object is in front (or back).

Test script:
---------------
$world = new Image_3D ();
$world -&gt; setColor (new Image_3D_Color (240, 240, 240));

$light1 = $world-&gt;createLight('Light', array(0, 0, 300));
$light1-&gt;setColor(new Image_3D_Color(255, 255, 255));

$cube = $world -&gt; createObject ('cube', array (210, 70, 30));
$cube -&gt; setColor(new Image_3D_Color (0, 0, 255, 0));

for ($x = 0; $x &lt; 6; $x++){
	for ($z = 0; $z &lt; 2; $z++){
		$cube = $world -&gt; createObject ('cube', array (210 / 6 - 2, 70 / 17 - 2, 30 / 2 - 2));
		$cube -&gt; setColor (new Image_3D_Color (255, 0, 0));
		$cube -&gt; transform ($world -&gt; createMatrix ('Move', array (($x + 0.5) * 210 / 6 - 210 / 2, -35 - 70 / 17, $z * 30 / 2 - 30 / 4)));
	}
}

$world -&gt; transform ($world-&gt;createMatrix ('Rotation', array (45, 0, 0)));
$world -&gt; transform ($world-&gt;createMatrix ('Scale', array (3, 3, 3)));

$world -&gt; setOption (Image_3D::IMAGE_3D_OPTION_BF_CULLING, false);
$world -&gt; setOption (Image_3D::IMAGE_3D_OPTION_FILLED, false);

$world -&gt; createRenderer('perspectively');

$world -&gt; createDriver ('SVG');
$world -&gt; render (1024, 768, 'phptemp/budynek.svg');

Expected result:
----------------
I try to create 3d image. There should be the big blue cube and some small, red cubes on that big one.

Actual result:
--------------
Generated graphic (svg):
http://mkk.ekk.pl/projects/studio102/um/phptemp/building-error.svg</pre>]]></description>
      <dc:date>2010-01-18T07:24:02+00:00</dc:date>
      <dc:creator>waterwall &amp;#x61;&amp;#116; poczta &amp;#x64;&amp;#111;&amp;#x74; onet &amp;#x64;&amp;#111;&amp;#x74; pl</dc:creator>
      <dc:subject>Image_3D Bug</dc:subject>
    </item>
</rdf:RDF>
