[SOLVED] Load three.js models in PlayCanvas

I’m looking to load a TREE.js JSON exported from the Blender THREE.OBJExporter in to play canvas, I searched the forum but couldn’t find any information on this topic.

Any help is appreciated!

1 Like

Hi @Scottss and welcome!

Sadly that isn’t possible, THREE.js JSON models are meant to be loaded by the THREE.js WebGL engine.

For Playcanvas, try exporting an FBX from Blender and import it in Playcanvas.

Sadly, I don’t have the original OBJs or I would import them as FBX.

Thank you for your help!

1 Like

Can you load the exported JSON in blender and re-export it to FBX?

As far as I can tell, from the documentation the python script only converts it the one way :cry:

You could try loading the model in https://threejs.org/editor/ and exporting it to the format you want.

2 Likes

That seems like a fantastic idea, I did try it on their new editor for r116 but it seems they are incompatible with theses old .json files I might need to go on GitHub and get an old version.