"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Front Camera Issue (mirror image)

Vuforia SDK Version: 4.0 - Description with steps to reproduce:

Have an app built with Vuforia 4.0 + Unity, where there is an original implementation of user-defined surface(markerless augmentation) feature, which can be enabled/disabled with a button in the app.

Also,  in the app the user can switch bet. front and rear camera.

Encountered an issue, when using the markerless feature with front camera.

 

The issue is like:

[Use Front Camera]

  a. Markerless --- Not working properly (expect to see the CG character's face but instead see its  back)

  b. Normal target tracking --- works fine

[Use Rear Camera]

  a. Markerless --- works fine

  b. Normal target tracking --- works fine

 

Do you happen to have an idea on what could be wrong? Or, Can you let me knowwhat kind of info you need for further investigation. 

 

Thank you!

- Development OS (Mac OS X, Windows, Linux): NA - Mobile OS and Version: Android and/or iOS - Mobile Device Manufacturer and Model name: NA - Do the Vuforia Sample Applications show the same behavior?:

Thank you for your reply.

 

>You can experiment with the initial boolean values to see how the background and matrix is flipped.

I have tried like "if (cam.projectionMatrix != projMat){ //set matrix code }" but no success.

 

Hi,

Sorry for the late response.

Here is the result of what I tried.

 

>see if you can get front cam fixed in our ImageTargets sample using the steps in the Nexus 6 thread

Hi,

 

Thank you very much for your code.

Finally, the camera is fixed completely!

 

So, overall, I have done the followings,

1. Attach post #3 code to my Camera which is rendering only the model

-> To fix model's rendering problem