CoppeliaSim embedding into web pages

Typically: "How do I... ", "How can I... " questions
Post Reply
lumeqi
Posts: 34
Joined: 04 Dec 2023, 06:20

CoppeliaSim embedding into web pages

Post by lumeqi »

Hello,
May I ask if CoppeliaSim software provides such an interface so that the functions provided on the software can be embedded into web pages.
I want to develop a web application that can showcase CoppeliaSim simulation.
Thank you very much for your answer!

fferri
Posts: 1267
Joined: 09 Sep 2013, 19:28

Re: CoppeliaSim embedding into web pages

Post by fferri »

CoppeliaSim can record a simulation in glTF format (a format for 3D content exchange that embeds meshes, textures and animations), see Modules > Exporters > GLTF animation exporter....

Then you can use a glTF player on your webpage to play back the simulation.

coppelia
Site Admin
Posts: 10410
Joined: 14 Dec 2012, 00:25

Re: CoppeliaSim embedding into web pages

Post by coppelia »

You can also use the web-based CoppeliaSim front-end...

Cheers

lumeqi
Posts: 34
Joined: 04 Dec 2023, 06:20

Re: CoppeliaSim embedding into web pages

Post by lumeqi »

Hello,

Thank you very much for your response, it has been very helpful to me. However, if I want to use CoppeliaSim as a server, is that possible? Because if I embed CoppeliaSim into a web page, when users interact with it, they will always be using the same simulation software, which cannot respond to user requests in parallel.

Thanks again.

coppelia
Site Admin
Posts: 10410
Joined: 14 Dec 2012, 00:25

Re: CoppeliaSim embedding into web pages

Post by coppelia »

With the web-based CoppeliaSim front-end you indeed need a corresponding CoppeliaSim running somewhere, one for each independent front-end you want. So this solution doesn't really scale.

Cheers

Post Reply