How can I render different meshes for different markers in the same scene
yes, it is fully supported :) look at the independant marker examples. i hope this helps.
https://github.com/jeromeetienne/AR.js/blob/master/three.js/examples/measure-it.html
https://github.com/jeromeetienne/AR.js/blob/master/aframe/examples/multiple-independant-markers.html
Is it possible to DRY the process of adding newer markers?
Because if I have like 50 markers, that will take me a while
sorry i dont understand. what 'to dry' means ?
Don't Repeat Yourself (DRY) . I mean... Is there a non repetitive method for implementing multiple markers in the js file.Maybe by making the marker an object with new prototype functions... like abstract classes in Java
sorry i dont understand what you want to do
I want to use about 70 markers and I wanted to know if there's a less repetitive way of making these markerroot variables as compared to writing markerroot1, markerroot2 .... markerroot(n)
Hello @jeromeetienne, the second link is not working (https://github.com/jeromeetienne/AR.js/blob/master/aframe/examples/multiple-independant-markers.html), is there another example for this implementation? Thanks!
https://github.com/jeromeetienne/AR.js/blob/master/aframe/examples/multiple-independent-markers.html
here is the correct link
On Fri, Nov 10, 2017 at 8:04 AM Angelo Salvador notifications@github.com
wrote:
Hello @jeromeetienne https://github.com/jeromeetienne, the second link
is not working (
https://github.com/jeromeetienne/AR.js/blob/master/aframe/examples/multiple-independant-markers.html),
is there another example for this implementation? Thanks!—
You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub
https://github.com/jeromeetienne/AR.js/issues/76#issuecomment-343402450,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPcIpERb8aORpKn6cj_QCPb7AtwYuymks5s1AOGgaJpZM4NoTaY
.
@jeromeetienne, SLR. Thanks for this one!
hello
i am using ar.js and have defined my own markers like this:
var markerControls = new THREEx.ArMarkerControls(arToolkitContext, camera, {
type: 'pattern',
patternUrl: './my_marker.patt',
changeMatrixMode: 'cameraTransformMatrix'
})
but i want to define more markers and have different augmented reality for each one. can you help me out?? thank you
@ghonche-yqr
this link: https://github.com/jeromeetienne/AR.js/blob/master/three.js/examples/measure-it.html that jerome commented has your answer
@traysiMay
thank you very much. my issue solved.
@hipstermojo were you able to figure it out? Im also trying to use multiple markers and there's no way im manually feeding all the markers. Im thinking of using some algorithm to get the name of image and pass it to jsar but not sure if that's possible.