ARnft-threejs icon indicating copy to clipboard operation
ARnft-threejs copied to clipboard

Toggling multiple gltf models

Open Najaf93 opened this issue 4 years ago • 3 comments

Hi guys, I am trying to achieve an AR experience for the Restaurant menu, so multiple models involved in this project. How can I achieve toggling multiple models on a single NFT marker? Please guide me to achieve this.

My Suggestion: ARnft is an awesome framework for image tracking compared to other frameworks like AR.js etc. The only thing lack in this project is documentation, if there is proper documentation then I think more people will choose this framework for WebAR. Kudos to the developer @kalwalt . 👍

Najaf93 avatar Jun 29 '21 08:06 Najaf93

Hi @Najaf93 thanks for this. I am adding multi NFT support to jsartoolkitNFT with this PR https://github.com/webarkit/jsartoolkitNFT/pull/102 and then in ARnft. This will load differents NFT marker a in the same Web Worker. In the meantime you can try to develop a function that create multi Worker ( each one that load a single NFT marker). @eddiecarbin already did this. Regarding documentation: yes, It would be awesome but at this period i have limited time, maybe after September i will be more free...

kalwalt avatar Jun 29 '21 09:06 kalwalt

Reading after some time this post. I think it should be better for you methods to remove the mesh or model. There is already an issue https://github.com/webarkit/ARnft-threejs/issues/13 Regarding the multi marker feature see webarkit/ARnft#199

kalwalt avatar Sep 16 '21 21:09 kalwalt

linked issue #9

kalwalt avatar Nov 09 '21 00:11 kalwalt