Gabe, I filed a bug report about the opacity problem
http://www.vtk.org/Bug/view.php?id=15563 Thanks, Cory On Fri, Jul 3, 2015 at 11:24 AM, Cory Quammen <[email protected]> wrote: > Hi Gabe, > > 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. > > 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. > > I hope that helps, > Cory > > [1] http://www.vtk.org/Bug/view.php?id=13712 > > On Fri, Jun 19, 2015 at 5:31 AM, Gabe Weymouth <[email protected]> > wrote: > >> 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. >> >> >> sample.vti <https://www.dropbox.com/s/9ht9zr9njulpstn/sample.vti?dl=0> >> >> >> >> On Jun 18, 2015 11:10 PM, "Berk Geveci" <[email protected]> wrote: >> >>> Can you share the dataset with us? >>> >>> Best, >>> -berk >>> >>> On Thu, Jun 18, 2015 at 7:43 AM, Gabe Weymouth <[email protected] >>> <mailto:[email protected]>> wrote: >>> 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. >>> >>> 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. >>> >>> 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. >>> >>> 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. >>> >>> 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. >>> >>> >>> Gabriel D Weymouth >>> Southampton Marine and Maritime Institute Lecturer >>> University of Southampton >>> Boldrewood Campus, Building 176, Room 3029 >>> Southampton, SO16 7QF, UK >>> >>> _______________________________________________ >>> Powered by www.kitware.com<http://www.kitware.com> >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Please keep messages on-topic and check the ParaView Wiki at: >>> http://paraview.org/Wiki/ParaView >>> >>> Search the list archives at: http://markmail.org/search/?q=ParaView >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/paraview >>> >>> >>> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Please keep messages on-topic and check the ParaView Wiki at: >> http://paraview.org/Wiki/ParaView >> >> Search the list archives at: http://markmail.org/search/?q=ParaView >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/paraview >> >> > > > -- > Cory Quammen > R&D Engineer > Kitware, Inc. > -- Cory Quammen R&D Engineer Kitware, Inc.
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
