Hi all,
I'm using NGUI to create a couple of 2D interface (i.e. non-AR) scenes around my AR application for iOS.
I've set NGUI up to work with the AR Camera, which is working like a charm. Everything is positioned and scaled like it should.
However, when a user is viewing a 2D scene, the camera should be disabled.
But when I just disable the QCAR Behaviour component in the specific scene, the aspect ratio or field of view of the camera seems to change slightly, which leads to an annoying variation in UI assets. Attached are two screenshots, the one with Viewer on screen is with the QCAR Behaviour enabled, the blue one disabled.
I'm currently just covering the camera view with a full-screen-stretched sprite, but this is obviously not the ideal way to do it.
So basically, I'm looking for a way to shut off the camera on the device without disabling the QCAR behaviour.
I thought about posting this in the NGUI forums, but seems to my like the AR Camera is causing the issue, so thought I'd give this a try first.
By the way, it's only noticable when actually deployed to an iOS device, in Unity it looks ok.
Any help would be appreciated.
Attachment | Size |
---|---|
![]() | 44.22 KB |
![]() | 13.73 KB |
Great to hear :)
N