minor update
This commit is contained in:
parent
beb1c14630
commit
d501527780
2 changed files with 1 additions and 5 deletions
|
|
@ -32,7 +32,7 @@ begin
|
||||||
logfile = File.join( File.dirname(filename), ".xrforge/log.txt" )
|
logfile = File.join( File.dirname(filename), ".xrforge/log.txt" )
|
||||||
XRForge.log("✅ generating gltf", logfile)
|
XRForge.log("✅ generating gltf", logfile)
|
||||||
gltf_path = ".xrforge/scene.gltf"
|
gltf_path = ".xrforge/scene.gltf"
|
||||||
system("assimp export #{filename} #{gltf_path}")
|
system("assimp export #{filename} #{gltf_path} --embed-textures")
|
||||||
|
|
||||||
# tag it!
|
# tag it!
|
||||||
if ! data['keywords'].include?('gltf')
|
if ! data['keywords'].include?('gltf')
|
||||||
|
|
|
||||||
|
|
@ -200,10 +200,6 @@
|
||||||
<i class="bi bi-arrow-90deg-up"></i>
|
<i class="bi bi-arrow-90deg-up"></i>
|
||||||
<small>
|
<small>
|
||||||
This is the glTF JSON URL.<br>
|
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>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue