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

Johan Johnsson eslave at gmail.com
Tue Sep 11 01:55:51 PDT 2007

On Tue, 11 Sep 2007 10:40:31 +0200, Robert Osfield  
<robert.osfield at gmail.com> wrote:

> On 9/11/07, Johan Johnsson <johanj at autosim.no> wrote:
>> Hello !
>> I want to mirrorize a specific slave counted from the mastercameras  
>> view.
>> At the moment i use a offset matrix
>> addSlave(camera.get(),osg::Matrixd(),offsetMatrix); that rotate it 180
>> degrees in Z-axis, well thats good now i look "straight back". but i  
>> dont
>> have the mirror view i want. , any suggestions to get this work  
>> properly ?
> You just need to scale the y axis by -1, then flip the front face to
> prevent the wrong faces from being culled.
it's get upside down :S
>> And Robert i still have some issues with the statistics rendering, so my
>> wondering to you before i dig even deeper is the text "framerate" and  
>> the
>> actual framerate value , are they on the same renderdepth? I check this
>> out i must render something upon it, that hides the bars and the  
>> framerate
>> value. But its so strange that the framerate text and all the other
>> different colorized texts below  are beeing rendered in a correct way..
>> But just dont the FR value or the represented bars below. :S
> I'm afraid I can't make any sense of this paragraph.
   ok , i start to dig :P
>> Anyways and anyhow tnx for the wonderful Improved build configuration
>> under Visual Studio release.
> Thanks go to Luigi for all the hard work ;-)
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

More information about the osg-users mailing list