Re: [osg-users] osgcluster small fix

2013-11-21 Thread Trajce Nikolov NICK
Hi Robert, it makes sense what you just wrote. When I ran the sample, I was able to control the model with the camera manipulator in slave mode, so I just look fast in the sample and come up with this "fix". For some reason, the camera view matrix gets valid from the camera manipulator, no idea wh

Re: [osg-users] osgcluster small fix

2013-11-21 Thread Robert Osfield
Hi Nick, This code hasn't changed and used to work. Could you example "Otherwise it doesn't work" as I'd like to get to the bottom of when and where it does and doesn't work and why. The slave viewer camera's view matrix is overwritten on each new frame just before renderingTraversals(), this wi

[osg-users] osgcluster small fix

2013-11-21 Thread Trajce Nikolov NICK
Hi Robert, just a note, I have tested the osgcluster example and I found a missing setup, just a line of code. You have to set at ln 530 if (viewerMod != SLAVE) viewer.setCameraManipulator(...) Otherwise it doesn't work Cheers, Nick -- trajce nikolov nick