Skip to content
NavleshGit1Public

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ORBITRA'26 WebGL 3D Website

Interactive 3D WebGL experience built on the PlayCanvas engine.


🚀 How to Run Locally

Because WebGL applications load binary assets (.glb 3D models, .wasm modules, .basis compressed textures, and JSON configuration files), they must be served through an HTTP server rather than opened directly via file://.

Option 1: One-Click Launch (Windows)

Double-click start.bat. It will automatically start the server and open your default browser.

Option 2: Using Node.js

node serve.js

Then visit http://localhost:3000.

Option 3: Using Python

python server.py

Then visit http://localhost:3000.


📁 Project Architecture

  • index.html - Application entry point.
  • styles.css - Responsive viewport, aspect-ratio reflow, and full-bleed WebGL canvas styling.
  • playcanvas-stable.min.js - PlayCanvas WebGL/WebGPU 3D rendering engine.
  • settings.js - Context options (WebGL2/WebGL1), script registry, and Basis transcoder configuration.
  • start.js - Canvas initialization, graphics device creation, and scene loading pipeline.
  • loading.js - Preloader UI with typography and GSAP transitions.
  • config.json - Complete PlayCanvas asset registry mapping all materials, textures, shaders, audio, models, and scripts.
  • 2509662.json - Main 3D scene definition (entities, lights, cameras, and components).
  • files/assets/ - Local repository of all 3D assets:
    • GLB 3D models (compute trays, pods, satellite, architecture)
    • Basis Universal compressed texture assets
    • WebAssembly Basis transcoders (basis.wasm.js, basis.wasm.wasm)
    • Audio effects & ambiances
    • Custom game and interaction scripts

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages