This video demonstrates how to create an Augmented Reality app in which an image target triggers video content with alpha channel (transparency).
Links:
• Download the source files for this workshop (web.ics.purdue...)
• Download the image Target: Jackson Pollock, Echo No. 25, 1951 (www.moma.org/c...)
• Software tools: developer.vufo... (Vuforia), unity.com/ (Unity), www.adobe.com/P... (Adobe Premiere).
• More information on Unity and alpha channels (docs.unity3d.c...)
• More information on Vuforia image targets: Optimizing Target Detection and Tracking Stability (library.vufori...)
00:00:00 Introduction
00:01:22 Setup Vuforia Image Target Database
00:06:24 Import Vuforia Package for Unity 2019.3 from the Unity store
00:08:21 Setup AR camera
00:10:46 Insert image target and apply image from Vuforia Image Target Database
00:13:01 Test out image target with sample 3D game object
00:15:36 Create a Quad and scale proportionally to video footage
00:17:43 Import video footage with alpha channel, transcode and apply to Quad
(See this segment on how to prepare video footage with an alpha channel in Premiere specifically for Unity • AR Video with alpha ch... )
00:20:38 Create a new material for the video playback on the Quad, two-sided and with transparency settings
00:21:55 Set properties of the Quad's videoplayer component and create an audio source component - connect audio source and videoplayer components
00:25:15 Apply VideoController.cs and VideoTrackableEventHandler.cs scripts - these were slightly modified from Vuforia's Core Samples example scenes (the core Samples package can be downloaded from the Unity store as well)
00:28:31 Setup a second image target with a 4:3 video
00:36:39 Add a still image with transparency to the second image target
Негізгі бет Augmented Reality - video with alpha channel: Unity 2019.3, Vuforia 9
Пікірлер