Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

221
Vistas
Is there synchronous loading in threejs?

I have a scene stored in a scene.json file (created in threejs editor). I would like to load the scene in javascript synchronously, ie. something like:

const scene = some_function("scene.json");
scene.add(camera);
renderer.render(scene, camera);

I only found how to do it asynchronously by:

loader.load("scene.json", function(scene){
  scene.add(camera);
  renderer.render( scene, camera );
});

but I don't like it, as I'll have a sizable logic after loading the scene, and on the other hand the scene itself is small and won't affect page loading times.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda