[vtkusers] Mirroring the scene

Dirk Fortmeier fortmeier at imi.uni-luebeck.de
Wed May 11 06:56:21 EDT 2011


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




More information about the vtkusers mailing list