<?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 Creating a Post-processor in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-Post-processor/m-p/1037811#M112265</link>
    <description>&lt;P&gt;I am creating a post-processor for a finite element program but I didn´t get a good quality of the images. I used the sequence of ideas below to create an image representing the specific result.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;1) Creating the pallete of colors;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;2) Creating a list where I use the &lt;/SPAN&gt;fglBegin(GL_POLYGON),&amp;nbsp;fglColor3f, and&amp;nbsp;fglVertex2f&amp;nbsp;functions to create the mesh´s elements and define a color for each element´s vertex.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;3) Calling the list to create the image.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Inside the elements I didn´t get a good smoothing process between colors defined in each vertex. What I could do to improve the quality inside elements.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Thank you for your support.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Carlos A Santos.&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Sep 2014 19:53:36 GMT</pubDate>
    <dc:creator>Carlos_S_</dc:creator>
    <dc:date>2014-09-01T19:53:36Z</dc:date>
    <item>
      <title>Creating a Post-processor</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-Post-processor/m-p/1037811#M112265</link>
      <description>&lt;P&gt;I am creating a post-processor for a finite element program but I didn´t get a good quality of the images. I used the sequence of ideas below to create an image representing the specific result.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;1) Creating the pallete of colors;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;2) Creating a list where I use the &lt;/SPAN&gt;fglBegin(GL_POLYGON),&amp;nbsp;fglColor3f, and&amp;nbsp;fglVertex2f&amp;nbsp;functions to create the mesh´s elements and define a color for each element´s vertex.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;3) Calling the list to create the image.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Inside the elements I didn´t get a good smoothing process between colors defined in each vertex. What I could do to improve the quality inside elements.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Thank you for your support.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Carlos A Santos.&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Sep 2014 19:53:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-Post-processor/m-p/1037811#M112265</guid>
      <dc:creator>Carlos_S_</dc:creator>
      <dc:date>2014-09-01T19:53:36Z</dc:date>
    </item>
    <item>
      <title>I think that is due to the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-Post-processor/m-p/1037812#M112266</link>
      <description>&lt;P&gt;I think that is due to the fact that the mesh is very course in relation to the variation in the colours over the nodes.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Generally the fill algorithm will be (for a quad) something like, you start from the lowest corner &amp;nbsp;and advance upward one pixed at a time drawing a horizontal scan line. Where that line crosses the edges of the quad you interpolate linearly along that edge to get an intensity at each end of the horizontal scan line. You then interpolate linearly along that scan line to get an intensity for each pixel on the line.&lt;/P&gt;

&lt;P&gt;You only have linear interpolation and every time the scan line crosses a &amp;nbsp;node there is a step in the interpolation.&lt;/P&gt;

&lt;P&gt;If you increase the mesh density the colour index smoothness change will improve.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Sep 2014 21:02:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-Post-processor/m-p/1037812#M112266</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2014-09-01T21:02:16Z</dc:date>
    </item>
    <item>
      <title>For a quad, OpenGL seems to</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-Post-processor/m-p/1037813#M112267</link>
      <description>&lt;P&gt;For a quad, OpenGL seems to draw two triangles so you can get two different results depending on which corner you start at. I have seen code that detects which diagonal of the quad sees greater variation and sets the starting point of the quad accordingly. This can result in&amp;nbsp;readily perceptible&amp;nbsp;improvement.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Sep 2014 22:38:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Creating-a-Post-processor/m-p/1037813#M112267</guid>
      <dc:creator>JVanB</dc:creator>
      <dc:date>2014-09-01T22:38:50Z</dc:date>
    </item>
  </channel>
</rss>

