Hi Kleber, I''m rather confused by what you've written in your email so can't really work out what you are specically trying to achieve or how you are actually trying to go about it.
The best I can do is suggest you take things slowly - first work on understanding basic viewer functionality, then once you have mastered this move on to the clustering. Also as a general comment you don't usually mix two osgViewer::Viewer in a single application, instead you'd normally use a osgViewer::CompositeViewer that has two osgViewer::View. Please have a look at the osgcamera, osgwindow and osgcompositeviewer examples. Robert. On 15 October 2012 16:53, Kleber Jacome <[email protected]> wrote: > Hi, > > I'm new in OSG, I'm using > "root/OpenSceneGraph/trunk/examples/osgcluster/osgcluster.cpp" code #1 and > this works perfect with one compute node tiled display. My problem is when I > mix with the following code # 2. Open 2 windows, obviously. Because I need to > use the "mouse pick" and keyboard to change color with the use of a few keys, > This allows me to code #2. > > The tutorials don't help me, weren't helpful. > > #1. > Group *scene = startupScene(); > osgViewer::Viewer viewer; > viewer.setSceneData(scene); > return viewer.run(); > > #2. > osg::ref_ptr<osgViewer::Viewer> viewer = new osgViewer::Viewer; > viewer->setUpViewInWindow( 0, 0, 512, 512 ); > viewer->setSceneData( CreateScene() ); > return viewer->run(); > > > Questions? > - What is the difference between these codes? > - Can I mix this codes? > - How I can mix this codes to see on one frame or one window? > - Still works with the option of looking at the computer node with osgCluster > same as before? > - Can I run on the head node the application and I see their movements on a > Tiled display nodes? > > I am sorry if the answer is very simple or obvious. I'm starting with this > topic. > > PD. In abstract, I'm doing a project for distribution and parallelization, > with compute nodes and tiled display wall nodes. I use OpenMPI, too. If I can > solve my problems upload the code so you can see the code mixes that I did > with the /OpenSceneGraph/trunk/examples codes of OSG. > > Thank you! > > Cheers, > Kleber xD > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=50611#50611 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

