From 3ca218ee19099b434d8da605a5786acf132b98f5 Mon Sep 17 00:00:00 2001 From: Neko Ayaka Date: Wed, 4 Dec 2024 14:14:11 +0800 Subject: [PATCH] feat: basic threejs view --- packages/stage/package.json | 1 + packages/stage/src/components/MainStage.vue | 11 +- packages/stage/src/components/ThreeViewer.vue | 62 ++++++- pnpm-lock.yaml | 166 ++++++++++++++++++ 4 files changed, 232 insertions(+), 8 deletions(-) diff --git a/packages/stage/package.json b/packages/stage/package.json index 04158d4..fab87bf 100644 --- a/packages/stage/package.json +++ b/packages/stage/package.json @@ -33,6 +33,7 @@ "@pixi/ticker": "^6.5.10", "@pixi/utils": "6", "@pixiv/three-vrm": "^3.2.0", + "@tresjs/cientos": "^4.0.3", "@tresjs/core": "^4.3.1", "@types/yauzl": "^2.10.3", "@unhead/vue": "^1.11.13", diff --git a/packages/stage/src/components/MainStage.vue b/packages/stage/src/components/MainStage.vue index 16a17e8..b733e8e 100644 --- a/packages/stage/src/components/MainStage.vue +++ b/packages/stage/src/components/MainStage.vue @@ -272,8 +272,8 @@ onUnmounted(() => {