[vtkusers] Avoid rendering values outside of range
Shashwath T.R.
trshash at gmail.com
Mon Sep 18 04:06:38 EDT 2017
If I'm not mistaken, you can just set the opacity of that value to zero in
the opacity transfer function, right?
On Wed, Sep 13, 2017 at 3:18 AM, Maguire, Alister Owen <maguire7 at llnl.gov>
wrote:
> Sorry, I meant the vtkColorTransferFunction, not the vtkVolumeProperty.
>
>
>
> -Alister
>
>
>
>
>
> *From: *"Maguire, Alister Owen" <maguire7 at llnl.gov>
> *Date: *Tuesday, September 12, 2017 at 2:45 PM
> *To: *"vtkusers at vtk.org" <vtkusers at vtk.org>
> *Subject: *Avoid rendering values outside of range
>
>
>
> Hello,
>
>
>
> I’m using vtkSmartVolumeMapper for volume rendering within VisIt, and I’m
> wondering if there is a way to “ignore” particular scalar values (either
> anything that exists outside of a range, or even ignoring a specific
> value). When resampling unstructured data into structured grids, there is
> often empty space in the grid that is populated with a default value that
> exists outside of the datasets range, and I’d like for this default value
> to be ignored while rendering.
>
>
>
> I see that vtkVolumeProperty has the option to set the color for values
> that exists outside of the range, but I don’t see an equivalent for
> opacity, which would be one way to handle this… Any ideas?
>
>
>
> Best,
>
> Alister
>
> _______________________________________________
> 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 VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170918/749a5a28/attachment.html>
More information about the vtkusers
mailing list