<div dir="ltr">Thomas, <div><br></div><div>I am looking at your data in VTK. I will report back. In ParaView, you cannot choose linear or nearest as of now. We have a plan to expose all of the volume property parameters in ParaView (hopefully soon). </div><div><br></div><div>Thanks,</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 30, 2015 at 3:06 PM, Thomas Oliveira <span dir="ltr"><<a href="mailto:thomas.oliveira@gmail.com" target="_blank">thomas.oliveira@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Dear Aashish,<br><br></div>Can I choose the interpolation (linear vs nearest) or is it hard-coded on the call of VTK from Paraview?<br><br></div>A dataset can be downloaded from <a href="http://www3.imperial.ac.uk/pls/portallive/docs/1/33505696.ZIP" target="_blank">http://www3.imperial.ac.uk/pls/portallive/docs/1/33505696.ZIP</a> .<br></div>Please extract the Berea.raw file from the zip.<br></div>I loaded it using:<br>"""<br>Raw (binary) Files<br>Data Scalar Type: unsigned char<br>Data Byte Order: Little Endian<br>Data Extent: 0-399, 0-399, 0-399<br><div><div><div class="gmail_extra">"""<br><br></div><div class="gmail_extra">Thank you for your attention,<br><br></div><div class="gmail_extra">Thomas Oliveira<br></div><div><div class="h5"><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 30, 2015 at 4:31 PM, Aashish Chaudhary <span dir="ltr"><<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thomas,<div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote"><span>On Mon, Nov 30, 2015 at 10:34 AM, Thomas Oliveira <span dir="ltr"><<a href="mailto:thomas.oliveira@gmail.com" target="_blank">thomas.oliveira@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div>Dear Aashish,<br><br><br></div>I'm using Paraview 4.4.0 64-bit , OpenGL Version 4.5.0 NVIDIA 352.55, OpenGL Renderer Quadro K600/PCIe/SSE2.<br><br></div>Tweaking the transfer function improved the result, but the corners are rendererd rounded, whereas in the original file I have
only cubic voxels.<br></div></div></div></blockquote><div><br></div></span><div>I am wondering if that would be because of the interpolation (linear vs nearest) since linear will smooth out the edges just a bit. Is there a sample dataset you can send my way?</div><span><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>I though that unsetting "Properties > Scalar
Coloring > Interpolate Scalars Before Mapping" would improve the
image, but I saw no change.<br><br></div>You suggested to enable shading, but I couldn't find it. Where is it?<br></div></div></blockquote><div><br></div></span><div>Its on the same panel (left side), scroll to the bottom or search for "shade" you should be see it. </div><span><font color="#888888"><div><br></div><div>- aashish</div></font></span><div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><span><div><br><br>Thank you for your help,<br><br></div><div>Thomas Oliveira</div><br></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 30, 2015 at 3:07 PM, Aashish Chaudhary <span dir="ltr"><<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Thomas,<br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Mon, Nov 30, 2015 at 8:54 AM, Thomas Oliveira <span dir="ltr"><<a href="mailto:thomas.oliveira@gmail.com" target="_blank">thomas.oliveira@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,<br><br></div><div>The Sample.png file attached is an image of a pore medium. Each voxel in the image is a cube that is either solid or void. <br><br>The Zoom.png file attached is a zoom of it, where it can be seen that the curved interior solid walls are approximated by a staircase discretization. <br><br></div><div>How can I render this staircase geometry more clearly?</div></div></blockquote><div><br></div></span><div>Did you try to tweak the transfer function? Also, you can enable shading to have a look of a solid surface. </div><span><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div> I have tried tweaking many properties on ParaView but I still get it blurred.<br></div></div></blockquote><div><br></div></span><div>Just to be sure, what version of ParaView you are using and what OpenGL backend? </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span><div dir="ltr"><div><br></div><div>Thank you for your help,<br><br></div><div>Thomas Oliveira<br></div><div><br></div></div>
<br></span>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader <br>| Kitware Inc. <br></i></font><div><i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div></div>
</font></span></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div></div></div><div><div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader <br>| Kitware Inc. <br></i></font><div><i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div></div>
</div></div></div></div>
</blockquote></div><br></div></div></div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader <br>| Kitware Inc. <br></i></font><div><i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div></div>
</div>