![]() ![]() You should now see video output from your camera in the Compositor window. Open the Compositor Window from the Spectator View -> Compositor menu.Open the SpectatorViewCompositor scene in your application's Unity project (with your build platform set to Universal Windows Platform).Once you have the HolographicCamera app installed and running and SpectatorView support enabled in your application and running, you are ready to run the compositor. The final file path should be "User Folders\Pictures\CalibrationData.json".įollow the instructions at SpectatorView.Setup to include SpectatorView support in your application. On the File Explorer tab in the device portal, upload the calibration file to the Pictures library.Use the Device Portal to connect to the HoloLens attached to your camera.Follow the steps here to produce a calibration file for your camera and HoloLens.However, filming won't be possible if a CalibrationData.json file isn't placed in the HoloLens 2's Pictures folder. If you uploaded a CalibrationData.json file when calibrating the video camera rig, you can skip the steps below. Deploy the application to the HoloLens 2 attached to your video camera.Ĭalibration data stores the camera intrinsic information for your video camera, and the camera extrinsic information that represents the positional and rotational offset between the HoloLens and the video camera.Change the Solution Configuration to Release and the Architecture to ARM.Open the generated Visual Studio solution.Build the Unity project to create a Visual Studio solution.Open the Build window and switch platforms to the Universal Windows Platform.Open the src/HolographicCamera.Unity project in Unity.If you have gone through the calibration process described here, you may already have this application installed on your device. This app also transmits the position and rotation of the camera to the Unity compositor. This app reads calibration data stored on the HoloLens and communicates that data to the Unity compositor. The HolographicCamera app is a UWP application that runs on the HoloLens 2 attached to your video camera. Build and install the HolographicCamera App Setup Install SDK and native Unity pluginsįollow the instructions documented in SpectatorView.Native for installing the correct SDK for your capture card, and for building and installing the Unity plugins used by the SpectatorView compositor. Output pictures and videos will be saved to "My Documents\HologramCapture". The Compositor window can save still images or videos to disk, and outputs video to the output port of supported capture cards. This uses the calibration data from the calibration app to render the holograms at the correct size and orientation. Spectator View renders holograms from Unity over a color frame from a capture card. It actually contains four streams that are each 1920x1080: The unprocessed video camera feed, the hologram feed on a black background, the hologram alpha channel feed and the composited hologram feed. Note: A 4K Quadrant Frame does not generate a 4K recording of the hologram composited feed. 1920x1080 (1080p) Hologram Composited Frame, 4K Quadrant Frame (see note)īlackmagic Design Intensity Pro 4K, Elgato HD 60S ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |