Change default env settings
This commit is contained in:
@@ -16,16 +16,13 @@ const theater2Popup = `
|
|||||||
|
|
||||||
export const config = {
|
export const config = {
|
||||||
scene : {
|
scene : {
|
||||||
initialExposure: 0.95,
|
initialExposure: 1.5,
|
||||||
autoLP: false,
|
autoLP: false,
|
||||||
shadows: false,
|
shadows: false,
|
||||||
initLightDir: [0.2,-0.3,-0.7],
|
initLightDir: [-0.3,-0.7,0.1],
|
||||||
initRotation: [0, 1.5, 0],
|
initRotation: [0, 190, 0],
|
||||||
ambientOcclusion: false,
|
ambientOcclusion: false,
|
||||||
},
|
},
|
||||||
menu : {
|
|
||||||
//audioBtn1
|
|
||||||
},
|
|
||||||
markers : [
|
markers : [
|
||||||
{
|
{
|
||||||
id : "salvador",
|
id : "salvador",
|
||||||
|
|||||||
@@ -27,11 +27,12 @@ export default class extends Controller {
|
|||||||
content.classList.add('img-fluid');
|
content.classList.add('img-fluid');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body.appendChild(content);
|
||||||
|
|
||||||
const description = document.createElement('p');
|
const description = document.createElement('p');
|
||||||
description.textContent = event.content?.description;
|
description.textContent = event.content?.description;
|
||||||
description.classList.add('py-3', 'my-2', 'fst-italic');
|
description.classList.add('py-3', 'my-2', 'fst-italic');
|
||||||
|
|
||||||
body.appendChild(content);
|
|
||||||
body.appendChild(description);
|
body.appendChild(description);
|
||||||
|
|
||||||
bootstrap.Modal.getOrCreateInstance(modal).show();
|
bootstrap.Modal.getOrCreateInstance(modal).show();
|
||||||
|
|||||||
@@ -132,10 +132,10 @@ 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 = new THREE.MeshPhongMaterial({
|
let matSemDef = new THREE.MeshStandardMaterial({
|
||||||
color: '#ecee66',
|
color: '#f7e6af',
|
||||||
transparent: true,
|
transparent: true,
|
||||||
opacity: 0.3,
|
opacity: 0.2,
|
||||||
});
|
});
|
||||||
let matSemHL = ATON.MatHub.materials.semanticShapeHL;
|
let matSemHL = ATON.MatHub.materials.semanticShapeHL;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user