Log in or register to post comments

I want use two(or more)AR camera in one project(Active ARCamera Change!)

December 28, 2017 - 5:48pm #1

Hello.

 

First of all I question.

- Vuforia version: 7.0(Use Free)

- Unity version: 2017.3.0f(Use Personal)

 

Now Let's get Main Question.

 

Actually my intention

1. Run application.

2. when my smart phone distinguish target -> maker is apperence.

3. second ARcamera is active and than trace maker. Main ARcamera is unactive.

4. When target is Out of camera. Main ARcamera is active second ARcamera is unactive.

 

So I make two AR Camera at the one Scene.

And than play button.....

oh no all objects are gone!

this is error list.(attach picture - multiARCamera.JPG)

-----------------------------------------------------------

It's not possible to have two ARCameras at the same time

UnityEngine.Debug:LogError(Object)

Vuforia.ARController:RegisterCamera(VuforiaBehaviour)

Vuforia.<>c__DisplayClass11_0:<Register>b__0(VuforiaBehaviour)

System.Delegate:DynamicInvoke(Object[])

Vuforia.DelegateHelper:InvokeDelegate(Delegate, Object[])

Vuforia.DelegateHelper:InvokeWithExceptionHandling(Action`1, VuforiaBehaviour)

Vuforia.VuforiaBehaviour:Awake()

-----------------------------------------------------------

 

 

Thank you.

 

 

 

 

 

AttachmentSize
Image icon multiARCamera.JPG62.86 KB

I want use two(or more)AR camera in one project(Active ARCamera Change!)

May 18, 2020 - 4:45am #5

Hi @audrey,

Could you please provide us more deails on your use-case for 3 AR Cameras in the same scene? Why is 1 not enough?

Thank you.

Vuforia Engine Support

I want use two(or more)AR camera in one project(Active ARCamera Change!)

May 18, 2020 - 3:12am #4

Hi 

Did you manage to implement multiple ARCamera in single scene?

I want to use 3 ARCamera kept in 3 places too do single target image recognization using single app.

I want use two(or more)AR camera in one project(Active ARCamera Change!)

January 4, 2018 - 7:29pm #3

milkerz says

You will have to think of another way of doing this that requires only one ARCamera

 

Do you have another way or sample? 

I want use two(or more)AR camera in one project(Active ARCamera Change!)

January 4, 2018 - 1:25pm #2

You can only have one ARCamera.

However, you can have multiple regular unity cameras. In your single ARCamera, have it look for any and all targets that you need. Turn off the objects you don't care about -- you can logically change things based on whether you see a target or not.

You will have to think of another way of doing this that requires only one ARCamera

Log in or register to post comments