diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 835d010b51..fca198e284 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -45,6 +45,9 @@ The following people have contributed to iTowns. * [Diginove](http://diginove.com/index.php/fr/diginove-lexpertise-en-traitement-dimages/): * [Michel Benet](https://github.com/mbenevole) +* [Futurmap] (https://www.futurmap.com/) + * [Alexandre Calmels] (http://github.com/exareyn) + The following organizations are the current maintainers of iTowns: * IGN (http://www.ign.fr) * Ciril Group (https://www.cirilgroup.com/) diff --git a/examples/config.json b/examples/config.json index 61406adb4d..02db85e80f 100644 --- a/examples/config.json +++ b/examples/config.json @@ -82,7 +82,8 @@ "misc_custom_controls": "Define custom controls", "misc_custom_label": "Custom label popup", "misc_camera_traveling": "Camera traveling", - "misc_instancing": "3D objects instancing" + "misc_instancing": "3D objects instancing", + "misc_gltf_model": "Load gltf/glb model" }, "Widgets": { diff --git a/examples/misc_gltf_model.html b/examples/misc_gltf_model.html new file mode 100644 index 0000000000..c1c9ade4d3 --- /dev/null +++ b/examples/misc_gltf_model.html @@ -0,0 +1,96 @@ + + + + Display a Glb/Gltf object with iTowns + + + + + + + + + +
+ + + + diff --git a/test/functional/misc_gltf_model.js b/test/functional/misc_gltf_model.js new file mode 100644 index 0000000000..71252c0f5e --- /dev/null +++ b/test/functional/misc_gltf_model.js @@ -0,0 +1,15 @@ +const assert = require('assert'); + +describe('misc_glft_model', function _() { + let result; + before(async () => { + result = await loadExample( + 'examples/misc_gltf_model', + this.fullTitle(), + ); + }); + + it('should run', async () => { + assert.ok(result); + }); +});