Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

111
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!