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?:
Front Camera Issue (mirror image)
Tried the following quick fix (also mentioned in another post) but still observing some issues on a specific device.
1. The Fix
Front Camera Issue (mirror image)
Hi,
Thank you very much for your information.
I have tired your fix, but the problem was not solved completely.
Front Camera Issue (mirror image)
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.
Front Camera Issue (mirror image)
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
Front Camera Issue (mirror image)
Hi,
Here are the screenshots of different values.
Thank you.
Front Camera Issue (mirror image)
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