Weird problem networking

May 23, 2010 at 3:09 AM
Edited May 23, 2010 at 3:10 AM

Hello Ohan and everyone else,

I'm having an extremely weird problem with networking. I can send my scene from the server to the client. For this I used some save/load functions I had made earlier so I just have to send the name of the XML file to open. I can see the transfer works correctly since the SceneGraphDisplay tool shows every added node with the correct transforms on the client side.  The server and client are running on the same machine by the way.

Here's the problem, on the client side, my models appear reversed, as if they had a reflexion applied to them. But like I said, the scenegraphdisplay shows that every node is correctly loaded. I've been checking in the last couple of days for differences with the networking tutorial (10 i think) but can'T find any. At this point I'm wondering if it might not be something to do with the lidgren library... Maybe it has something to do with multiple cameras or something? Are you aware of such a problem?

Alright, thanks for your time!


May 23, 2010 at 11:11 AM
By the way, if you started off from Tutorial 10, then the view position of the server and the client is different on purpose, and the models will look reversed since they are looking at the scene from reversed side. You probably want to check the position and orientation of the camera for both the server and the client. Ohan
May 23, 2010 at 1:23 PM

Thanks for the answer,

However, I didn't not start off from tutorial 10. I already had an project going and I added the needed parts for networking. I do not use the CreateCamera Sub that is in tutorial 10. If anything, my camera creation loks like the one in tutorial 8 since I'm using marker tracking by webcams. Basically my camera creation is made by using the InitVideoCapture function.


May 23, 2010 at 9:19 PM

hmm... then I have no idea what's wrong. I've never tried transferring the entire scene graph to the client. I usually transmit the minimum information to reduce network overhead between server and clients.p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[p[