-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Design] How to sync across clients #14
Comments
@cdefanti I will work on a document that records what types and for each type what attributes we want to sync over the network for now. And looking forward to your design doc. |
@cdefanti roughly a doc describing how the current network is implemented. |
Here's a few thoughts I jotted down today: https://docs.google.com/document/d/1UIjWdOAi3U-oRR-vsdAQhsjw6I77IBnaqHuLfxfyuWQ/edit?usp=sharing |
Hi @snowymo. I just created a simple demo called SyncTest in branch syncTesting. In the demo you could lift the cube by pressing the space bar. I hope this could be helpful for you to test the event synchronisation! |
It'd be better to inform me the code position for control and for drawing. Oh wait we don't have drawing here. So the sample may be too simple. Also, we need to apply our implementation to the controller-based event in the future, so it'd be better that this sample is functional on a controller event. For example, When user A presses a trigger, the cube lifts. In the meantime, we have a hack that when user A presses key 'space', the cube also lifts. And the function called by pressing event should be the same so I don't need to add network code in two different places. Another reason I need to know the code location because we probably will have a separate place to handle all the controller events even for local ones. |
I have a simple implementation for events. Check the new branch https://github.com/futurerealitylab/immersive-presentation/tree/input_event. Also here is how it looks like. Since Keru only provided an example for moving an object, I did not take use of the controller's information but only the button event. 20210530_193347_Trim_Trim.mp4 |
We need to have a welcome package for every newly joined user. |
Is your feature request related to a problem? Please describe.
How to synchronize all the information across different clients through the server.
Describe the solution you'd like
Describe alternatives you've considered
Synchronize everything for now.
The text was updated successfully, but these errors were encountered: