jeromeetienne / AR.js

Efficient Augmented Reality for the Web - 60fps on mobile!
MIT License
15.79k stars 2.22k forks source link

3d model will not upload #389

Closed lajunex0 closed 6 years ago

lajunex0 commented 6 years ago

Do you want to request a feature or report a bug?

What is the current behavior? Hi there! So I am trying to use Ar.js, but whenever I add a 3d model to the scene my project stops working. Can anyone help?

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior? I want the model to appear when the hiro marker is used. Thanks! Also, none of the demos in the ar.js folder work for me?

If this is a feature request, what is motivation or use case for changing the behavior?

Please mention other relevant information such as the browser version, Operating System and Device Name

nicolocarpignoli commented 6 years ago

hi @lajunex0 , try using a remote url for your src attribute. for example: src="https://raw.githubusercontent.com/nicolocarpignoli/nicolocarpignoli.github.io/master/ar-playground/models/CesiumMan.gltf">

lajunex0 commented 6 years ago

Thanks!! It works now.

Best, LaJune