<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Compilation with ImageMagick support in Windows in Intel® Embree Ray Tracing Kernels</title>
    <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Compilation-with-ImageMagick-support-in-Windows/m-p/933627#M192</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I would like to compile Embree with ImageMagick support on windows since the textures I use are usually in .jpg format and I would like to produce renders in .tif format instead of TGA. The CMake support isn't quite ready for windows yet. So how would I go about adding imagemagick support.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;

&lt;P&gt;whatnick.&lt;/P&gt;</description>
    <pubDate>Sun, 02 Mar 2014 23:59:42 GMT</pubDate>
    <dc:creator>Tisham_D_</dc:creator>
    <dc:date>2014-03-02T23:59:42Z</dc:date>
    <item>
      <title>Compilation with ImageMagick support in Windows</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Compilation-with-ImageMagick-support-in-Windows/m-p/933627#M192</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I would like to compile Embree with ImageMagick support on windows since the textures I use are usually in .jpg format and I would like to produce renders in .tif format instead of TGA. The CMake support isn't quite ready for windows yet. So how would I go about adding imagemagick support.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;

&lt;P&gt;whatnick.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Mar 2014 23:59:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Compilation-with-ImageMagick-support-in-Windows/m-p/933627#M192</guid>
      <dc:creator>Tisham_D_</dc:creator>
      <dc:date>2014-03-02T23:59:42Z</dc:date>
    </item>
    <item>
      <title>To get ImageMagick working</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Compilation-with-ImageMagick-support-in-Windows/m-p/933628#M193</link>
      <description>&lt;P&gt;To get ImageMagick working under Windows, enable all code that is disabled by #ifdef USE_IMAGEMAGICK. Then let the image project link against ImageMagick.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2014 07:01:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Compilation-with-ImageMagick-support-in-Windows/m-p/933628#M193</guid>
      <dc:creator>SvenW_Intel</dc:creator>
      <dc:date>2014-03-03T07:01:35Z</dc:date>
    </item>
    <item>
      <title>The code has been enabled</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Compilation-with-ImageMagick-support-in-Windows/m-p/933629#M194</link>
      <description>&lt;P&gt;The code has been enabled using a pre-processor definition set for all projects as shown below. Beyond this point adding to the Include path and Library path allows successful linking to ImageMagick. JPG textures are read and renders can be performed to TIF.&lt;/P&gt;

&lt;P&gt;&lt;IMG alt="ImageMagick Pre-processor" src="https://lh6.googleusercontent.com/-41226X8iwSk/UxVIrWS6tmI/AAAAAAAAG8k/Ts85u5jjJdQ/w1544-h824-no/def_magick.jpg" /&gt;&lt;/P&gt;

&lt;P&gt;However the jpeg textures read via image-magick seem to be flipped vertically in rendering, so I added a flip call.&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;try {&lt;BR /&gt;
		&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;image.flip();&lt;BR /&gt;
		&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;
		&amp;nbsp;&amp;nbsp; &amp;nbsp;catch( Exception &amp;amp;error_ )&lt;BR /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; std::cout &amp;lt;&amp;lt; "Caught exception: " &amp;lt;&amp;lt; error_.what() &amp;lt;&amp;lt; std::endl;&lt;BR /&gt;
		&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; std::cout &amp;lt;&amp;lt; "Failed to flip" &amp;lt;&amp;lt; std::endl;&lt;BR /&gt;
		&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;I am mainly interested in performing orthographic rendering. Is there an orthographic camera option or does this need to be set-up with a custom ray-generator ?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2014 03:32:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Compilation-with-ImageMagick-support-in-Windows/m-p/933629#M194</guid>
      <dc:creator>Tisham_D_</dc:creator>
      <dc:date>2014-03-04T03:32:59Z</dc:date>
    </item>
    <item>
      <title>There is no orthographic</title>
      <link>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Compilation-with-ImageMagick-support-in-Windows/m-p/933630#M195</link>
      <description>&lt;P&gt;There is no orthographic camera included in the Embree Renderer. If you need that you can either hack the devices/device_singleray/cameras/pinholecamera.h to do what you need, or add a new camera type.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2014 06:16:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Embree-Ray-Tracing-Kernels/Compilation-with-ImageMagick-support-in-Windows/m-p/933630#M195</guid>
      <dc:creator>SvenW_Intel</dc:creator>
      <dc:date>2014-03-04T06:16:12Z</dc:date>
    </item>
  </channel>
</rss>

