3 ms·
"... The first version of my code was pretty much brute force, every user was sending their X,Y position every time they moved their mouse. Yes, that's 'a lot'
by bootload 16y ago
"... The first version of my code was pretty much brute force, every user was sending their X,Y position every time they moved their mouse. Yes, that's 'a lot' of data per second. There has been 50gb of data transfered in just 4 days :P ..."
also read the related blog post ~ http://mrdoob.com/blog/post/701 http://mrdoob.com/blog/post/701
- peregrine 16y agoHe doesn't mention what he did to get past this issue other then link to top. Any ideas on how?
- mrdoob2 16y agoWell, I keep doing things as soon as I came up with them... So far: 1. Collecting changes and sending them every 75-100 ms. Instead of as soon as the occur. 2. Deltas: If the mouseX is 800 and in the next frame is 801, Just send 800,1 and reconstruct the data on the peers side (800,1,-1,2,-3). 3. I the value is 0, don't write it. "1,,1" These are client side. Now I need to take a look at the server code..