style: change lock cylinder appearance to aluminum

This commit is contained in:
MartinSereyC committed 2026-03-16 16:49:28 -03:00
1 parent a20dd36119
commit 9c519910b0
1 file changed
+8 -8
+8 -8
View File
@@ -387,12 +387,12 @@
side: THREE.DoubleSide side: THREE.DoubleSide
}); });
// Stainless Steel material for the lock // Aluminum material for the lock
const stainlessMaterial = new THREE.MeshStandardMaterial({ const aluminumMaterial = new THREE.MeshStandardMaterial({
color: 0xcccccc, color: 0xe5e5e5, // Lighter, typical of aluminum
metalness: 1.0, metalness: 1.0,
roughness: 0.2, roughness: 0.4, // Slightly more matte than stainless steel
envMapIntensity: 2.0 envMapIntensity: 1.5
}); });
const acrylicTargetNames = [ const acrylicTargetNames = [
@@ -469,11 +469,11 @@
lastEntry.matched = "⚪ ACRYLIC"; lastEntry.matched = "⚪ ACRYLIC";
console.log(`⚪ [HIERARCHY MATCH] White Acrylic: Mesh="${meshName}" Parent="${parentName}"`); console.log(`⚪ [HIERARCHY MATCH] White Acrylic: Mesh="${meshName}" Parent="${parentName}"`);
} }
// 5. STAINLESS STEEL for Lock // 5. ALUMINUM for Lock
else if (combinedNorm.includes('CILINDRO') || combinedNorm.includes('CERRADURA') || normMesh.includes('SOLID1102')) { else if (combinedNorm.includes('CILINDRO') || combinedNorm.includes('CERRADURA') || normMesh.includes('SOLID1102')) {
child.material = stainlessMaterial; child.material = aluminumMaterial;
lastEntry.matched = "🔑 LOCK"; lastEntry.matched = "🔑 LOCK";
console.log(`🔑 [HIERARCHY MATCH] Stainless Steel Lock: Mesh="${meshName}" Parent="${parentName}"`); console.log(`🔑 [HIERARCHY MATCH] Aluminum Lock: Mesh="${meshName}" Parent="${parentName}"`);
} }
} }
}); });