Export Import JSON [SOLVED]

I tried searching this a few ways with little luck.

Object3D has a toJSON() method. Does Three have anything that will load the exported JSON?

I am having a bear of a time reproducing the issues I’ve found with Fiddles, and was wondering if there was a way to generate the scenario with my set up, export it, then use that json in a fiddle to show what’s going on.

I’m not trying to export anything complex, just simple geometry, meshes, and shaders. No textures or other resources.

Thanks again!

I found the answer. ObjectLoader seems to be a good start for me.

1 Like