[osg-users] mirrorize a slave with a offset from the master camera

Robert Osfield robert.osfield at gmail.com
Tue Sep 11 02:10:09 PDT 2007


On 9/11/07, Johan Johnsson <eslave at gmail.com> wrote:
> > You just need to scale the y axis by -1, then flip the front face to
> > prevent the wrong faces from being culled.
> addSlave(camera.get(),osg::Matrixd::scale(1,-1,1),offsetMatrix);
> it's get upside down :S

Opps... try the x axis...



More information about the osg-users mailing list