Changed model extensions from `.js.` to `.json` fitting with export from

latest three.js exporter.
	725819c98d

Updated texture on new models.
10.3.x-maintenance
jeff 2014-11-02 19:04:32 +11:00
parent cbc4684935
commit 5cff317208
10 changed files with 1280 additions and 1344 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

477
resources/models/hex_x.json Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -222,7 +222,7 @@ TABS.setup.initialize3D = function (compatibility) {
}
loader = new THREE.JSONLoader();
loader.load('./resources/models/' + model_file + '.js', function (geometry, materials) {
loader.load('./resources/models/' + model_file + '.json', function (geometry, materials) {
if (!fallback) {
model = new THREE.Mesh(geometry, new THREE.MeshFaceMaterial(materials));
} else {