From 583b31d46bb8abbee7410d29ca229120ee589cba Mon Sep 17 00:00:00 2001
From: vincentlu <t1341870251@gmail.com>
Date: 星期一, 05 一月 2026 10:10:08 +0800
Subject: [PATCH] # version merge
---
zy-acs-flow/src/map/insight/agv/AgvThree.js | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/zy-acs-flow/src/map/insight/agv/AgvThree.js b/zy-acs-flow/src/map/insight/agv/AgvThree.js
index b4671bd..5f5aad9 100644
--- a/zy-acs-flow/src/map/insight/agv/AgvThree.js
+++ b/zy-acs-flow/src/map/insight/agv/AgvThree.js
@@ -121,6 +121,28 @@
this.scene.add(dirLight1);
}
+ // initLight = () => {
+ // const hemiLight = new THREE.HemisphereLight(0xffffff, 0xffffff, 8);
+ // hemiLight.color.setHSL(0.6, 1, 0.75);
+ // hemiLight.groundColor.setHSL(0.095, 1, 0.85);
+ // hemiLight.position.set(0, 1500, 0);
+ // this.scene.add(hemiLight);
+
+ // const dirLight = new THREE.DirectionalLight(0xffffff, 4);
+ // dirLight.color.setHSL(0.1, 1, 1.0);
+ // dirLight.position.set(-300, 300, 300);
+ // this.scene.add(dirLight);
+
+ // const dirLight1 = new THREE.DirectionalLight(0xffffff, 4);
+ // dirLight1.color.setHSL(0.1, 1, 1.0);
+ // dirLight1.position.set(300, 300, -300);
+ // dirLight1.position.multiplyScalar(30);
+ // this.scene.add(dirLight1);
+
+ // const ambient = new THREE.AmbientLight(0xffffff, 1.0);
+ // // this.scene.add(ambient);
+ // }
+
generateMesh = (fn) => {
const loader = new FBXLoader();
--
Gitblit v1.9.1