JSON and ObjectLoader not parsing geometry

I don’t know if this is a bug, but the Objexporter is returning “type of undefined” each time i want to parse the sphere geometry in the scene, also toJSON doesn’t return the vertices of the mesh i want to parse

Here’s what i’ve been doing so far


Here is your corrected fiddle (a bit simplified though): http://jsfiddle.net/ddbTy/1709/

You have to call toJSON() with the sphere mesh not with the geometry. Then you can parse the JSON with ObjectLoader.

1 Like

struggled with it a little bit