From a20d9102ce9f604f2e6daa32eee26a40d959ed07 Mon Sep 17 00:00:00 2001 From: alteredq Date: Thu, 25 Nov 2010 02:10:54 +0100 Subject: [PATCH] Few small tweaks to cars demo. Changed materials a bit to look better with lighter environment map. Added space to buttons HTML so that Firefox don't draw them sticked together. Also re-added htaccess for BIN files. --- examples/materials_cars.html | 10 +++++----- examples/obj/camaro/.htaccess | 7 +++++++ examples/obj/f50/.htaccess | 7 +++++++ examples/obj/gallardo/.htaccess | 7 +++++++ examples/obj/veyron/.htaccess | 7 +++++++ 5 files changed, 33 insertions(+), 5 deletions(-) create mode 100644 examples/obj/camaro/.htaccess create mode 100644 examples/obj/f50/.htaccess create mode 100644 examples/obj/gallardo/.htaccess create mode 100644 examples/obj/veyron/.htaccess diff --git a/examples/materials_cars.html b/examples/materials_cars.html index a1d3693c..2b0d9dfd 100644 --- a/examples/materials_cars.html +++ b/examples/materials_cars.html @@ -240,13 +240,13 @@ "Orange": new THREE.MeshLambertMaterial( { color: 0xff6600, env_map: textureCube, combine: THREE.Mix, reflectivity: 0.3 } ), "Blue": new THREE.MeshLambertMaterial( { color: 0x001133, env_map: textureCube, combine: THREE.Mix, reflectivity: 0.3 } ), - "Red": new THREE.MeshLambertMaterial( { color: 0x660000, env_map: textureCube, combine: THREE.Mix, reflectivity: 0.5 } ), - "Black": new THREE.MeshLambertMaterial( { color: 0x000000, env_map: textureCube, combine: THREE.Mix, reflectivity: 0.5 } ), - "White": new THREE.MeshLambertMaterial( { color: 0xffffff, env_map: textureCube, combine: THREE.Mix, reflectivity: 0.5 } ), + "Red": new THREE.MeshLambertMaterial( { color: 0x660000, env_map: textureCube, combine: THREE.Mix, reflectivity: 0.25 } ), + "Black": new THREE.MeshLambertMaterial( { color: 0x000000, env_map: textureCube, combine: THREE.Mix, reflectivity: 0.15 } ), + "White": new THREE.MeshLambertMaterial( { color: 0xffffff, env_map: textureCube, combine: THREE.Mix, reflectivity: 0.25 } ), "Carmine": new THREE.MeshPhongMaterial( { color: 0x770000, specular:0xffaaaa, env_map: textureCube, combine: THREE.Multiply } ), "Gold": new THREE.MeshPhongMaterial( { color: 0xaa9944, specular:0xbbaa99, shininess:50, env_map: textureCube, combine: THREE.Multiply } ), - "Bronze": new THREE.MeshPhongMaterial( { color: 0x150505, specular:0xee6600, shininess:10, env_map: textureCube, combine: THREE.Mix, reflectivity: 0.5 } ), + "Bronze": new THREE.MeshPhongMaterial( { color: 0x150505, specular:0xee6600, shininess:10, env_map: textureCube, combine: THREE.Mix, reflectivity: 0.25 } ), "Chrome": new THREE.MeshPhongMaterial( { color: 0xffffff, specular:0xffffff, env_map: textureCube, combine: THREE.Multiply } ), "Orange metal": new THREE.MeshLambertMaterial( { color: 0xff6600, env_map: textureCube, combine: THREE.Multiply } ), @@ -538,7 +538,7 @@ for( i = 0; i < materials.length; i++ ) { - src += ''; + src += ' '; } diff --git a/examples/obj/camaro/.htaccess b/examples/obj/camaro/.htaccess new file mode 100644 index 00000000..d9f67316 --- /dev/null +++ b/examples/obj/camaro/.htaccess @@ -0,0 +1,7 @@ + +SetOutputFilter DEFLATE + + + +SetOutputFilter DEFLATE + diff --git a/examples/obj/f50/.htaccess b/examples/obj/f50/.htaccess new file mode 100644 index 00000000..d9f67316 --- /dev/null +++ b/examples/obj/f50/.htaccess @@ -0,0 +1,7 @@ + +SetOutputFilter DEFLATE + + + +SetOutputFilter DEFLATE + diff --git a/examples/obj/gallardo/.htaccess b/examples/obj/gallardo/.htaccess new file mode 100644 index 00000000..d9f67316 --- /dev/null +++ b/examples/obj/gallardo/.htaccess @@ -0,0 +1,7 @@ + +SetOutputFilter DEFLATE + + + +SetOutputFilter DEFLATE + diff --git a/examples/obj/veyron/.htaccess b/examples/obj/veyron/.htaccess new file mode 100644 index 00000000..d9f67316 --- /dev/null +++ b/examples/obj/veyron/.htaccess @@ -0,0 +1,7 @@ + +SetOutputFilter DEFLATE + + + +SetOutputFilter DEFLATE +