[vtkusers] Disable texture filtering in renderer?
    Ken Rockot 
    ken.rockot at gmail.com
       
    Tue Dec  6 16:09:19 EST 2005
    
    
  
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
    
    
More information about the vtkusers
mailing list