gschian0 / next-three-example

Load GLTF models in Next.js with react-three-fiber. Made for an article: https://oslavdev.medium.com/load-animated-gltf-models-in-next-js-app-with-three-js-8cf0a5d99e10

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Next.js + Three.js load GLTF models

Alt text

Example of how to upload GLTF models in Next.js application. Made for the article on Medium.

How to run

$ npm run watch

to start typescript watcher

$ npm run dev

to start development server

the app will run on http://localhost:3000/

About

Load GLTF models in Next.js with react-three-fiber. Made for an article: https://oslavdev.medium.com/load-animated-gltf-models-in-next-js-app-with-three-js-8cf0a5d99e10


Languages

Language:TypeScript 94.2%Language:JavaScript 3.0%Language:CSS 2.8%