Try different semantic material

This commit is contained in:
2026-05-21 09:47:32 +02:00
parent c837a6e55f
commit fc4dd8af62
2 changed files with 5 additions and 3 deletions

View File

@@ -132,7 +132,11 @@ function loadNodes(nodes) {
*/ */
function createSemanticNode(model, id) { function createSemanticNode(model, id) {
// Default/highlight materials for semantic node // 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; let matSemHL = ATON.MatHub.materials.semanticShapeHL;
const semNode = ATON.createSemanticNode(id) const semNode = ATON.createSemanticNode(id)

View File

@@ -10,6 +10,4 @@ AppState.currentScene = 'salvador';
const marker = config.markers.find(m => m.id === 'salvador'); const marker = config.markers.find(m => m.id === 'salvador');
AppState.normalizedNodes = normalizeNodes(marker.nodes).flat; AppState.normalizedNodes = normalizeNodes(marker.nodes).flat;
console.debug(AppState.normalizedNodes);
openScene(marker, AppState.normalizedNodes); openScene(marker, AppState.normalizedNodes);