Skip to content

adydetra/glb-gltf-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GLB GLTF Viewer 🛰️

Static Badge

A lightweight viewer for .glb and .gltf models built with React Three Fiber. Drag-and-drop any supported file to preview it instantly with orbit controls, auto-rotation, and lighting presets.


Getting Started

Requirements

Install dependencies

bun install

Run the development server

bun dev

Note

Prefer using another package manager? Remove bun.lock and install with one of the following:

# npm install
# yarn install
# pnpm install

Uploading Models

Supported File Types

  • Single .glb file (all-in-one 3D model)
  • Folder containing .gltf with assets (.bin, .jpg, .png)
  • Zipped (.zip) GLTF folder with all assets

How to Upload

  1. Drag and drop your file/folder/zip into the viewer
  2. Or click to open file picker and select your model
  3. Wait for the model to load
  4. Use mouse/touch to rotate, zoom, and pan

License

This project is licensed under the MIT license.

About

🛰️ A lightweight viewer for .glb and .gltf models built with React Three Fiber

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Contributors