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