AR (Augmented reality)
< https://yingyueue.myblog.arts.ac.uk/2 0 2 2 /1 1 /2 4 /ar- %ef%bc%8 8 augmented-reality%ef%bc%8 9 />?
By Yingyue Feng :< https://yingyueue.myblog.arts.ac.uk/author/20028722/?
24th November 2022?:< https://yingyueue.myblog.arts.ac.uk/2022/11/24/ar %ef%bc%88augmented-reality%ef%bc%89/>

I originally planned to do AR video effects, and let the virtual cat sit on the real computer. Although I made another video for various reasons, I still haven’t changed my mind. I still want to make an AR video. This needs to be done in unity, and it happens that my mentor Herman Ho knows how to do this and he helped me a lot in this regard. Even better, it didn’t take a lot of time since my animation was already done and I had good models.
But there are still some problems. The biggest problem is that the hair I made in Maya’s X Gen cannot be imported into unity. And the time I have now is completely incapable of reusing new software to make new hairs. So after I import my model and animation into unity. I’m going to directly modify the overall texture of the cat. I am very grateful to my tutor Herman who recommended the tutorial for the glowing crystal material. It saved me from having to make hair for the 3rd time. I made a cat with glowing crystal material according to an online tutorial. I love pretty and bright colors, and the previous video Cat on the Cloud used very bright colors as well. I’m very happy with the effect.
https://www.youtube.com/embed/1GPvI-5bOSk?feature=oembed
The next step is to use the AR technology in unity to make the virtual cat I made appear in the real world.
First of all, to make the virtual cat appear in the real world requires an anchor point, that is to say, a picture. After the computer camera recognizes this picture, the model will be generated on that picture. Of course, the picture needs to be converted a little bit, which is very simple, and the Vuforia Developer website can do it. As long as you find this website and register, upload the picture as the anchor point, and download it after the conversion is completed. I’m very happy with the effect.
The image I chose was the black and white still frame from the keyframe capture in After Effects. The color is not selected for the convenience of computer recognition. The whole picture should not be too complicated. If there are too many colors, it will be difficult to recognize. Especially because of my own preference, I rendered the whole photo colorful and too gorgeous. If the machine is used It will be very difficult to identify, and it is easy to make mistakes after the color changes due to different light effects from the outside world. It just happened that I grabbed a black and white still frame in After Effects for the convenience of class. So I used this image that was still framed as an anchor. It is also convenient to display after printing as a postcard.
https://developer.vuforia.com/

The next step is to determine the location of the anchor point. Just place the image as the anchor point below the model in unity. Then the model will be generated at the position of the corresponding picture in the real world, and the animation will be played according to the camera lens. The lens of the camera can be moved, and the model will also display animations in various directions according to the positioned anchor points. It works really well, just a little tweaking of the size and position of the model relative to the model, and the cat is sitting on the computer, which is very interesting. I managed to make the virtual cat appear in the real world.
https://www.youtube.com/embed/TmYJhvqGKRw?feature=oembed