[vtkusers] texture only on 1 side

Aashish Chaudhary aashish.chaudhary at kitware.com
Wed Aug 17 09:07:38 EDT 2011


On Wed, Aug 17, 2011 at 7:26 AM, h0ppel <h0ppel at web.de> wrote:
> hi,
>
> 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?

>
> thanks
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/texture-only-on-1-side-tp4707772p4707772.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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
>



-- 
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com



More information about the vtkusers mailing list