AR-js-org / AR.js-threejs

An experimental Typescript module for AR.js
MIT License
30 stars 3 forks source link

Accessing the baseURL results in a 404 #17

Open ma2yama opened 1 week ago

ma2yama commented 1 week ago

https://ar-js-org.github.io/AR.js/three.js/ is specified as the baseURL, but it seems that it is currently inaccessible.

https://github.com/AR-js-org/AR.js-threejs/blob/df206b183ef61f8bf91083f9fdb6488423409876/src/ArToolkitContext.ts#L116

kalwalt commented 1 week ago

Yes it could be, do you find some issues if you provide your own URL?

ma2yama commented 1 week ago

When I implemented it without noticing the line below, I got an error, so I raised an issue. I downloaded the camera_para.dat locally and referenced it, and the marker AR worked.

https://github.com/AR-js-org/AR.js-threejs/blob/df206b183ef61f8bf91083f9fdb6488423409876/example-ts/index.ts#L4