minor update

This commit is contained in:
Leon van Kammen 2025-11-20 17:35:04 +01:00
parent beb1c14630
commit d501527780
2 changed files with 1 additions and 5 deletions

View file

@ -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')

View file

@ -200,10 +200,6 @@
<i class="bi bi-arrow-90deg-up"></i>&nbsp;
<small>
This is the glTF JSON URL.<br>
This is an opensource fallback-mechanism for developers/engine's which don't support <a href="https://xfragment.org" target="_blank">XR Fragments</a>.
deeplinks.<br><br>
Instead of <b>https://my.org/foo.glb#chair</b> they can do:
<code><pre>$ curl <gltfURL> | jq '.meshes[] | select(.name == "chair")'</pre></code>
</small>
</div>
</div>