New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

link THREEx.ArToolkitContext.baseURL to local three.js folder #50

Closed
kurai021 opened this Issue Apr 25, 2017 · 4 comments

Comments

Projects
None yet
4 participants
@kurai021

kurai021 commented Apr 25, 2017

why not to change

THREEx.ArToolkitContext.baseURL = 'https://jeromeetienne.github.io/AR.js/three.js/

for local three.js folder in aframe-ar.js? could be better for offline demos.

@jeromeetienne

This comment has been minimized.

Owner

jeromeetienne commented Apr 25, 2017

it was a relative url until very recently. It is ok for the user to set it to whatever value you like. I changed the default recently to the official homepage. as it is more generic and make teaching easier.

i hope it answer your question

Personnally i set it to a local relative url. e.g. in three.js/examples i add

<script>THREEx.ArToolkitContext.baseURL = '../'</script>
@tcwyjno1

This comment has been minimized.

tcwyjno1 commented Apr 26, 2017

@jeromeetienne can u explain how the carema can read the pic with a word hiro in the demos.
How it works?

@jeromeetienne

This comment has been minimized.

Owner

jeromeetienne commented Apr 26, 2017

@BetoRincon

This comment has been minimized.

BetoRincon commented May 25, 2018

@jeromeetienne could you please explain me a little bit more how to link <script>THREEx.ArToolkitContext.baseURL = '../'</script> with local files... Something like @kurai021 said. I dont't undestand :(.

Your work is amazing! 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment