I would like to superimpose the video playback content over a 2d image of a television
Is this possible ?
an you specify better what you mean by "2d image of a television" ?
Is it a specific known image, just displayed on a TV screen/monitor (instead of printing it on paper) ?
or do you mean something else?
Apologies for the vague description. I would like to display a video overlay on a trackable image as per the default vuforia sample application. When the augmentation is "triggered" however I would like to show the video playing with a custom 2d image of a television surrounding the actual video overlay.
I would like to create the effect that the overlay video is playing on this 2D television set image which will only be shown after the trackable has been detected.
The printed trackalable does not contain the TV border image itself.
So, If I understand correctly, you simply want to render the 2D border of a TV monitor around the video;
this can be achieved by attaching a 3D model (which could be a simply rectangle / plane) with a texture applied on it, and the put the video on top of it so that it appears in the center of the TV frame.
This can be accomplished certainly, using the same technique shown in the Image targets sample (just, instead of rendering a 3D teapot, you would need to use a TV frame as augmentation object).
Nothing special about it; also, the augmentation will be shown when the target is detected, as this behaviour is ensured by the DefaltTrackableEventHandler which you can attach to the Image Target in Unity.
See the Image Targets sample and the VideoPlayback sample.
Are you sure you want to delete this message?
Are you sure you want to delete this conversation?