├── .gitignore ├── LICENSE ├── README.md ├── dist ├── Horse.glb ├── Idle.fbx ├── assets │ ├── CanvasWorker-CkVXIHwP.js │ ├── LoadWorker-Dqroi5Gd.js │ ├── index-CjSOBxjP.css │ └── index-DqirLK5_.js ├── cube │ ├── nx.png │ ├── ny.png │ ├── nz.png │ ├── px.png │ ├── py.png │ └── pz.png ├── index.html ├── libs │ └── draco │ │ ├── README.md │ │ ├── draco_decoder.js │ │ ├── draco_decoder.wasm │ │ ├── draco_encoder.js │ │ ├── draco_wasm_wrapper.js │ │ └── gltf │ │ ├── draco_decoder.js │ │ ├── draco_decoder.wasm │ │ ├── draco_encoder.js │ │ └── draco_wasm_wrapper.js ├── uvGrid.jpg └── vite.svg ├── eslint.config.js ├── index.html ├── package.json ├── public ├── Horse.glb ├── Idle.fbx ├── cube │ ├── nx.png │ ├── ny.png │ ├── nz.png │ ├── px.png │ ├── py.png │ └── pz.png ├── libs │ └── draco │ │ ├── README.md │ │ ├── draco_decoder.js │ │ ├── draco_decoder.wasm │ │ ├── draco_encoder.js │ │ ├── draco_wasm_wrapper.js │ │ └── gltf │ │ ├── draco_decoder.js │ │ ├── draco_decoder.wasm │ │ ├── draco_encoder.js │ │ └── draco_wasm_wrapper.js ├── uvGrid.jpg └── vite.svg ├── src ├── Wrapper.tsx ├── canvas │ ├── CanvasComponent.tsx │ ├── OffscreenWay.tsx │ └── StandardWay.tsx ├── components │ └── Loader.tsx ├── global │ ├── constants.ts │ └── settings.ts ├── index.css ├── main.tsx ├── types.ts ├── vite-env.d.ts ├── webgl │ ├── ThreeApp.ts │ ├── ThreeScene.ts │ └── threeUtils.ts └── webworker │ ├── CanvasWorker.ts │ ├── EventHandling.ts │ ├── LoadWorker.ts │ ├── ProxyManager.ts │ └── workers.ts ├── tsconfig.app.json ├── tsconfig.json ├── tsconfig.node.json ├── vite.config.ts └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/README.md -------------------------------------------------------------------------------- /dist/Horse.glb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/Horse.glb -------------------------------------------------------------------------------- /dist/Idle.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/Idle.fbx -------------------------------------------------------------------------------- /dist/assets/CanvasWorker-CkVXIHwP.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/assets/CanvasWorker-CkVXIHwP.js -------------------------------------------------------------------------------- /dist/assets/LoadWorker-Dqroi5Gd.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/assets/LoadWorker-Dqroi5Gd.js -------------------------------------------------------------------------------- /dist/assets/index-CjSOBxjP.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/assets/index-CjSOBxjP.css -------------------------------------------------------------------------------- /dist/assets/index-DqirLK5_.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/assets/index-DqirLK5_.js -------------------------------------------------------------------------------- /dist/cube/nx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/cube/nx.png -------------------------------------------------------------------------------- /dist/cube/ny.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/cube/ny.png -------------------------------------------------------------------------------- /dist/cube/nz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/cube/nz.png -------------------------------------------------------------------------------- /dist/cube/px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/cube/px.png -------------------------------------------------------------------------------- /dist/cube/py.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/cube/py.png -------------------------------------------------------------------------------- /dist/cube/pz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/cube/pz.png -------------------------------------------------------------------------------- /dist/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/index.html -------------------------------------------------------------------------------- /dist/libs/draco/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/libs/draco/README.md -------------------------------------------------------------------------------- /dist/libs/draco/draco_decoder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/libs/draco/draco_decoder.js -------------------------------------------------------------------------------- /dist/libs/draco/draco_decoder.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/libs/draco/draco_decoder.wasm -------------------------------------------------------------------------------- /dist/libs/draco/draco_encoder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/libs/draco/draco_encoder.js -------------------------------------------------------------------------------- /dist/libs/draco/draco_wasm_wrapper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/libs/draco/draco_wasm_wrapper.js -------------------------------------------------------------------------------- /dist/libs/draco/gltf/draco_decoder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/libs/draco/gltf/draco_decoder.js -------------------------------------------------------------------------------- /dist/libs/draco/gltf/draco_decoder.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/libs/draco/gltf/draco_decoder.wasm -------------------------------------------------------------------------------- /dist/libs/draco/gltf/draco_encoder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/libs/draco/gltf/draco_encoder.js -------------------------------------------------------------------------------- /dist/libs/draco/gltf/draco_wasm_wrapper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/libs/draco/gltf/draco_wasm_wrapper.js -------------------------------------------------------------------------------- /dist/uvGrid.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/uvGrid.jpg -------------------------------------------------------------------------------- /dist/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/dist/vite.svg -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/eslint.config.js -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/package.json -------------------------------------------------------------------------------- /public/Horse.glb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/public/Horse.glb -------------------------------------------------------------------------------- /public/Idle.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/public/Idle.fbx -------------------------------------------------------------------------------- /public/cube/nx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/public/cube/nx.png -------------------------------------------------------------------------------- /public/cube/ny.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/public/cube/ny.png -------------------------------------------------------------------------------- /public/cube/nz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/public/cube/nz.png -------------------------------------------------------------------------------- /public/cube/px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/public/cube/px.png -------------------------------------------------------------------------------- /public/cube/py.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/public/cube/py.png -------------------------------------------------------------------------------- /public/cube/pz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/public/cube/pz.png -------------------------------------------------------------------------------- /public/libs/draco/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/public/libs/draco/README.md -------------------------------------------------------------------------------- /public/libs/draco/draco_decoder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/public/libs/draco/draco_decoder.js -------------------------------------------------------------------------------- /public/libs/draco/draco_decoder.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/public/libs/draco/draco_decoder.wasm -------------------------------------------------------------------------------- /public/libs/draco/draco_encoder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/public/libs/draco/draco_encoder.js -------------------------------------------------------------------------------- /public/libs/draco/draco_wasm_wrapper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/public/libs/draco/draco_wasm_wrapper.js -------------------------------------------------------------------------------- /public/libs/draco/gltf/draco_decoder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/public/libs/draco/gltf/draco_decoder.js -------------------------------------------------------------------------------- /public/libs/draco/gltf/draco_decoder.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/public/libs/draco/gltf/draco_decoder.wasm -------------------------------------------------------------------------------- /public/libs/draco/gltf/draco_encoder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/public/libs/draco/gltf/draco_encoder.js -------------------------------------------------------------------------------- /public/libs/draco/gltf/draco_wasm_wrapper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/public/libs/draco/gltf/draco_wasm_wrapper.js -------------------------------------------------------------------------------- /public/uvGrid.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/public/uvGrid.jpg -------------------------------------------------------------------------------- /public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/public/vite.svg -------------------------------------------------------------------------------- /src/Wrapper.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/src/Wrapper.tsx -------------------------------------------------------------------------------- /src/canvas/CanvasComponent.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/src/canvas/CanvasComponent.tsx -------------------------------------------------------------------------------- /src/canvas/OffscreenWay.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/src/canvas/OffscreenWay.tsx -------------------------------------------------------------------------------- /src/canvas/StandardWay.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/src/canvas/StandardWay.tsx -------------------------------------------------------------------------------- /src/components/Loader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/src/components/Loader.tsx -------------------------------------------------------------------------------- /src/global/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/src/global/constants.ts -------------------------------------------------------------------------------- /src/global/settings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/src/global/settings.ts -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/src/index.css -------------------------------------------------------------------------------- /src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/src/main.tsx -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /src/webgl/ThreeApp.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/src/webgl/ThreeApp.ts -------------------------------------------------------------------------------- /src/webgl/ThreeScene.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/src/webgl/ThreeScene.ts -------------------------------------------------------------------------------- /src/webgl/threeUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/src/webgl/threeUtils.ts -------------------------------------------------------------------------------- /src/webworker/CanvasWorker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/src/webworker/CanvasWorker.ts -------------------------------------------------------------------------------- /src/webworker/EventHandling.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/src/webworker/EventHandling.ts -------------------------------------------------------------------------------- /src/webworker/LoadWorker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/src/webworker/LoadWorker.ts -------------------------------------------------------------------------------- /src/webworker/ProxyManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/src/webworker/ProxyManager.ts -------------------------------------------------------------------------------- /src/webworker/workers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/src/webworker/workers.ts -------------------------------------------------------------------------------- /tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/tsconfig.app.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/tsconfig.node.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/vite.config.ts -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomorrowevening/three-offscreen/HEAD/yarn.lock --------------------------------------------------------------------------------