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

105
Vistas
Coverting a JSON File Into GLTF In Babylon.js

I have a tool that takes input via drag&drop. I am dragging and dropping a .json file into the babylon.js scene, and inside the onDrop event it visualizes the json file as 3D.

I want to covert this result to the GLTF file, but I could not do it.

I am using the sample below for exporting.

import { GLTF2Export } from 'babylonjs-serializers';
GLTF2Export.GLTFAsync(scene, "fileName").then(gltf => gltf.downloadFiles());

GLTFAsync method everytime returns a pending promise. It will never produce a resolved or rejected promise. This is my problem. .then() side of the implementation is not working since the promise is pending.

How can I do the conversion from json to gltf. This is an important issue for a project in my company.

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