diff --git a/manyfold/root/hook.d/experience_updated/200-to-gltf.rb b/manyfold/root/hook.d/experience_updated/200-to-gltf.rb index 85891d5..1fc87b3 100755 --- a/manyfold/root/hook.d/experience_updated/200-to-gltf.rb +++ b/manyfold/root/hook.d/experience_updated/200-to-gltf.rb @@ -32,7 +32,7 @@ begin logfile = File.join( File.dirname(filename), ".xrforge/log.txt" ) XRForge.log("✅ generating gltf", logfile) gltf_path = ".xrforge/scene.gltf" - system("assimp export #{filename} #{gltf_path}") + system("assimp export #{filename} #{gltf_path} --embed-textures") # tag it! if ! data['keywords'].include?('gltf') diff --git a/manyfold/usr/src/app/app/views/models/show.html.erb b/manyfold/usr/src/app/app/views/models/show.html.erb index e3dae16..c5e7cd9 100644 --- a/manyfold/usr/src/app/app/views/models/show.html.erb +++ b/manyfold/usr/src/app/app/views/models/show.html.erb @@ -200,10 +200,6 @@ This is the glTF JSON URL. - This is an opensource fallback-mechanism for developers/engine's which don't support XR Fragments. - deeplinks. - Instead of https://my.org/foo.glb#chair they can do: - $ curl | jq '.meshes[] | select(.name == "chair")'
$ curl | jq '.meshes[] | select(.name == "chair")'