ReprojectionUpdater.ReprojectionMethod = HolographicDepthReprojectionMethod.AutoPlanar
#Capturing reality add camera update#
To update the reprojection method at runtime, access the WindowsMixedRealityReprojectionUpdater like so: var reprojectionUpdater = () This method will be based on an app's provided focus point data via SetFocusPointForFrame. If an app is unable to submit enough depth data for either of those options to be usable, planar reprojection is provided as a fallback. If depth appears to be properly submitted and instability is still present, try autoplanar stabilization, which uses the depth buffer to calculate a stabilization plane.
If holograms still appear unstable, try ensuring all objects have properly submitted their depth to the depth buffer. The default recommendation is to use depth reprojection, as all parts of the scene will be independently stabilized based on their distance from the user. Sets the initial method for HoloLens 2 reprojection. This will ensure that holograms, such as hand meshes, remain visibly aligned in the video output.
This HolographicCamera provides view matrices corresponding to the photo/video camera location, and it provides projection matrices using the photo/video camera field of view. If enabled, the platform will provide an additional HolographicCamera to the app when a mixed reality capture photo or video is taken. With this setting on HoloLens 2, you can enable hologram alignment in your mixed reality captures. Render mixed reality capture from the photo/video camera This profile provides the following options: The Windows Mixed Reality Camera Settings also supports a profile. Configuring the Windows Mixed Reality camera settings provider When using the Microsoft Mixed Reality Toolkit default profiles, the Windows Mixed Reality camera settings provider will already be enabled and configured.