Re: [info-performer] Mirror a scene...

New Message Reply Date view Thread view Subject view Author view

From: Brian Furtaw (brian++at++sgi.com)
Date: 04/24/2002 11:45:41


You could place a pfSCS at the top of your scene graph which specifies
-1.0 for the axis you wish to mirror the scene about.

pfMatrix mat;
pfScene *scene;
pfGroup *scenegrp;
pfSCS *scs;

mat.makeScale(1.0f, 1.0f, -1.0f);
scs = new pfSCS(mat);
scs->addChild(scenegrp);
scs->flatten(0);
scs->removeChild(scenegrp);

scene->addChild(scenegrp);

Brian

Thomas Proell wrote:
>
> Hi!
>
> Is it possible to mirror a scene? It is not sufficient to change the
> point of view...
>
> Thomas
>
> --
> Dipl.-Inform. Thomas Pröll
> Lehrstuhl für Steuerungs- und Regelungstechnik
> Technische Universität München
> Tel.: +49 89 289-23404 Email: Thomas.Proell++at++ei.tum.de

-- 
    ----oOOo----    ----oOOo----    ----oOOo----    ----oOOo----

Brian Furtaw (brian++at++sgi.com) Mailstop: DSE-2612 Graphics Guru Office:(301)572-3293 Fax: (253)323-8182 12200-G Plum Orchard Drive OpenGL/Performer/OpenInventor/ImageVision Silver Spring, Maryland 20904 Volumizer/Optimizer/React/PCI Device Drivers


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Apr 24 2002 - 11:58:40 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.