My mistake.
I updated the previous post.
Best regards,
Alexandru
Hi,
Could you please describe what your use case is and how exactly you're trying to achieve that. Perhaps we can find a different solution or workaround.
Thank you,
Alexandru
Hi,
We are using Aruco codes to spawn objects in our scene while the Wikitude tracking is happening. Our first approach after seeing that the wikitudeCamera.CameraTexture wasn't working was to use the WebCamTexture, but that made Wikitude to stop working at all. Then we discovered that the Enable Camera Rendering needed to be enabled and that a Camera had to be attached to the MiraARCamera object for the wikitudeCamera.CameraTexture to work. After doing that, we saw that the format of the Texture2D being recorded by the wikitudeCamera.CameraTexture wasn't allowing us to use Texture2D.GetPixels32() so we used the code from the top of this page posted by Alexandru to get the right format and that made it possible for everything to work together. The only thing that some other people have mentioned on this thread and that I mentioned in my previous post is that the Background Camera is constantly rendering, causing unnecessary workload. My question is if there would be any other way of accessing the camera feed other than the one mentioned or if not, if there would be a way of enabling/disabling the Wikitude tracking altogether so that users choose when to scan Aruco codes and while that is happening, tracking is disabled to lower the workload.
Thank you,
Aniol
m0j1 42420
1 person has this problem