Log in or register to post comments

Animating a Bottle / Can Label

November 13, 2017 - 2:51pm #1

I'm new to Vuforia and pretty new to Unity in general.  I'm trying to make an app that will recognize a label on a can or bottle, then animate only part of the label as seamlessly as possible (i.e. the "19 Crimes" wine app which animates the character on the label flawlessly).   What is the simplest way to do this using Vuforia?

I can get the device to recognize the cylindrical label, but the best I could come up with was making that trigger a new cylinder w/ the video wrapping around that cylinder.  The cylinder size doesn't match up well with the actual can, and the transparent video is showing up as all black, not transparent.  I figure part of this is  a Unity issue, but I'd like to know what Vuforia sees as the cleanest approach to making this happen.  I think this will be a very common use case - animating the label on a can or bottle.  Thanks!

Animating a Bottle / Can Label

December 1, 2017 - 2:36pm #3

Hello overman,

Apologies for the delayed response.

It sounds like the approach you're taking to play a video on a cylinder target is the correct way to go about it. Are you using the Unity video player to play your video? Have you been able to resolve the all black issue you're facing?

Our Core Samples have an example of rendering a video using the Unity Video Player over an Image Target. Have you had a chance to look at that at all?

Thanks,

-Vuforia Support

Animating a Bottle / Can Label

November 13, 2017 - 5:55pm #2

If someone from Vuforia were to make an official "Core Sample" template for this type of recognition & action using a typical soda can as the base model, I think you'd see a lot people like myself licensing Vuforia for client apps.   If someone could make it as easy as replacing the target image with one from a custom database, and replacing the template video with a custom video, plus the scripts to automatically play the video upon recognition, perhaps with a few options such as looping, you'd have a dummy proof template for what I see as one of the most common marketing and advertising AR applications, making a can "come to life", and a potentially lucrative template for Vuforia.

Log in or register to post comments