- Sort Posts
- 4 replies
- Last post
Border around Video Playback video
Border around Video Playback video
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.
Border around Video Playback video
hi Alessandro
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.
Regards
Leon
Thanks Alessandro
I wasn't sure if it was possible to place the video playback on top of another object the 2d Tv image in this case
regards
Leon