From 1a9d27b4881d21f7ca316a81dbd70ece8d561725 Mon Sep 17 00:00:00 2001 From: Stewart Allen Date: Thu, 27 Oct 2022 20:25:18 -0400 Subject: [PATCH] fix progress, disable opacity --- src/kiri-mode/cam/animate2.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/kiri-mode/cam/animate2.js b/src/kiri-mode/cam/animate2.js index 6e18ad49..2b4470d1 100644 --- a/src/kiri-mode/cam/animate2.js +++ b/src/kiri-mode/cam/animate2.js @@ -107,8 +107,8 @@ kiri.load(() => { geo.setIndex(new THREE.BufferAttribute(ind, 1)); const mat = new THREE.MeshMatcapMaterial({ flatShading: true, - transparent: true, - opacity: 0.9, + transparent: false, + opacity: 1, color: 0x888888, side: THREE.DoubleSide }); @@ -284,7 +284,7 @@ class Stock { }); let sub = Date.now(); updates.push(this); - console.log({ + if (false) console.log({ update: this.id, time: sub - start, subs, @@ -558,6 +558,7 @@ kiri.load(() => { for (let slice of updated) { slice.send(send); } + send.data({ progress: pathIndex / path.length }); updates++; }