Hi Nico, I have reviewed your changes and will merged the port support change, and I'm currently investigating the issues with RfbThread::run() method not running correctly. In theory the thread should only run when the actual image is being rendered on screen, but this is failing for some reason. This code used to work but it's quite a while since I tested it, I don't know if a bug was lurking before or if something elsewhere in the OSG has changed to cause problems in the code. Once I have got to the bottom of this issue I will merge and check in your port changes.
Cheers, Robert. On 10 April 2013 09:25, Nico Kruithof <[email protected]> wrote: > I made two small changes to the VNC wrapper class that can be usefull in > general. > The first change is actually a bugfix. When I first started osgvnc, I saw a > black texture as the image updates were not coming through. The mouse and > keyboard events were forwarded. I forced the image to be active and things > work now. It seems that this is some old code. It might be possible to > remove the _active completely, but I don't see how that could/would impact > performance. > > The second change is the option to specify a port for the VNC connection. > The standard behavior remains the same > osgvnc localhost / osgviewer localhost.vnc > but you can also specify a port: > osgvnc localhost:5901 / osgviewer localhost:5901.vnc > > -- > Nico Kruithof > nghk.nl > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
