AR-js-org / AR.js

Image tracking, Location Based AR, Marker tracking. All on the Web.
MIT License
5.46k stars 928 forks source link

VR mode iOS #424

Open exagyde opened 2 years ago

exagyde commented 2 years ago

Hi everyone,

I'm trying to make my app work in VR mode on my iPhone but that's the look I have when I enable this mode (with iOS 15.4.1) : vr_test (The main problem is that the camera screen doesn't split in two screen)

That is my scene in my body tag

<a-scene
        vr-mode-ui="enabled: true;"
        renderer="logarithmicDepthBuffer: true;"
        embedded
        arjs="trackingMethod: best; sourceType: webcam; debugUIEnabled: false;">
    <div class="arjs-loader">
        <h1>Loading...</h1>
    </div>
    ...
    <a-entity camera></a-entity>
</a-scene>

Do you have any idea why I have this render in VR mode and what is the solution for that ?

Thanks 😄

exagyde commented 2 years ago

@kalwalt @nicolocarpignoli please do you have any solution for that ?

kalwalt commented 2 years ago

@exagyde sorry but i have any iOS to test. Maybe other devs had before? I hope that someone else can help you.

exagyde commented 2 years ago

No problem @kalwalt, I hope to find a solution too because I have nothing yet, even a simple working demo 😢 Do you have test this AR VR mode with an Android device ? Just to know if this problem is only for iOS or not