[osg-users] Mirrored camera

Mathias Fröhlich M.Froehlich at science-computing.de
Mon Mar 2 06:37:07 PST 2009


On Monday 02 March 2009 15:24, Joakim Simonsson wrote:
> Is it possible to use two cameras, where one is mirrored, that share the
> same scene?
You should be able to have that attached either to the camera itself, the 
mirrored one (is this true, or are the StateSets at the camera something 
special - I dont remember by heart?). Or attach a group to the camera that is 
not shared , apply that state at this group and attach the shared graph to 
those two groups.

This only works if there is either
- no such state in the scenegraph below or 
- if you set that StateSttribute to StateAttribute::OVERRIDE.



Dr. Mathias Fröhlich, science + computing ag, Software Solutions
Hagellocher Weg 71-75, D-72070 Tuebingen, Germany
Phone: +49 7071 9457-268, Fax: +49 7071 9457-511
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Roland Niemeier, 
Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Michel Lepert
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196 

More information about the osg-users mailing list