[vtkusers] How to enable the stencil buffer?
allison.vacanti at kitware.com
Thu Sep 6 10:33:29 EDT 2018
Stencil masks aren't used often in VTK, though the LabeledContourMapper
will use them, see:
Using them requires enabling stencil buffers via the RenderWindow API
a new OpenGL mapper or renderpass to setup the GL state. There is not an
existing general way to render arbitrary actors into a stencil buffer that
I am aware of.
On Tue, Sep 4, 2018 at 9:03 PM, pnt1614 <minpu.code at gmail.com> wrote:
> I can do a clipping and fill a hole using the stencil buffer in OpenGL, so
> there anyway to enable and use the stencil buffer in VTK? I have checked
> some examples about vtkImageStencil but how to enable stencil tests when
> rendering objects?
> Is there anybody experienced this problem? Please, help me.
> Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html
> Powered by www.kitware.com
> Visit other Kitware open-source projects at http://www.kitware.com/
> Please keep messages on-topic and check the VTK FAQ at:
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers