[vtkusers] Why is the image red?
Jérôme
jerome.velut at gmail.com
Mon Dec 14 15:26:06 EST 2009
Hi David,
Isn't it the default lookup table? 0 (red) to 1 (blue) (with 0.5 is green)?
Jerome
2009/12/14 David Doria <daviddoria+vtk at gmail.com<daviddoria%2Bvtk at gmail.com>
>
> 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
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091214/b770644f/attachment.htm>
More information about the vtkusers
mailing list