All Projects → shrekshao → Minimal Gltf Loader

shrekshao / Minimal Gltf Loader

Licence: mit
A minimal, engine-agnostic JavaScript glTF Loader.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Minimal Gltf Loader

redcube
JS renderer based on GLTF to WebGPU or WebGL backends.
Stars: ✭ 86 (-41.89%)
Mutual labels:  pbr, webgl2, gltf
Ashes
WebGL2.0 3D Engine & ECS & RayTracing
Stars: ✭ 191 (+29.05%)
Mutual labels:  webgl2, gltf
Gltf To Usdz Research
Research and proof of concept of converting glTF to USDZ for AR Quick Look (iOS 12+).
Stars: ✭ 164 (+10.81%)
Mutual labels:  pbr, gltf
Gltf
A crate for loading glTF 2.0
Stars: ✭ 224 (+51.35%)
Mutual labels:  pbr, gltf
Wickedengine
3D engine focusing on modern rendering techniques and performance.
Stars: ✭ 3,148 (+2027.03%)
Mutual labels:  pbr, gltf
Helixjs
A Javascript 3D game engine.
Stars: ✭ 84 (-43.24%)
Mutual labels:  pbr, webgl2
Maya2gltf
Maya to glTF 2.0 exporter
Stars: ✭ 203 (+37.16%)
Mutual labels:  pbr, gltf
Vulkan Gltf Pbr
Physical based rendering with Vulkan using glTF 2.0 models
Stars: ✭ 438 (+195.95%)
Mutual labels:  pbr, gltf
webgl-gltf
GLTF Viewer For WebGL
Stars: ✭ 26 (-82.43%)
Mutual labels:  webgl2, gltf
Engine
Fast and lightweight JavaScript game engine built on WebGL and glTF
Stars: ✭ 6,890 (+4555.41%)
Mutual labels:  webgl2, gltf
Vk raytrace
Ray tracing glTF scene with Vulkan
Stars: ✭ 91 (-38.51%)
Mutual labels:  pbr, gltf
Frr
The FRRouting Protocol Suite
Stars: ✭ 2,009 (+1257.43%)
Mutual labels:  pbr
Daemon
The Dæmon game engine. With some bits of ioq3 and XreaL.
Stars: ✭ 136 (-8.11%)
Mutual labels:  pbr
Engine
Oasis Engine is a web-first and mobile-first high-performance real-time development platform.
Stars: ✭ 2,202 (+1387.84%)
Mutual labels:  webgl2
Sketch
Explorations on cross-hatching, engraving, and similar non-photorealistic rendering.
Stars: ✭ 136 (-8.11%)
Mutual labels:  webgl2
Gltfforue4
Import glTF 2.0 in Unreal Engine
Stars: ✭ 145 (-2.03%)
Mutual labels:  gltf
Chameleon
Android Change Skin, Android Night Mode, 安卓换肤,安卓夜间模式
Stars: ✭ 141 (-4.73%)
Mutual labels:  skin
Ng Block Ui
Block UI Loader/Spinner for Angular
Stars: ✭ 135 (-8.78%)
Mutual labels:  loader
Filament
Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2
Stars: ✭ 13,215 (+8829.05%)
Mutual labels:  pbr
React Content Loader
⚪ SVG-Powered component to easily create skeleton loadings.
Stars: ✭ 11,830 (+7893.24%)
Mutual labels:  loader

minimal-gltf-loader

Build Status License

A minimal, engine-agnostic JavaScript glTF Loader, with a raw WebGL 2 simple renderer example using the loader.

Viewer Screenshot

Live Demo

click here for live demo

Usage

import {vec3, vec4, quat, mat4} from 'gl-matrix';
var MinimalGLTFLoader = require('build/minimal-gltf-loader.js');

var glTFLoader = new MinimalGLTFLoader.glTFLoader();
glTFLoader.loadGLTF(url, function(glTF){
    //...
});

Loading Features

  • [x] Accessors
    • [ ] Progressive loading / rendering
  • [x] Buffers
  • [x] BufferViews
  • [x] Images
  • [x] Meshes
  • [x] Nodes
  • [x] Primitives
  • [x] Samplers
  • [x] Textures
  • [x] Shader Loader (not part of the core of glTF 2.0)
  • [x] Animations
  • [x] Cameras
  • [x] Materials
  • [x] Skins

Formats

  • [x] glTF (.gltf) with separate resources: .bin (geometry, animation, skins), .glsl (shaders), and image files
  • [ ] glTF (.gltf) with embedded resources
  • [ ] Binary glTF (.glb) using the KHR_binary_glTF extension

Examples

  • [x] WebGL 2 simple renderer
    • [x] baseColorFactor
    • [x] baseColorTexture
    • [x] normalTexture
    • [x] Skybox
    • [x] PBR
    • [x] Animation
    • [ ] Interpolations
      • [x] LINEAR
      • [ ] STEP
      • [ ] CATMULLROMSPLINE
      • [ ] CUBICSPLINE
    • [x] Skin
    • [ ] Camera (from glTF)
    • [ ] Progressive rendering (No plan for this)
    • [ ] Occlusion Culling experiment
      • [x] Bounding Box
        • [x] AABB (Axis Aligned Bounding Box, *static)
        • [x] OBB (Object/Oriented Bounding Box)
      • [x] Scene Bounding Box (fast iterated) And auto centered and scaled
      • [ ] Build octree
      • [ ] Occlusion Query with hierarchy

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].