Hello, i’m rather new to blender and after reading some tutorials i decided to create a a small water body, however i’m not complete sure how to export it correctly since the json is not loading, here is an extract of the code:
var loader = new THREE.JSONLoader();
loader.load(’./ocean.json’, function(geometry, materials) {
mesh = new THREE.Mesh(geometry, new THREE.MeshFaceMaterial(materials));
mesh.scale.x = 0.75;
mesh.scale.y = 1;
mesh.scale.z = 0.75;
scene.add(mesh);
}
i have seen in examples that for keyframe animations you can use delta to make the model move however i’m not using it until i can load the model properly.
On the export i’m using Vertices,Normals, Geometry. Face Materials and export texture.
The lastest versions of Blender and the Exporter