How to properly load a Json File in Threejs
问题 I have done a couple of projects on Blender and decided to display one of them using threejs, however the object doesn't display. What would be the proper way to load a JSON file with keyframe animation? Here is the specific JSON file that I want to load and the extract of the code that I'm using: var mesh; function initMesh() { var loader = new THREE.JSONLoader(); loader.load('./ocean.json', function(geometry, materials) { mesh = new THREE.Mesh(geometry, new THREE.MeshFaceMaterial(materials)