Jump to content

Concept: Mirror/stream engine frame


Recommended Posts

Is it possible in some way to send the render data through socket.io (or similar) so that another babylon engine can render the same view? The other babylon engine would have all the resources preloaded of course. I'm not really sure how much data is used to render a frame, nor how to obtain it. Basically I'm interested to see if I can make my local multiplayer game have online support by mirroring what's happening on the 1st Babylon Engine.

What I'm mostly interested in is:
* Is it a lot of data to send each frame through socket.io? Would I do better in sending only unit info and render based on that?

* Can I in any efficient way "save" frames and show them with delay in order to simulate lag on the host browser?

* Has this been done before in any similar way?

I'm not really sure what to search for, so any guidance is appreciated.

Link to comment
Share on other sites

I know this is not an answer to your specific question, but one somewhat similar approach I've seen is using Blender installed on the server to provide static photorealistic renders and/or lightmap textures for a real-time 3D scene. The Planner 5D website/app does static rendering using Blender command line on the server for instance. Should be feasible to do with Babylon.js as well. It'd be cool to be able to create hybrid apps that use WebGL but mix in some photorealistically rendered elements without impacting performance too much.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...