On Wednesday 25 February 2004 05:31, Dirk Reiners wrote: > Hmm, not sure what the problem is. The ColorBufferViewport itself is not > stereo, that is handled by the CamerDecorators. The ColorBufferViewport > is just a way to write only into a subset of the color channels, and you > have to set it up into which channels it should render. > > Could you give us a little more detail of what you're trying to do?
I'm working on an image based rendering application which should be able run on a cluster where a number of projection screens is involved. Currently my app is using one client (which also displays one window) and two render servers which are basically the same as the testClusterServer.cpp. I should also mention that client and servers and running on the same pc. For now, I would like to do red/cyan stereo rendering using the ColorBufferViewport, and I got this working fine in the client window. To get this working with the render servers, I just add the ColorBufferViewports to the the ClusterWindow instead of the ClientWindow. The server starts without problems and I then check what type of viewport it has: window->getPort()[0]->getTypeName() returns StereoBufferViewport. I am assuming that the ClusterServer should figure out by itself what kind of viewports it should create, based on the info it receives from the client, is this correct? > Hm, not really. There is nothing special about the travMask, it is just > an UInt32 like many other fields on the system. You have to make sure > that both client and server use the same OpenSG versions, and versions > that actually support the travMask (1.2 will not), but other than that > it should just work. Have you tried it on a single machine, to make sure > the code in general works? Both the client and the server use the same OpenSG version which I believe is no more than one week old. As with the ColorBufferViewport, I have the travMask working fine on the client window, just not on the server window and the type of viewport has no influence here. On the client I set the travMask like this: beginEdit(vp_left); vp_left->setTravMask( MY_LEFT_MASK ); endEdit(vp_left); On the server I check: window->getPort()[0]->getTravMask(), which just returns some bogus value. I hope this explaned my problems better. Regards, Rune ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
