Hi J-S

I removed the camera manipulators on the slave machines, and it instantly 
worked.

But I should explain my project in more detail, maybe you can give me some 
feedback :)

I'm working on a cluster solution for osgVisual (www.osgVisual.org).
I use ENet as UDP implementation (better than my own first prototype)

I use the osg serializer to transport data (in my case a special transport 
container) to the slave rendering machines.

At the master machines, which receives the external data and process it to 
display, I use several kinds of camera manipulator ( object attached, objecet 
tracker , free 3D mouse, 3D mouse object tracker etc)

I process the incoming data on the master on the prior to the event traversal. 
A camera manipulator calculates the camera position from this data, and during 
the event traversal I grab the view matrix and send it to the slave.

on the slave machine, I receive the view matrix during the event matrix and set 
it on the viewer.

After your information, I think the slave machine will render the received view 
matrix at the same frame, because I set the viewmatrix prior to the update- and 
renderingTraversal.

But How can I improve the situation on the master machine?
The external data is processed at the beginning of each frame. Then I call the 
event-, update- and renderingTraversal.
You said, the view matrix based on the camera manipulator is calculated during 
the cull traversal, so the viewmatrix I send during the  camera->eventCallback 
is the viewmatrix of the last frame.

Do you have any idea how to use camera manipulators to control the camera 
position on the master machine, but still to calculate the current view matrix 
as early as possible to send it to the slaves as early as possible?
I would appreachiate your feedback very much :)

Cheers,
Torben

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=30245#30245





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to