Nebulous Pumpkin Moons

    three-gltf2-loader

    1.2.0 • Public • Published

    Three-glTF2-loader

    npm-image version-image

    Install


    npm install three-gltf2-loader --save
    

    Description


    Node.js wrapper for the GLTF2Loader library from three.js so that it can be installed through npm and used with bundle libraries like webpack, browserify, etc.

    glTF (Graphic Library Transmission Format) was developed and mantained by KhronosGroup as the specification for efficient transmission and loading of 3D scenes and models by WebGL, OpenGL ES, and OpenGL applications.

    Usage


    import THREE from 'three'
    import GLTF2Loader from 'three-gltf2-loader'
    
    GLTF2Loader(THREE)
    
    console.log(typeof THREE.GLTF2Loader)
    // => "function"
    

    Changelog


    1.2.0 (Oct 22 2017)

    • Updated to latest glTF loader from Three.js r87.

    1.1.0 (Jun 28 2017)

    • Updated to latest glTF spec from Three.js r86.

    1.0.0 (Mar 24 2017)

    • Main module functionality.

    0.0.0 (Mar 21 2017)

    • Initial development.

    License

    MIT © Antonio Gomez

    Install

    npm i three-gltf2-loader

    DownloadsWeekly Downloads

    88

    Version

    1.2.0

    License

    MIT

    Last publish

    Collaborators

    • antonio-gomez