<div dir="ltr">Gabe,<div><br></div><div>I filed a bug report about the opacity problem</div><div><br></div><div><a href="http://www.vtk.org/Bug/view.php?id=15563">http://www.vtk.org/Bug/view.php?id=15563</a><br></div><div><br></div><div>Thanks,</div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 3, 2015 at 11:24 AM, Cory Quammen <span dir="ltr"><<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.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">Hi Gabe,<div><br></div><div>Thank you for providing  the sample data set. I see the same problem with the clipping filter you report. In fact, I believe this bug in the bug tracker is related [1]. To work around this, you could run the Extract Surface filter and clip by scalars.</div><div><br></div><div>As for the problem you report with opacity mapping on surfaces, I do see problems with the Slice representation on the original data while setting opacity below the 0 data value to 0 and the opacity above 0 to 1. If I change the representation to Surface, the opacity mapping seems to work as expected.</div><div><br></div><div>I hope that helps,</div><div>Cory</div><div><br></div><div>[1] <a href="http://www.vtk.org/Bug/view.php?id=13712" target="_blank">http://www.vtk.org/Bug/view.php?id=13712</a></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Jun 19, 2015 at 5:31 AM, Gabe Weymouth <span dir="ltr"><<a href="mailto:G.D.Weymouth@soton.ac.uk" target="_blank">G.D.Weymouth@soton.ac.uk</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><p>Ok, I've put a sample up on dropbox. Note that this uses the "format=append" - I'm not sure if the binary data will be readable if you're using a different system.</p><p>​</p><div style="width:396px;min-height:18px;max-height:18px;padding:5px;color:rgb(34,34,34);font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid rgb(221,221,221);line-height:1;background-color:rgb(245,245,245)">
  <span hspace="inboxsdk__chip"></span>
  <a href="https://www.dropbox.com/s/9ht9zr9njulpstn/sample.vti?dl=0" style="display:inline-block;max-width:366px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-height:1.2em;text-decoration:none;padding:1px 0;border:none" target="_blank">
    
<img style="min-height:16px;width:16px;vertical-align:bottom;border:none" height="16px" width="16px" src="https://cf.dropboxstatic.com/static/images/gmail_attachment_logo.png"> 

    <span dir="ltr" style="color:rgb(17,85,204);text-decoration:none;vertical-align:bottom">sample.vti</span>
  </a>
</div>​<br><p></p><p><br></p>
<div class="gmail_quote"><span>On Jun 18, 2015 11:10 PM, "Berk Geveci" <<a href="mailto:berk.geveci@kitware.com" target="_blank">berk.geveci@kitware.com</a>> wrote:<br type="attribution"></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>Can you share the dataset with us?<br>
<br>
Best,<br>
-berk<br>
<br></span><div><div>
On Thu, Jun 18, 2015 at 7:43 AM, Gabe Weymouth <<a href="mailto:G.D.Weymouth@soton.ac.uk" target="_blank">G.D.Weymouth@soton.ac.uk</a><mailto:<a href="mailto:G.D.Weymouth@soton.ac.uk" target="_blank">G.D.Weymouth@soton.ac.uk</a>>> wrote:<br>
I downloaded the newest stable build of paraview yesterday (upgrading from 4.1) so I could utilize the new features in pvpython (Screenshot, etc). Unfortunately, I ran into what appears to be a bug in the handling of clipping/opacity for vti files.<br>
<br>
I have a 2D field that ranges from -20 to 110 and I need to isolate the negative regions and discard the positive regions. I do this by clipping (type: scalar, value: 0, inside out). In the new version, this clips the entire field - nothing remains.<br>
<br>
An alternative method that smooths out the transition is to map the scalar from -2 to 2, setting zero opacity at 2. In the new version of paraview, this blanks out both the positive and negative values, leaving only the region between -2 to 2. A color map without opacity works as expected, and the legend shows the correct opacity behaviour.<br>
<br>
Playing around with the range of the transfer function, the negative values begin to blank out when the positive limit is set below 20. This would seem to indicate a bug in the application of the transfer function to the image grid surface render.<br>
<br>
If I repeat the tests using a vtr file and identical data, both clipping and opacity work as expected. I see the same results on my mac and linux workstation.<br>
<br>
<br>
Gabriel D Weymouth<br>
Southampton Marine and Maritime Institute Lecturer<br>
University of Southampton<br>
Boldrewood Campus, Building 176, Room 3029<br>
Southampton, SO16 7QF, UK<br>
<br></div></div>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><<a href="http://www.kitware.com" rel="noreferrer" target="_blank">http://www.kitware.com</a>><span><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>
<br>
</span></blockquote></div>
</div>
<br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><span class=""><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></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div>