Closed a55987482 closed 11 months ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Closing this issue as your question is beyond the scope of this repository and the supported features of AR Foundation. Best of luck with your project though!
I use render streaming and AR foundation package to build my project, the purpose is to achieve the function of AR remote rendering. The client side collects the modelview matrix, projection matrix, and timestamp, and sends it to the server for scene rendering, and then streaming it to the client side. The scene frame and camera frame will be matched through Timestamp, and the matched frame will be used Shader to merge.
I had the same problem as this discussion thread, the model of the scene frame is not synchronized on the camera frame. The model seems to drift. I have tried all the suggested methods in it, but I still have the same problem. Is there any other solution?
The link is my code. (Client) https://gist.github.com/a55987482/49b9ede2ef1905e9a9f6e78f4b54fb56 PlaceOnPlane.cs is collects the modelview matrix, projection matrix, Timestamp, and sending them to the server. CameraFrame.cs is responsible for storing Camera frame in Dictionary. AnchorSample.cs is responsible for receiving server-side streaming images (each frame includes Timestamp), and uses Timestamp to extract the matching Camera frame, and finally merges through Shader.