[vtkusers] Bypassing OpenGL Color Interpolation?

Mark Wyszomierski markww at gmail.com
Thu Aug 11 09:29:26 EDT 2005


the vtkImageViewer2 class displays vtkImageData on a textured quad
using hardware. There is a method for turning the interpolation
on/off. If you don't want to use that class directly maybe it can at
least show you how to disable the interpolation.

Mark

On 8/10/05, rywchiu <rywchiu at interchange.ubc.ca> wrote:
> Hi,
> 
> I'm trying to display a vtkImageData (using vtkDataSetMapper and vtkActor), but the image I get is quite blurry as a result of color interpolation. After looking through the mailing list, it seems that its a problem with OpenGL and using texture mapping could help bypass the problem.
> 
> I found the following thread that offers a solution:
> http://public.kitware.com/pipermail/vtkusers/2004-May/073632.html
> 
> However, I'm not completely sure how this works... Is there a way to create a multi-component image (containg RGB values rather than the scalar) and using that as the texture to map?
> 
> Has anyone had success with bypassing this problem? Any example code would greatly help...
> 
> Thanks,
> Rita
> 
> _______________________________________________
> 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
>



More information about the vtkusers mailing list