├── .editorconfig ├── .eslintignore ├── .eslintrc.json ├── .gitattributes ├── .github └── workflows │ └── build.yml ├── .gitignore ├── .husky └── pre-commit ├── .npmignore ├── .npmrc ├── .prettierignore ├── CHANGES.md ├── LICENSE.md ├── README.md ├── ThirdParty.json ├── bin └── obj2gltf.js ├── doc └── cesium.png ├── gulpfile.js ├── index.js ├── lib ├── ArrayStorage.js ├── Texture.js ├── createGltf.js ├── getBufferPadded.js ├── getJsonBufferPadded.js ├── gltfToGlb.js ├── loadMtl.js ├── loadObj.js ├── loadTexture.js ├── obj2gltf.js ├── outsideDirectory.js ├── readLines.js └── writeGltf.js ├── package.json └── specs ├── .eslintrc.json ├── data ├── box-complex-material-alpha │ ├── alpha.png │ ├── ambient.gif │ ├── box-complex-material-alpha.mtl │ ├── box-complex-material-alpha.obj │ ├── bump.png │ ├── diffuse.png │ ├── emission.jpg │ ├── shininess.png │ └── specular.jpeg ├── box-complex-material │ ├── ambient.gif │ ├── box-complex-material.mtl │ ├── box-complex-material.obj │ ├── bump.png │ ├── diffuse.png │ ├── emission.jpg │ ├── shininess.png │ └── specular.jpeg ├── box-external-resources-in-root │ ├── box-external-resources-in-root.mtl │ ├── box-external-resources-in-root.obj │ ├── box.mtl │ └── cesium.png ├── box-external-resources │ ├── box-external-resources.mtl │ └── box-external-resources.obj ├── box-groups │ ├── box-groups.mtl │ └── box-groups.obj ├── box-incomplete-attributes │ ├── box-incomplete-normals.obj │ ├── box-incomplete-positions.obj │ └── box-incomplete-uvs.obj ├── box-incorrect-winding-order │ ├── box-incorrect-winding-order.mtl │ └── box-incorrect-winding-order.obj ├── box-missing-attributes │ ├── box-missing-attributes.mtl │ └── box-missing-attributes.obj ├── box-missing-mtllib │ └── box-missing-mtllib.obj ├── box-missing-texture │ ├── box-missing-texture.mtl │ └── box-missing-texture.obj ├── box-missing-usemtl │ ├── box-missing-usemtl.mtl │ └── box-missing-usemtl.obj ├── box-mixed-attributes-2 │ ├── box-mixed-attributes-2.mtl │ ├── box-mixed-attributes-2.obj │ └── cesium.png ├── box-mixed-attributes │ ├── box-mixed-attributes.mtl │ └── box-mixed-attributes.obj ├── box-mtllib-spaces │ ├── box mtllib blue.mtl │ ├── box mtllib green.mtl │ ├── box mtllib red.mtl │ └── box mtllib.obj ├── box-mtllib │ ├── box-mtllib-blue.mtl │ ├── box-mtllib-green.mtl │ ├── box-mtllib-red.mtl │ └── box-mtllib.obj ├── box-multiple-materials │ ├── box-multiple-materials.mtl │ └── box-multiple-materials.obj ├── box-negative-indices │ ├── box-negative-indices.mtl │ └── box-negative-indices.obj ├── box-no-materials │ └── box-no-materials.obj ├── box-normals │ ├── box-normals.mtl │ └── box-normals.obj ├── box-objects-groups-materials-2 │ ├── box-objects-groups-materials-2.mtl │ └── box-objects-groups-materials-2.obj ├── box-objects-groups-materials │ ├── box-objects-groups-materials.mtl │ └── box-objects-groups-materials.obj ├── box-objects-groups │ ├── box-objects-groups.mtl │ └── box-objects-groups.obj ├── box-objects │ ├── box-objects.mtl │ └── box-objects.obj ├── box-positions-only │ ├── box-positions-only.mtl │ └── box-positions-only.obj ├── box-resources-in-root │ ├── box-resources-in-root.mtl │ ├── box-resources-in-root.obj │ └── cesium.png ├── box-rotated │ ├── box-rotated.mtl │ └── box-rotated.obj ├── box-shared-textures-2 │ ├── box-shared-textures-2.mtl │ ├── box-shared-textures-2.obj │ └── cesium.png ├── box-shared-textures │ ├── box-shared-textures.mtl │ ├── box-shared-textures.obj │ └── cesium.png ├── box-subdirectories │ ├── box-textured.obj │ └── materials │ │ ├── box-textured.mtl │ │ └── images │ │ └── cesium.png ├── box-texture-options │ ├── ambient.gif │ ├── box-texture-options.mtl │ ├── box-texture-options.obj │ ├── bump.png │ ├── diffuse.png │ ├── emission.jpg │ ├── shininess.png │ └── specular.jpeg ├── box-textured │ ├── box-textured.mtl │ ├── box-textured.obj │ └── cesium.png ├── box-transparent │ ├── box-transparent.mtl │ └── box-transparent.obj ├── box-triangles │ ├── box-triangles.mtl │ └── box-triangles.obj ├── box-uncleaned │ ├── box-uncleaned.mtl │ └── box-uncleaned.obj ├── box-unnamed-material │ ├── box-unnamed-material.mtl │ └── box-unnamed-material.obj ├── box-unnormalized │ ├── box-unnormalized.mtl │ └── box-unnormalized.obj ├── box-usemtl │ ├── box-usemtl.mtl │ └── box-usemtl.obj ├── box-uvs │ ├── box-uvs.mtl │ └── box-uvs.obj ├── box-windows-paths │ ├── box-windows-paths.obj │ └── materials │ │ ├── box-windows-paths.mtl │ │ └── images │ │ └── cesium.png ├── box-with-tabs │ ├── box-with-tabs.mtl │ └── box-with-tabs.obj ├── box │ ├── box.mtl │ └── box.obj └── concave │ ├── concave.mtl │ └── concave.obj ├── jasmine.json └── lib ├── createGltfSpec.js ├── loadMtlSpec.js ├── loadObjSpec.js ├── loadTextureSpec.js └── obj2gltfSpec.js /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | npm run pre-commit 5 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/.npmignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/.prettierignore -------------------------------------------------------------------------------- /CHANGES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/CHANGES.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/README.md -------------------------------------------------------------------------------- /ThirdParty.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/ThirdParty.json -------------------------------------------------------------------------------- /bin/obj2gltf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/bin/obj2gltf.js -------------------------------------------------------------------------------- /doc/cesium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/doc/cesium.png -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/gulpfile.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | module.exports = require("./lib/obj2gltf"); 3 | -------------------------------------------------------------------------------- /lib/ArrayStorage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/lib/ArrayStorage.js -------------------------------------------------------------------------------- /lib/Texture.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/lib/Texture.js -------------------------------------------------------------------------------- /lib/createGltf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/lib/createGltf.js -------------------------------------------------------------------------------- /lib/getBufferPadded.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/lib/getBufferPadded.js -------------------------------------------------------------------------------- /lib/getJsonBufferPadded.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/lib/getJsonBufferPadded.js -------------------------------------------------------------------------------- /lib/gltfToGlb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/lib/gltfToGlb.js -------------------------------------------------------------------------------- /lib/loadMtl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/lib/loadMtl.js -------------------------------------------------------------------------------- /lib/loadObj.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/lib/loadObj.js -------------------------------------------------------------------------------- /lib/loadTexture.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/lib/loadTexture.js -------------------------------------------------------------------------------- /lib/obj2gltf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/lib/obj2gltf.js -------------------------------------------------------------------------------- /lib/outsideDirectory.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/lib/outsideDirectory.js -------------------------------------------------------------------------------- /lib/readLines.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/lib/readLines.js -------------------------------------------------------------------------------- /lib/writeGltf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/lib/writeGltf.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/package.json -------------------------------------------------------------------------------- /specs/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/.eslintrc.json -------------------------------------------------------------------------------- /specs/data/box-complex-material-alpha/alpha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-complex-material-alpha/alpha.png -------------------------------------------------------------------------------- /specs/data/box-complex-material-alpha/ambient.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-complex-material-alpha/ambient.gif -------------------------------------------------------------------------------- /specs/data/box-complex-material-alpha/box-complex-material-alpha.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-complex-material-alpha/box-complex-material-alpha.mtl -------------------------------------------------------------------------------- /specs/data/box-complex-material-alpha/box-complex-material-alpha.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-complex-material-alpha/box-complex-material-alpha.obj -------------------------------------------------------------------------------- /specs/data/box-complex-material-alpha/bump.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-complex-material-alpha/bump.png -------------------------------------------------------------------------------- /specs/data/box-complex-material-alpha/diffuse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-complex-material-alpha/diffuse.png -------------------------------------------------------------------------------- /specs/data/box-complex-material-alpha/emission.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-complex-material-alpha/emission.jpg -------------------------------------------------------------------------------- /specs/data/box-complex-material-alpha/shininess.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-complex-material-alpha/shininess.png -------------------------------------------------------------------------------- /specs/data/box-complex-material-alpha/specular.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-complex-material-alpha/specular.jpeg -------------------------------------------------------------------------------- /specs/data/box-complex-material/ambient.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-complex-material/ambient.gif -------------------------------------------------------------------------------- /specs/data/box-complex-material/box-complex-material.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-complex-material/box-complex-material.mtl -------------------------------------------------------------------------------- /specs/data/box-complex-material/box-complex-material.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-complex-material/box-complex-material.obj -------------------------------------------------------------------------------- /specs/data/box-complex-material/bump.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-complex-material/bump.png -------------------------------------------------------------------------------- /specs/data/box-complex-material/diffuse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-complex-material/diffuse.png -------------------------------------------------------------------------------- /specs/data/box-complex-material/emission.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-complex-material/emission.jpg -------------------------------------------------------------------------------- /specs/data/box-complex-material/shininess.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-complex-material/shininess.png -------------------------------------------------------------------------------- /specs/data/box-complex-material/specular.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-complex-material/specular.jpeg -------------------------------------------------------------------------------- /specs/data/box-external-resources-in-root/box-external-resources-in-root.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-external-resources-in-root/box-external-resources-in-root.mtl -------------------------------------------------------------------------------- /specs/data/box-external-resources-in-root/box-external-resources-in-root.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-external-resources-in-root/box-external-resources-in-root.obj -------------------------------------------------------------------------------- /specs/data/box-external-resources-in-root/box.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-external-resources-in-root/box.mtl -------------------------------------------------------------------------------- /specs/data/box-external-resources-in-root/cesium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-external-resources-in-root/cesium.png -------------------------------------------------------------------------------- /specs/data/box-external-resources/box-external-resources.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-external-resources/box-external-resources.mtl -------------------------------------------------------------------------------- /specs/data/box-external-resources/box-external-resources.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-external-resources/box-external-resources.obj -------------------------------------------------------------------------------- /specs/data/box-groups/box-groups.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-groups/box-groups.mtl -------------------------------------------------------------------------------- /specs/data/box-groups/box-groups.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-groups/box-groups.obj -------------------------------------------------------------------------------- /specs/data/box-incomplete-attributes/box-incomplete-normals.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-incomplete-attributes/box-incomplete-normals.obj -------------------------------------------------------------------------------- /specs/data/box-incomplete-attributes/box-incomplete-positions.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-incomplete-attributes/box-incomplete-positions.obj -------------------------------------------------------------------------------- /specs/data/box-incomplete-attributes/box-incomplete-uvs.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-incomplete-attributes/box-incomplete-uvs.obj -------------------------------------------------------------------------------- /specs/data/box-incorrect-winding-order/box-incorrect-winding-order.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-incorrect-winding-order/box-incorrect-winding-order.mtl -------------------------------------------------------------------------------- /specs/data/box-incorrect-winding-order/box-incorrect-winding-order.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-incorrect-winding-order/box-incorrect-winding-order.obj -------------------------------------------------------------------------------- /specs/data/box-missing-attributes/box-missing-attributes.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-missing-attributes/box-missing-attributes.mtl -------------------------------------------------------------------------------- /specs/data/box-missing-attributes/box-missing-attributes.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-missing-attributes/box-missing-attributes.obj -------------------------------------------------------------------------------- /specs/data/box-missing-mtllib/box-missing-mtllib.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-missing-mtllib/box-missing-mtllib.obj -------------------------------------------------------------------------------- /specs/data/box-missing-texture/box-missing-texture.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-missing-texture/box-missing-texture.mtl -------------------------------------------------------------------------------- /specs/data/box-missing-texture/box-missing-texture.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-missing-texture/box-missing-texture.obj -------------------------------------------------------------------------------- /specs/data/box-missing-usemtl/box-missing-usemtl.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-missing-usemtl/box-missing-usemtl.mtl -------------------------------------------------------------------------------- /specs/data/box-missing-usemtl/box-missing-usemtl.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-missing-usemtl/box-missing-usemtl.obj -------------------------------------------------------------------------------- /specs/data/box-mixed-attributes-2/box-mixed-attributes-2.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-mixed-attributes-2/box-mixed-attributes-2.mtl -------------------------------------------------------------------------------- /specs/data/box-mixed-attributes-2/box-mixed-attributes-2.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-mixed-attributes-2/box-mixed-attributes-2.obj -------------------------------------------------------------------------------- /specs/data/box-mixed-attributes-2/cesium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-mixed-attributes-2/cesium.png -------------------------------------------------------------------------------- /specs/data/box-mixed-attributes/box-mixed-attributes.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-mixed-attributes/box-mixed-attributes.mtl -------------------------------------------------------------------------------- /specs/data/box-mixed-attributes/box-mixed-attributes.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-mixed-attributes/box-mixed-attributes.obj -------------------------------------------------------------------------------- /specs/data/box-mtllib-spaces/box mtllib blue.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-mtllib-spaces/box mtllib blue.mtl -------------------------------------------------------------------------------- /specs/data/box-mtllib-spaces/box mtllib green.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-mtllib-spaces/box mtllib green.mtl -------------------------------------------------------------------------------- /specs/data/box-mtllib-spaces/box mtllib red.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-mtllib-spaces/box mtllib red.mtl -------------------------------------------------------------------------------- /specs/data/box-mtllib-spaces/box mtllib.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-mtllib-spaces/box mtllib.obj -------------------------------------------------------------------------------- /specs/data/box-mtllib/box-mtllib-blue.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-mtllib/box-mtllib-blue.mtl -------------------------------------------------------------------------------- /specs/data/box-mtllib/box-mtllib-green.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-mtllib/box-mtllib-green.mtl -------------------------------------------------------------------------------- /specs/data/box-mtllib/box-mtllib-red.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-mtllib/box-mtllib-red.mtl -------------------------------------------------------------------------------- /specs/data/box-mtllib/box-mtllib.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-mtllib/box-mtllib.obj -------------------------------------------------------------------------------- /specs/data/box-multiple-materials/box-multiple-materials.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-multiple-materials/box-multiple-materials.mtl -------------------------------------------------------------------------------- /specs/data/box-multiple-materials/box-multiple-materials.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-multiple-materials/box-multiple-materials.obj -------------------------------------------------------------------------------- /specs/data/box-negative-indices/box-negative-indices.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-negative-indices/box-negative-indices.mtl -------------------------------------------------------------------------------- /specs/data/box-negative-indices/box-negative-indices.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-negative-indices/box-negative-indices.obj -------------------------------------------------------------------------------- /specs/data/box-no-materials/box-no-materials.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-no-materials/box-no-materials.obj -------------------------------------------------------------------------------- /specs/data/box-normals/box-normals.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-normals/box-normals.mtl -------------------------------------------------------------------------------- /specs/data/box-normals/box-normals.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-normals/box-normals.obj -------------------------------------------------------------------------------- /specs/data/box-objects-groups-materials-2/box-objects-groups-materials-2.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-objects-groups-materials-2/box-objects-groups-materials-2.mtl -------------------------------------------------------------------------------- /specs/data/box-objects-groups-materials-2/box-objects-groups-materials-2.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-objects-groups-materials-2/box-objects-groups-materials-2.obj -------------------------------------------------------------------------------- /specs/data/box-objects-groups-materials/box-objects-groups-materials.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-objects-groups-materials/box-objects-groups-materials.mtl -------------------------------------------------------------------------------- /specs/data/box-objects-groups-materials/box-objects-groups-materials.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-objects-groups-materials/box-objects-groups-materials.obj -------------------------------------------------------------------------------- /specs/data/box-objects-groups/box-objects-groups.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-objects-groups/box-objects-groups.mtl -------------------------------------------------------------------------------- /specs/data/box-objects-groups/box-objects-groups.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-objects-groups/box-objects-groups.obj -------------------------------------------------------------------------------- /specs/data/box-objects/box-objects.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-objects/box-objects.mtl -------------------------------------------------------------------------------- /specs/data/box-objects/box-objects.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-objects/box-objects.obj -------------------------------------------------------------------------------- /specs/data/box-positions-only/box-positions-only.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-positions-only/box-positions-only.mtl -------------------------------------------------------------------------------- /specs/data/box-positions-only/box-positions-only.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-positions-only/box-positions-only.obj -------------------------------------------------------------------------------- /specs/data/box-resources-in-root/box-resources-in-root.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-resources-in-root/box-resources-in-root.mtl -------------------------------------------------------------------------------- /specs/data/box-resources-in-root/box-resources-in-root.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-resources-in-root/box-resources-in-root.obj -------------------------------------------------------------------------------- /specs/data/box-resources-in-root/cesium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-resources-in-root/cesium.png -------------------------------------------------------------------------------- /specs/data/box-rotated/box-rotated.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-rotated/box-rotated.mtl -------------------------------------------------------------------------------- /specs/data/box-rotated/box-rotated.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-rotated/box-rotated.obj -------------------------------------------------------------------------------- /specs/data/box-shared-textures-2/box-shared-textures-2.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-shared-textures-2/box-shared-textures-2.mtl -------------------------------------------------------------------------------- /specs/data/box-shared-textures-2/box-shared-textures-2.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-shared-textures-2/box-shared-textures-2.obj -------------------------------------------------------------------------------- /specs/data/box-shared-textures-2/cesium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-shared-textures-2/cesium.png -------------------------------------------------------------------------------- /specs/data/box-shared-textures/box-shared-textures.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-shared-textures/box-shared-textures.mtl -------------------------------------------------------------------------------- /specs/data/box-shared-textures/box-shared-textures.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-shared-textures/box-shared-textures.obj -------------------------------------------------------------------------------- /specs/data/box-shared-textures/cesium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-shared-textures/cesium.png -------------------------------------------------------------------------------- /specs/data/box-subdirectories/box-textured.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-subdirectories/box-textured.obj -------------------------------------------------------------------------------- /specs/data/box-subdirectories/materials/box-textured.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-subdirectories/materials/box-textured.mtl -------------------------------------------------------------------------------- /specs/data/box-subdirectories/materials/images/cesium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-subdirectories/materials/images/cesium.png -------------------------------------------------------------------------------- /specs/data/box-texture-options/ambient.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-texture-options/ambient.gif -------------------------------------------------------------------------------- /specs/data/box-texture-options/box-texture-options.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-texture-options/box-texture-options.mtl -------------------------------------------------------------------------------- /specs/data/box-texture-options/box-texture-options.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-texture-options/box-texture-options.obj -------------------------------------------------------------------------------- /specs/data/box-texture-options/bump.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-texture-options/bump.png -------------------------------------------------------------------------------- /specs/data/box-texture-options/diffuse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-texture-options/diffuse.png -------------------------------------------------------------------------------- /specs/data/box-texture-options/emission.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-texture-options/emission.jpg -------------------------------------------------------------------------------- /specs/data/box-texture-options/shininess.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-texture-options/shininess.png -------------------------------------------------------------------------------- /specs/data/box-texture-options/specular.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-texture-options/specular.jpeg -------------------------------------------------------------------------------- /specs/data/box-textured/box-textured.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-textured/box-textured.mtl -------------------------------------------------------------------------------- /specs/data/box-textured/box-textured.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-textured/box-textured.obj -------------------------------------------------------------------------------- /specs/data/box-textured/cesium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-textured/cesium.png -------------------------------------------------------------------------------- /specs/data/box-transparent/box-transparent.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-transparent/box-transparent.mtl -------------------------------------------------------------------------------- /specs/data/box-transparent/box-transparent.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-transparent/box-transparent.obj -------------------------------------------------------------------------------- /specs/data/box-triangles/box-triangles.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-triangles/box-triangles.mtl -------------------------------------------------------------------------------- /specs/data/box-triangles/box-triangles.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-triangles/box-triangles.obj -------------------------------------------------------------------------------- /specs/data/box-uncleaned/box-uncleaned.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-uncleaned/box-uncleaned.mtl -------------------------------------------------------------------------------- /specs/data/box-uncleaned/box-uncleaned.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-uncleaned/box-uncleaned.obj -------------------------------------------------------------------------------- /specs/data/box-unnamed-material/box-unnamed-material.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-unnamed-material/box-unnamed-material.mtl -------------------------------------------------------------------------------- /specs/data/box-unnamed-material/box-unnamed-material.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-unnamed-material/box-unnamed-material.obj -------------------------------------------------------------------------------- /specs/data/box-unnormalized/box-unnormalized.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-unnormalized/box-unnormalized.mtl -------------------------------------------------------------------------------- /specs/data/box-unnormalized/box-unnormalized.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-unnormalized/box-unnormalized.obj -------------------------------------------------------------------------------- /specs/data/box-usemtl/box-usemtl.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-usemtl/box-usemtl.mtl -------------------------------------------------------------------------------- /specs/data/box-usemtl/box-usemtl.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-usemtl/box-usemtl.obj -------------------------------------------------------------------------------- /specs/data/box-uvs/box-uvs.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-uvs/box-uvs.mtl -------------------------------------------------------------------------------- /specs/data/box-uvs/box-uvs.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-uvs/box-uvs.obj -------------------------------------------------------------------------------- /specs/data/box-windows-paths/box-windows-paths.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-windows-paths/box-windows-paths.obj -------------------------------------------------------------------------------- /specs/data/box-windows-paths/materials/box-windows-paths.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-windows-paths/materials/box-windows-paths.mtl -------------------------------------------------------------------------------- /specs/data/box-windows-paths/materials/images/cesium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-windows-paths/materials/images/cesium.png -------------------------------------------------------------------------------- /specs/data/box-with-tabs/box-with-tabs.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-with-tabs/box-with-tabs.mtl -------------------------------------------------------------------------------- /specs/data/box-with-tabs/box-with-tabs.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box-with-tabs/box-with-tabs.obj -------------------------------------------------------------------------------- /specs/data/box/box.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box/box.mtl -------------------------------------------------------------------------------- /specs/data/box/box.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/box/box.obj -------------------------------------------------------------------------------- /specs/data/concave/concave.mtl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/concave/concave.mtl -------------------------------------------------------------------------------- /specs/data/concave/concave.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/data/concave/concave.obj -------------------------------------------------------------------------------- /specs/jasmine.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/jasmine.json -------------------------------------------------------------------------------- /specs/lib/createGltfSpec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/lib/createGltfSpec.js -------------------------------------------------------------------------------- /specs/lib/loadMtlSpec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/lib/loadMtlSpec.js -------------------------------------------------------------------------------- /specs/lib/loadObjSpec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/lib/loadObjSpec.js -------------------------------------------------------------------------------- /specs/lib/loadTextureSpec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/lib/loadTextureSpec.js -------------------------------------------------------------------------------- /specs/lib/obj2gltfSpec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CesiumGS/obj2gltf/HEAD/specs/lib/obj2gltfSpec.js --------------------------------------------------------------------------------