From fc4dd8af62e2d0aee4ba5707f52c70a4f1fd694b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20P=2E?= Date: Thu, 21 May 2026 09:47:32 +0200 Subject: [PATCH] Try different semantic material --- js/scene.js | 6 +++++- scenes/salvador/index.js | 2 -- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/js/scene.js b/js/scene.js index 94416e3..1de37ff 100644 --- a/js/scene.js +++ b/js/scene.js @@ -132,7 +132,11 @@ function loadNodes(nodes) { */ function createSemanticNode(model, id) { // Default/highlight materials for semantic node - let matSemDef = ATON.MatHub.materials.semanticShape; + let matSemDef = new THREE.MeshPhongMaterial({ + color: '#ecee66', + transparent: true, + opacity: 0.3, + }); let matSemHL = ATON.MatHub.materials.semanticShapeHL; const semNode = ATON.createSemanticNode(id) diff --git a/scenes/salvador/index.js b/scenes/salvador/index.js index f10b480..427fd57 100644 --- a/scenes/salvador/index.js +++ b/scenes/salvador/index.js @@ -10,6 +10,4 @@ AppState.currentScene = 'salvador'; const marker = config.markers.find(m => m.id === 'salvador'); AppState.normalizedNodes = normalizeNodes(marker.nodes).flat; -console.debug(AppState.normalizedNodes); - openScene(marker, AppState.normalizedNodes); \ No newline at end of file