[vtkusers] After a threshold need render opacity.
Amy Squillacote
amy.squillacote at kitware.com
Mon Feb 19 10:15:41 EST 2007
Francois Louis LAILLIER wrote:
>
> Hello vtkusers.
>
> I create a volume with binary files, I threshold it, now I want render
> the black pixel transparent.
>
> I think If I put their opacity = 0, I will have the good result.
>
> But I don’t understand argument of vtkpieceswises
>
> When we add a new point like : opacitytransferfunction.addpoint(a,b)
>
> What are the two arguments?
>
The first argument is the scalar value whose opacity you want to modify.
The second argument is the opacity at the specified scalar value.
- Amy
>
> Do you think that it is possible to render transparent the black
> pixels, and are they invisible on every rotation?
>
> Best regards, Francois Louis.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
--
Amy Squillacote
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
Phone: (518) 371-3971 x106
More information about the vtkusers
mailing list