Open optimus007 opened 3 years ago
Hi @optimus007 , did you find some solution for this? Is AR explicit intent even supports Blob?
Hi @optimus007 , did you find some solution for this? Is AR explicit intent even supports Blob?
Nope... Only works with real URLs
You could use webXR but it's bare bones and not as stable
@optimus007 ohh, it's a shame, QuickLook on iOS works with Blobs :/ Thanks for answer anyway :)
@optimus007 ohh, it's a shame, QuickLook on iOS works with Blobs :/ Thanks for answer anyway :)
Exactly... Google is pretty bad at staying up to date with the latest/common stuff... Hope khronos group can help out or take over
Gltf format has become quite amazing
Will there ever be support for ObjectURL's and Blobs within ARCore?
SPECIFIC ISSUE ENCOUNTERED
after making a glb or gltf file using three js gltfExporter
and the resulting buffer is converted to blob using
blob = new Blob([buffer], { type: 'application/octet-stream' })
then URL is made using
let blobUrl = URL.createObjectURL(blob)
and finally the intent URL
example
clicking this opens and closes the AR session immediately without any errors
live example : click the
start AR
button on chrome on mobileexport file
for the glb or gltf fileexample AR
to start a ar session from glb url https://codepen.io/optimus007-the-looper/pen/QWMwKbBVERSIONS USED