Skip to content

Commit

Permalink
Update Berlin-Brandenburg-Gate.html with new obj file
Browse files Browse the repository at this point in the history
  • Loading branch information
flogrell authored Aug 30, 2024
1 parent f1eb489 commit 63a37d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Berlin-Brandenburg-Gate.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@

new THREE.MTLLoader()
.setPath( 'models/' )
.load( 'model.mtl', function ( materials ) {
.load( 'bbtor.mtl', function ( materials ) {
materials.preload();
new THREE.OBJLoader()
.setMaterials( materials )
.setPath( 'models/' )
.load( 'model.obj', function ( group ) {
.load( 'bbtor.obj', function ( group ) {
mesh0 = group.children[0];
mesh0.material.side = THREE.DoubleSide;
mesh0.position.y = 0.01;
Expand Down

0 comments on commit 63a37d5

Please sign in to comment.