Open anuj9196 opened 1 day ago
Hi @anuj9196 i tested your app, the model is loaded and the image can be tracked. I suggest to grow the scale factor int e <a-entity>
starting with 10 10 10 and so on until it will be shown. One other issue it could be wrong the position setting, try with these and let me know.
I tried Image tracking example of trex and few things I should bring to your notice
NOTE: I have copy pasted the trex example code and have uploaded the trex files to my own server.
A working example with latest aframe will be helpful.
@kalwalt I tried reducing the position value
<a-entity
gltf-model='https://tapxreality-media.s3.ap-south-1.amazonaws.com/media/uploads/422909c0-b46d-45e2-9692-8020b8324a58/2024/11/3d/trex/scene.gltf'
scale="5 5 5"
position="0.01 0.01 0.01"
>
</a-entity>
But the model is still not showing. I see there is a PR containing an upgrade of three.js and frame https://github.com/AR-js-org/AR.js/pull/615, if it can help.
Also, after the marker is found and the glTF models take time to load, is there a way to listen to this event and show a spinner unless the model is loaded?
Using AR.js to create a project based on AR. I created an image and uploaded the glTF model to the S3 bucket with the following code
When the image is scanned, the marker is found but the glTF content is not loading.
How to test it?
The application can be tested on https://tpxr.in/lgqd
Here is the image to scan
Additional Details
The browser console has no error, and the glTF file is accessible in other applications and viewers.