Ar.js: GET https://jeromeetienne.github.io/AR.js/data/data/camera_para.dat 0 ()

Created on 11 Jun 2018  路  3Comments  路  Source: jeromeetienne/AR.js




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


What is the current behavior?
I tried to 'Augmented Reality in 10 Lines of HTML'. But this is not working.

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

  1. npm ar.js to my local or see a codepen
    https://github.com/jeromeetienne/AR.js#augmented-reality-for-the-web-in-less-than-10-lines-of-html
  2. run(local, codepen)
  3. Don't show 3d model on marker and show error message
    a
  4. But it's working.
    https://jeromeetienne.github.io/AR.js/three.js/examples/mobile-performance.html



What is the expected behavior?
Show 3d model on marker

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
mac os 10.13.4
chrome 67.0.3396.79

Most helpful comment

Try to define in

I think it's a problem with your error in GET camera-para.dat ;)

All 3 comments

Try to define in

I think it's a problem with your error in GET camera-para.dat ;)

It's working fine. You are best. Thanks @Danh-134

Try to define in

I think it's a problem with your error in GET camera-para.dat ;)

Also you can do it offline by copying the node_modules folder to wwwroot (im using asp.net core)
and adding:

<script src="~/js/aframe.min.js"></script> 
<script src="~/js/aframe-ar.js"></script>

<script>
    THREEx.ArToolkitContext.baseURL = '/node_modules/ar.js/three.js/'
</script>
Was this page helpful?
0 / 5 - 0 ratings

Related issues

Samsy picture Samsy  路  5Comments

pvnr0082t picture pvnr0082t  路  4Comments

kurai021 picture kurai021  路  6Comments

shigenobu-kondo picture shigenobu-kondo  路  6Comments

filippomarra picture filippomarra  路  5Comments