Skip to content

Commit

Permalink
lots of model changes - new texture set and geometry
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-buist committed Sep 16, 2024
1 parent 6f164bd commit cac883f
Show file tree
Hide file tree
Showing 11 changed files with 6 additions and 6 deletions.
Binary file modified 3d_scenery/arrow.glb
Binary file not shown.
Binary file removed 3d_scenery/blockstack.glb
Binary file not shown.
Binary file removed 3d_scenery/coffee_guy.glb
Binary file not shown.
Binary file modified 3d_scenery/museum_hall.glb
Binary file not shown.
Binary file modified 3d_scenery/museum_hall_painting1.glb
Binary file not shown.
Binary file modified 3d_scenery/museum_hall_painting2.glb
Binary file not shown.
Binary file modified 3d_scenery/museum_hall_painting3.glb
Binary file not shown.
Binary file modified 3d_scenery/museum_hall_painting4.glb
Binary file not shown.
Binary file added 3d_scenery/room1_table.glb
Binary file not shown.
Binary file added 3d_scenery/vase.glb
Binary file not shown.
12 changes: 6 additions & 6 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@ function addToScene(sceneName, par = {}) {
child.name = par.rename
child.frustumCulled = false

if (child.material.name.includes("trans")) {
child.material.trasparent = true
}
//if (child.material.name.includes("trans")) {
// child.material.trasparent = true
//}
child.material.envMapIntensity = 0.3
}
})
Expand All @@ -219,7 +219,7 @@ async function init() {
"./3d_scenery/museum_hall_painting2.glb",
"./3d_scenery/museum_hall_painting3.glb",
"./3d_scenery/museum_hall_painting4.glb",
"./3d_scenery/blockstack.glb",
"./3d_scenery/vase.glb",
"./3d_scenery/businessman.glb",
"./3d_scenery/arrow.glb"
],
Expand All @@ -244,8 +244,8 @@ async function init() {
addToScene("link5")
addToScene("businessman", { position: [6.4203, -0.8, -3.1523], rotation: [0, -Math.PI / 2, 0], scale: [3, 3, 3] })
addToScene("arrow", { position: [0, 0, 0], rename: "a1", nav: [0,5,0]})
addToScene("arrow", { position: [0, 0, 10], rename: "a2", nav: [0,5,0] })
addToScene("arrow", { position: [0, 0, -10], rename: "a3", nav: [0,5,0] })
addToScene("arrow", { position: [0, 0, 8], rename: "a2", nav: [0,5,0] })
addToScene("arrow", { position: [0, 0, -8], rename: "a3", nav: [0,5,0] })
addToScene("arrow", { position: [6.4203, 2, -1], rename: "a4", nav: [0,3,0] })

//Lights and fog
Expand Down

0 comments on commit cac883f

Please sign in to comment.