←All projectsSemua proyek

PrototypePrototipeWorking prototype; single commit on 2 Jan 2026Prototipe berfungsi; satu commit pada 2 Jan 2026

GLB Model Viewer

YearTahunJan 2026
CategoryKategoriWeb PlatformPlatform Web
Client/PartnerKlien/MitraPersonal ProjectProyek Pribadi
TeamTimSolo projectProyek solo

OverviewRingkasan

Small browser viewer to preview GLB/GLTF models without opening a desktop 3D tool. Pick a file, and it loads the model, centers it, fits the camera and lets you change lighting and background. Packaged as an Nginx container.Viewer kecil di browser untuk melihat model GLB/GLTF tanpa membuka tool 3D desktop. Pilih file, lalu model dimuat, diletakkan di tengah, kamera disesuaikan, dan pencahayaan serta latar bisa diubah. Dikemas sebagai container Nginx.

My RolePeran Saya

Designed and built the web viewer (Three.js) and packaged it as a Docker image served by NginxMerancang dan membangun viewer web (Three.js) dan mengemasnya sebagai Docker image yang dilayani Nginx

How It WorksCara Kerja

  1. File picker (.glb / .gltf)Pemilih file (.glb / .gltf)
  2. GLTFLoader + DRACOLoader
  3. Three.js scene (OrbitControls, lights)Scene Three.js (OrbitControls, lampu)
  4. lil-gui panel + Stats overlayPanel lil-gui + overlay Stats
  5. Static files served by Nginx in DockerFile statis dilayani Nginx di Docker

Key FeaturesFitur Utama

  • •Load a local .glb or .gltf file from a file pickerMemuat file .glb atau .gltf lokal lewat pemilih file
  • •Draco-compressed model support (decoder loaded from a CDN)Mendukung model terkompresi Draco (decoder dimuat dari CDN)
  • •Model centered and camera fitted from its bounding boxModel dipusatkan dan kamera disesuaikan dari bounding box
  • •Orbit controls, auto-rotate, light or dark backgroundOrbit controls, auto-rotate, latar terang atau gelap
  • •Control panel for exposure, ambient and directional light intensity and colourPanel kontrol untuk exposure, intensitas dan warna cahaya ambient dan directional
  • •FPS / performance monitor overlayOverlay monitor FPS / performa
  • •Dockerfile (nginx:alpine) serving the static filesDockerfile (nginx:alpine) untuk menyajikan file statis

Tech & ToolsTeknologi

Three.jsWebGLJavaScriptlil-guiDracoNginxDocker

DocumentationDokumentasi