This commit is contained in:
trung09122002
2026-09-21 09:34:59 +07:00
parent 5080195ceb
commit 9f640b44f7
2 changed files with 19 additions and 18 deletions

View File

@@ -198,18 +198,7 @@ function v3dBuildRobot(r) {
// toa do map voi san la 0.
g.position.y = r.wheel_radius;
// Than robot TRONG SUOT mac dinh.
//
// LiDAR o 0.13 m va camera o 0.31 m deu NAM TRONG khoi hop 0.85 m. Ve than
// dac thi khong bao gio thay duoc hai cam bien do -- ma vi tri cua chung so
// voi nhau chinh la thu hay sai nhat trong cau hinh, va la thu can nhin
// thay nhat.
//
// depthWrite = false la phan bat buoc: thieu no thi mat trong suot van ghi
// vao depth buffer va van che moi thu ve SAU no, tuc cam bien van bien mat
// du da nhin xuyen duoc qua than.
const bodyMat = new THREE.MeshLambertMaterial({
color: 0x1a6ea8, transparent: true, opacity: 0.22, depthWrite: false });
const bodyMat = new THREE.MeshLambertMaterial({ color: 0x1a6ea8 });
const darkMat = new THREE.MeshLambertMaterial({ color: 0x20262e });
// Than: KHOI HOP, dung kich thuoc that tu robot.yaml.