Skip to content

Commit

Permalink
merged all static models to main & made plants a lot nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-buist committed Sep 17, 2024
1 parent cac883f commit a82ed24
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
Binary file modified 3d_scenery/museum_hall.glb
Binary file not shown.
Binary file removed 3d_scenery/museum_hall_plants_alpha.glb
Binary file not shown.
Binary file removed 3d_scenery/room1_table.glb
Binary file not shown.
7 changes: 0 additions & 7 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,6 @@ function addToScene(sceneName, par = {}) {
//assign name to each element of mesh for raycast name passback
child.name = par.rename
child.frustumCulled = false

//if (child.material.name.includes("trans")) {
// child.material.trasparent = true
//}
child.material.envMapIntensity = 0.3
}
})
Expand All @@ -214,7 +210,6 @@ async function init() {
await loadPush(
[
"./3d_scenery/museum_hall.glb",
"./3d_scenery/museum_hall_plants_alpha.glb",
"./3d_scenery/museum_hall_painting1.glb",
"./3d_scenery/museum_hall_painting2.glb",
"./3d_scenery/museum_hall_painting3.glb",
Expand All @@ -225,7 +220,6 @@ async function init() {
],
[
"building",
"plants",
"link1",
"link2",
"link3",
Expand All @@ -236,7 +230,6 @@ async function init() {
])

addToScene("building")
addToScene("plants")
addToScene("link1")
addToScene("link2")
addToScene("link3")
Expand Down

0 comments on commit a82ed24

Please sign in to comment.