Closed AleeeKoi closed 9 months ago
hi @AleeeKoi try to enhance the scaling factor of the model and/or the width, maybe it is not displayed for this reason.
Hi @kalwalt !
I haven't updated this issue yet but I found the solution:
Essentialy the <cavans />
element was created assuming a height = 100%
.
But if the <a-scene />
is inside an unstyled element (like a <div />
), the canvas get a height of 0px
.
Setting the parent element height to something like 100vh
solve it.
BTW thanks for the feedback :)
Hello, I'm trying to implement a simple NFT recognition and show a red box on it. I followed the example but it seem not work. Logging the
markerFound
event I can see that the recognition works fine.This is my piece of code:
and these are the 2 AR lib loaded:
What am I doing wrong? Thanks