Open omichel opened 3 years ago
We should update this issue, part of it seems to be already addressed in R2021b, and add a milestone.
WebotsJS suffers from two known slowdowns when loading worlds:
await
instructions that force the JS code to wait and build the objects once the promises are solved.glLinkProgram
function when called on phongShader, phongStencilAmbientEmissiveShader, phongStencilDiffuseSpecularShader, pbrShader and pbrStencilDiffuseSpecularShaderSome progess have been done:
Some other ideas of what could be done:
The web interface of Webots needs to load 3D world files and textures to display the 3D scene. Depending on the complexity of the world, number and size of textures, network bandwidth, local machine horsepower, etc. this process takes a few seconds. We should study a number of different world files and find solutions to speed-up their loading time in the web interface. This may include: