<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- Template generated by Exclaimer Mail Disclaimers on 12:04:05 Wednesday, 6 July 2011 --><style type="text/css">P.7e412907-b7ef-495a-bba7-64f13c46a44a {
        MARGIN: 0cm 0cm 0pt
}
LI.7e412907-b7ef-495a-bba7-64f13c46a44a {
        MARGIN: 0cm 0cm 0pt
}
DIV.7e412907-b7ef-495a-bba7-64f13c46a44a {
        MARGIN: 0cm 0cm 0pt
}
TABLE.7e412907-b7ef-495a-bba7-64f13c46a44aTable {
        MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
        page: Section1
}
</style><!-- Template generated by Exclaimer Mail Disclaimers on 12:04:05 Wednesday, 6 July 2011 -->
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<p class="7e412907-b7ef-495a-bba7-64f13c46a44a"></p>
<p></p>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I’ve solved this problem by adding a vtkLookupTable with a fixed number of colors to the vtkPolyDataMapper and by calling InterpolateScalarsBeforeMappingOn()
 on the mapper. Now the picture looks as attached. Without a color range as specified by the vktLookupTable you get the original picture with blocky shapes.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks for your help, loading the vtkStructuredGrid data into ParaView helped pinpointing the problem: the absence of a lookup table for colors and enabling
 interpolation of scalars on the mapper.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="NL" style="font-size:11.0pt;color:#1F497D">Best wishes,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="NL" style="font-size:11.0pt;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="NL" style="font-size:11.0pt;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="NL" style="font-size:11.0pt;color:#1F497D">Menno Deij<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:black"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
</div>
<p></p>
<p>
<table style="WIDTH: 475px; BORDER-COLLAPSE: collapse" class="44b69221-e828-4dbc-b3c7-4536c25d5e4fTable" border="0" cellspacing="0" cellpadding="0" cols="1">
<tbody>
<tr>
<td colspan="2"><font color="#7d7d7d" size="2" face="Arial"><img id="IMG1" border="0" align="absMiddle" src="cid:image97921a.JPG@c1588e51.4a962db5" width="60" height="19"><img id="IMG1" border="0" align="bottom" src="cid:imaged35522.JPG@6a735d7e.4c917f9e" width="410" height="26"></font></td>
</tr>
<tr>
<td style="HEIGHT: 17px" colspan="2">
<p class="44b69221-e828-4dbc-b3c7-4536c25d5e4f"><font face="Arial"><font size="2" face="Arial"><font color="#7d7d7d">dr. ir. Menno A.&nbsp;Deij</font></font></font></p>
</td>
</tr>
<tr>
<td style="WIDTH: 222px; HEIGHT: 17px">
<p class="44b69221-e828-4dbc-b3c7-4536c25d5e4f"><span style="FONT-SIZE: 10pt"><font face="Arial"><font color="#7d7d7d"></font><span style="color: #7D7D7D; ">Software Engineer</span></font></span></p>
</td>
<td style="WIDTH: 252px"><font size="2" face="Arial"><font color="#7d7d7d"></font></font></td>
</tr>
<tr>
<td><span style="FONT-SIZE: 10pt"><font color="#7d7d7d" face="Arial">Maritime Simulation Group</font></span></td>
<td><font size="2" face="Arial"></font></td>
</tr>
</tbody>
</table>
</p>
<p>
<table style="WIDTH: 475px; BORDER-COLLAPSE: collapse" class="44b69221-e828-4dbc-b3c7-4536c25d5e4fTable" border="0" cellspacing="0" cellpadding="0" cols="3">
<tbody>
<tr>
<td style="WIDTH: 217px">
<p class="44b69221-e828-4dbc-b3c7-4536c25d5e4f"><font color="#7d7d7d" size="2" face="Arial"></font>&nbsp;</p>
</td>
<td style="WIDTH: 139px">
<p class="44b69221-e828-4dbc-b3c7-4536c25d5e4f"><font color="#7d7d7d" size="2" face="Arial"><strong>MARIN</strong></font></p>
</td>
<td style="WIDTH: 117px">
<p class="44b69221-e828-4dbc-b3c7-4536c25d5e4f"><font color="#7d7d7d" size="2" face="Arial"></font>&nbsp;</p>
</td>
</tr>
<tr>
<td style="HEIGHT: 17px"><font color="#7d7d7d" size="2" face="Arial"></font></td>
<td><font color="#7d7d7d" size="2" face="Arial">2, Haagsteeg</font></td>
<td><font color="#7d7d7d" size="2" face="Arial"></font></td>
</tr>
<tr>
<td style="HEIGHT: 17px"><font face="Arial"><font size="2" face="Arial"><font color="#366092"><font color="#7d7d7d">E</font>
<a href="mailto:M.Deij@marin.nl" title="Click to send email to Deij, Menno" target="">
M.Deij@marin.nl</a></font></font></font></td>
<td><font color="#7d7d7d" size="2" face="Arial">P.O. Box 28</font></td>
<td><font color="#7d7d7d" size="2" face="Arial">T &#43;31 317 49 39 11</font></td>
</tr>
<tr>
<td style="HEIGHT: 17px"><font size="2" face="Arial"><font color="#7d7d7d"></font></font></td>
<td><font color="#7d7d7d" size="2" face="Arial">6700 AA Wageningen</font></td>
<td><font size="2" face="Arial"><font color="#7d7d7d"></font></font></td>
</tr>
<tr>
<td><font size="2" face="Arial"><font color="#7d7d7d">T &nbsp;</font></font></td>
<td><font color="#7d7d7d" size="2" face="Arial">The Netherlands</font></td>
<td><font color="#7d7d7d" size="2" face="Arial">I &nbsp;</font><a href="http://www.marin.nl" target="_top"><font color="#366092" size="2" face="Arial">www.marin.nl</font></a></td>
</tr>
</tbody>
</table>
</p>
<p></EXCLAIMER:ORIGINAL_BODY_AFTER></p>
</EXCLAIMER:TEXT_ONLY></EXCLAIMER:AD></EXCLAIMER:AD>
<p></p>
<p class="7e412907-b7ef-495a-bba7-64f13c46a44a">&nbsp;</p>
<p><font color="#7d7d7d" size="2" face="Arial">MARIN news: </font><span style="font-family:Arial; font-size:x-small; color: #366092; "><span style="color: #366092; text-decoration: underline; "><span style="color: #366092; text-decoration: underline; "><a href="http://www.marin.nl/web/News/News-items/Are-you-a-PhDMSc-student-with-no-fear-of-depth.htm" title="" target=""><span style="color: #366092; text-decoration: underline; ">Are
 you a PhD/MSc student with no fear of depth?</span></a></span></span><br>
</span></p>
<p class="7e412907-b7ef-495a-bba7-64f13c46a44a"><font color="#7d7d7d" size="2" face="Arial">This e-mail may be confidential, privileged and/or protected by copyright. If you are not the intended recipient, you should return it to the sender immediately and
 delete your copy from your system.</font></p>
<p class="7e412907-b7ef-495a-bba7-64f13c46a44a">&nbsp;</p>
<p class="7e412907-b7ef-495a-bba7-64f13c46a44a"></p>
</body>
</html>