artoolkitx / jsartoolkit5

Javascript ARToolKit v5.x
https://artoolkitx.github.io/jsartoolkit5/examples/
Other
292 stars 69 forks source link

Change Marker Resolution #92

Open Quiteballin opened 4 years ago

Quiteballin commented 4 years ago

I've been playing with AR.js a bit which is built off of this for WebGL. I am currently trying to get a qr code to double as a marker for AR. After much research and fiddling, I realized that the main issue was the resolution of the marker so I updated the code that produces the .patt files to be a resolution of 64x64 rather than 16x16. After plugging this .patt file in like I had been previously it stopped working. Is anyone able to point me to where I need to go to adjust jsartoolkit's ability to receive a higher resolution marker? I've attached the 64x64 version of the Hiro.patt file below so you can see more of what I'm talking about. It won't let me upload the patt file so I will upload it as a txt file.

hiro64.txt

kalwalt commented 4 years ago

@Quiteballin i don't know if this is possible, in the manner you say, i will do a research, can't say more right now. But i am afraid that is not possible....

kalwalt commented 4 years ago

@Quiteballin I think this article will help you: https://stackoverflow.com/questions/48332658/how-to-change-the-default-marker-pattern-size-in-jsartoolkit