xushiting 204d9da734 3 years ago
..
dist 204d9da734 3 years ago
src 204d9da734 3 years ago
README.md 204d9da734 3 years ago
package-lock.json 204d9da734 3 years ago
package.json 204d9da734 3 years ago
tsconfig.json 204d9da734 3 years ago
webpack.config.js 204d9da734 3 years ago

README.md

three-loader-3dtiles & react-three-fiber

This example demonstrates interoperability between the 3D Tiles loader and react-three-fiber. The tileset is wrapped around the useLoader interface. The <ErrorBoundary> and <Suspense> tags are used to provide feedback on the loading state of the tileset. The <group dispose> attribute is used to automatically dispose of the tileset when the component is dropped.

Running

npm install
npm run dev