> I create an image from pixel data like this:
> and it works.. but now I have 2 questions:
> 1) I want the image only on one side of the plane not on both. The other
> side should be black
The easiest way would be to draw two quads. Or you can have two pass
rendering (enabling / disabling front and back face alternatively)
> 2) How can I work with this texturedata? how can I put this into
> vtkImageLuminance for example?
Didn't understand this questions. Can you elaborate more?
after I created the picture, I want to do more operations with this picture like this:
vtkImageLuminance luminance = new vtkImageLuminance();
the luminance filter needs an imagadata as input, but I dont have Imagedata that I can use correctly. I only have my plane, my texture and my imagedata from the array. but putting only the imagedata in the luminance filter will not work, first I need zu interpret the pixelvalue like I do in the viewer
without this I can see anythink from my picture in the viewer...
But I dont know what to do with my imagedata, that I can put it into the luminance filter and the correct picture like the texture