webarkit / ARnft

A small javascript library for WebAR with NFT
GNU Lesser General Public License v3.0
219 stars 54 forks source link

Display error when multiple objects appear in the camera at the same time #207

Open clearisoft opened 2 years ago

clearisoft commented 2 years ago

When multiple objects appear in the camera at the same time, the glb models does not appear in the corresponding position, but is fixed in the middle of the two pictures

kalwalt commented 2 years ago

Hi @clearisoft haven't tried yet, but probably i think the addModel https://github.com/webarkit/ARnft-threejs/blob/82edc0f2c9a1f04da395d80b45d5812ee7b16804/src/markermedia/NFTaddTJS.ts#L56-L84 need to be improved.

kalwalt commented 2 years ago

i think that this issue is related to https://github.com/webarkit/ARnft/issues/254 ?