[vtkusers] Why is the image red?

David Doria daviddoria+vtk at gmail.com
Mon Dec 14 14:04:05 EST 2009


I tried to create an ImageData and texture map it onto a plane. I set
all of the components of the image to 0. Therefore, I would expect a
black image. What I see instead is a red plane.

Anyone see something that is setting the image pixels to red?
http://www.cmake.org/Wiki/VTK_Examples_Texture_map_an_ImageData

Thanks,

David



More information about the vtkusers mailing list