I made a quick online converter that you can use to convert various formats to GLTF or GLB in the browser.
Currently it supports FBX, OBJ and MTL, Collada ( DAE ), GLTF and GLB and textures in JPG, PNG, GIF, BMP, SVG or DDS format.
You should also be able to upload multiple models in any of those formats and output a single GLTF.
Code: GitHub - looeee/gltf-converter: Convert models from a variety of formats to GLTF
I’ve added a few more formats to this, the complete list is now:
OBJ and MTL
GLTF and GLB v1 and v2
Collada ( DAE )
Three.js JSON format.
PCD (ASCII and Binary)
PLY (ASCII and Binary)
STL (ASCII and Binary)
I’ve focused on 3D printing, three.js, 3ds max, Maya and blender but if anyone has ideas for other formats let me know here.
When I load the existing animation model, there are some problems, and the FBX format loaded cannot be converted to GLTF. The loaded dae format can be displayed, but cannot be converted.
Do you get any errors or warnings? And can you share the file?
For now the most likely cause of failure is lack of support for multi materials. You should get a message about that though.
Hi hope you doing well
I need little help
I have following file that have json format in it and i want to convert into gltf but converter give error like
invalid json file. can you check the file and let me know that is wrong with that file
design (2).blueprint3d (2.0 KB) design.json (8.2 KB)
Hey @AWAIS97, what program was the model exported from? Looks like a program called blueprint3d maybe?
The JSON file is not in a format my converter or three.js can read. You will have to check what other formats you can export to from the program.
yes that is blueprint3d
it is seralized data format
Nasa posted glb, I wanted json: ISS Model in Viewer
glb loaded in Threejs editor directly, was UV map failures…36meg after defining files, (still got the json) Map image is there and checked, but mouse-over says undefined. Export will not run unless maps are tediously defined.
Blender > obj > PoseRay > obj > Threejs > my material editor –
45meg for the glb, 56 about right with maps, the only way?
Mapped iss.js available. Parse worked - but initialize failed for Load with all images as if it needs more time delay after load is 100%.
Also with Landers located on Mars, I have proven 3D space, and that spheres do not initialize to a correct matrix. North poles are inconsistently rotated into alignment. Landers are proof of concept see for yourself.
Easiest way to Mars :: http://innerbeing.epizy.com/cwebgl/WebGLEarth.html?planet=4 — hit 3 and you can drag camera around the planets. “K” for Labels.