Skip to content

Commit 06bfaa0

Browse files
Merge pull request #16 from PromptExecution/feature/new-glbs
new glbs
2 parents 1690ffd + eda42dc commit 06bfaa0

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ dist/*
1818
**/*.pyc
1919

2020
#bun.lockb
21-
*.mjs
21+
*.mjs
22+
**/*\:Zone.Identifier

src/components/Logo3D.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ const initThreeJS = () => {
5959
const loader = new GLTFLoader()
6060
loader.load('/2ae0aaee-e2de-45f0-aee2-9f7da77f7c18.glb', (gltf) => {
6161
model = gltf.scene
62-
model.scale.setScalar(5.5) // Scale set to 5.5
62+
// sample.glb Scale is 5.5
63+
// 2ae0aaee-e2de-45f0-aee2-9f7da77f7c18.glb should be
64+
model.scale.setScalar(4.5)
65+
model.position.y = 0.2 // Move up 4px equivalent in 3D space
6366
scene.add(model)
6467
}, undefined, (error) => {
6568
console.error('Error loading GLB model:', error)

0 commit comments

Comments
 (0)