shrekshao / Minimal Gltf Loader
Licence: mit
A minimal, engine-agnostic JavaScript glTF Loader.
Stars: ✭ 148
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
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
Wickedengine
3D engine focusing on modern rendering techniques and performance.
Stars: ✭ 3,148 (+2027.03%)
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
Engine
Fast and lightweight JavaScript game engine built on WebGL and glTF
Stars: ✭ 6,890 (+4555.41%)
Mutual labels: webgl2, gltf
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
Chameleon
Android Change Skin, Android Night Mode, 安卓换肤,安卓夜间模式
Stars: ✭ 141 (-4.73%)
Mutual labels: skin
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
A minimal, engine-agnostic JavaScript glTF Loader, with a raw WebGL 2 simple renderer example using the loader.
Viewer Screenshot
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
- [x] Bounding Box
Credits
- glTF sample Model and Buster Drone By LaVADraGoN
- Great thanks to Trung Le (@trungtle) and Patrick Cozzi (@pjcozzi) for contributing and advising.
- gl-Matrix by Brandon Jones (@toji) and Colin MacKenzie IV (@sinisterchipmunk)
- glTF-WebGL-PBR
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].