Hello, i want make AR coloring app on wikitude and i need HELP.
I have image ->
I added to .wto editor and setup in unity to image tracking. When i launch app, my app rendered somethink like that ->
How i can get Textrure2D from this region? Only in this Rect?
This forum post seems like it might help for your question:
If you still have open questions or need details, please provide details on the open points.
Thx and greetings
i cant undestand how i can get image from specific region? I can dispaly all image from camera, but i need image from spefici place
I attached a script that shows how to calculate the UVs that match the corners of the target in the WikitudeCamera.CameraTexture. It will then display a quad with these UVs to the screen, to demonstrate the method. This was tested with the Image Tracking - Simple scene on an Android device. You can just attach the script to a GameObject in that scene to try it out.
Hopefully this is enough to get you started.
thanks, very interested. It should be work on ios?
I didn't get a change to try it out on iOS, but it should work the same there. If you encounter any problems, please let us know.