[vtkusers] Disable texture filtering in renderer?
Bruno da Silva de Oliveira
bruno at esss.com.br
Wed Dec 7 05:32:30 EST 2005
Hi,
Have you tried vtkTexture::InterpolateOff()? According to the
documentation, it disables texture linear interpolation.
HTH,
Ken Rockot wrote:
>Hi,
>
>I'm applying a single 2D texture to an ImagePlaneWidget, and I'm
>wondering if VTK provides any generic way to turn off texture
>filtering (specifically magnification) in the renderer. For example,
>when using OpenGL one may use the glTexParameter call to set
>TEXTURE_MAG_FILTER to GL_NEAREST, so that the texture mapper selects
>and renders the nearest texel during mapping, rather than
>interpolating between texel values. It seems that VTK's default
>behavior is to apply some linear interpolation when a texture is
>magnified. I'm hoping there is some renderer-independent interface
>for changing this behavior.
>
>Thanks,
>Ken
>_______________________________________________
>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
>
>
>
--
Bruno da Silva de Oliveira
bruno at esss.com.br
ESSS - Engineering Simulation and Scientific Software
http://www.esss.com.br
More information about the vtkusers
mailing list