[vtkusers] Mirroring the scene

Aashish Chaudhary aashish.chaudhary at kitware.com
Wed May 11 08:12:46 EDT 2011


Not looking into vtk code Projection transform would not affect the normals..

Can you try SetUserViewTransform	instead of SetUserTransform(..) and
see if that works for you?


On Wed, May 11, 2011 at 6:56 AM, Dirk Fortmeier
<fortmeier at imi.uni-luebeck.de> wrote:
> Hi all,
>
> for using VTK in a special Hardware setup, I need to mirror the
> rendering output of VTK in y-direction. My first thought was to use
> camera->SetUserTransform() together with a scaling transform (y-scaling
> set to -1) to mirror the projection matrix. Without lighting this works
> fine but using lighting things get messed up. To me it looks like the
> normals are not affected by the projection or something like that.
>
> Is there an other way to do mirroring or does someone know how to fix
> the issue?
>
> Regards,
> Dirk
>
> --
> Dirk Fortmeier <fortmeier at imi.uni-luebeck.de>, PhD Student
>
> Institute of Medical Informatics
> Graduate School for Computing in Medicine and Life Sciences
> University of Lübeck
>
> Building 64, 2F, Room 4
> Ratzeburger Allee 160
> 23538 Lübeck
> Germany
>
> Tel.:+49 (451) 500-5635
> Fax.:+49 (451) 500-5610
>
> _______________________________________________
> 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