From 9261007f12a6250141e30cfc43c37c5a093f1430 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期一, 03 一月 2022 11:20:33 +0800
Subject: [PATCH] #
---
static/css/index.css | 8 ++++----
static/js/app.js | 6 +++---
views/index.html | 4 ++--
static/js/object/StoreConvey.js | 4 ++--
static/js/object/StoreCrn.js | 6 +++---
5 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/static/css/index.css b/static/css/index.css
index 64e5449..7036794 100644
--- a/static/css/index.css
+++ b/static/css/index.css
@@ -26,7 +26,7 @@
text-align:center;
z-index:100;
padding:20px;
- color:#ccc;
+ color: #f1f1f1;
font-size:12px;
}
.ship-info-box .ship-type {
@@ -74,7 +74,7 @@
left:0;
width:100%;
height:100%;
- background-color:rgba(0,0,0,0.3);
+ background-color:rgba(0,0,0,0.2);
transform:scale(1,0);
}
.ship-info-box .btn .btn-word {
@@ -85,7 +85,7 @@
width:100%;
height:100%;
transform:translateX(15px);
- color:#ccc;
+ /*color:#ccc;*/
z-index:2;
text-align:center;
opacity:0;
@@ -194,7 +194,7 @@
}
.title-box .say {
font-size:12px;
- color:#888;
+ color: #b8b8b8;
padding:20px 0 20px 40px;
opacity:0;
transform:translateX(20px);
diff --git a/static/js/app.js b/static/js/app.js
index 3600009..3e46db3 100644
--- a/static/js/app.js
+++ b/static/js/app.js
@@ -109,6 +109,7 @@
ambient.position.set(0, 0, 0);
this.addObject(ambient);
+
// 娣诲姞骞宠鍏�,骞宠鍏夌被浼间簬澶槼鍏�
// let directionalLight = new THREE.DirectionalLight(0xffffff, 0.3);//妯℃嫙杩滃绫讳技澶槼鐨勫厜婧�
// directionalLight.position.set(0, 200, 0);
@@ -127,9 +128,8 @@
pointLight.castShadow = true;
pointLight.shadow.camera.near = 2000;
pointLight.shadow.camera.far = 10000;
- pointLight.shadow.mapSize.height = 100000;
- pointLight.shadow.mapSize.width = 100000;
- // 灏嗘墍鏈夊垱寤虹殑鐗╀綋鍔犲叆鍒板満鏅腑鍘�
+ pointLight.shadow.mapSize.height = 200000;
+ pointLight.shadow.mapSize.width = 200000;
this.addObject(pointLight);
}
this.initOrbitControl = function () {
diff --git a/static/js/object/StoreConvey.js b/static/js/object/StoreConvey.js
index 8697cd7..5228fab 100644
--- a/static/js/object/StoreConvey.js
+++ b/static/js/object/StoreConvey.js
@@ -47,7 +47,7 @@
});
}
child.castShadow = true;
- child.receiveShadow = true;
+ // child.receiveShadow = true;
}
});
@@ -63,7 +63,7 @@
color: 0x444444
});
child.castShadow = true;
- child.receiveShadow = true;
+ // child.receiveShadow = true;
}
});
rollerList.map(item => {
diff --git a/static/js/object/StoreCrn.js b/static/js/object/StoreCrn.js
index cb0c408..121a00d 100644
--- a/static/js/object/StoreCrn.js
+++ b/static/js/object/StoreCrn.js
@@ -37,7 +37,7 @@
.load( '鍫嗗灈鏈烘湰浣�.obj', function ( obj ) {
obj.traverse (function (child) {
child.castShadow = true;
- child.receiveShadow = true;
+ // child.receiveShadow = true;
if (child instanceof THREE.Mesh) {
child.material = new THREE.MeshLambertMaterial({
color: 0xCD6839
@@ -65,7 +65,7 @@
obj.traverse (function (child) {
if (child instanceof THREE.Mesh) {
child.castShadow = true;
- child.receiveShadow = true;
+ // child.receiveShadow = true;
child.material = new THREE.MeshLambertMaterial({
color: 0xD2691E
});
@@ -92,7 +92,7 @@
obj.traverse (function (child) {
if (child instanceof THREE.Mesh) {
child.castShadow = true;
- child.receiveShadow = true;
+ // child.receiveShadow = true;
child.material = new THREE.MeshLambertMaterial({
color: 0x363636
});
diff --git a/views/index.html b/views/index.html
index 91c2d41..c9650ad 100644
--- a/views/index.html
+++ b/views/index.html
@@ -235,8 +235,8 @@
var speedDom = document.getElementById("speed");
var timer = setInterval(function () {
if (percent < 100.00) {
- // percent += 0.04;
- percent += 1;
+ percent += 0.04;
+ // percent += 1;
speedDom.innerText = percent.toFixed(2);
} else {
speedDom.innerText = '100.00';
--
Gitblit v1.9.1