Links

Examples

There are multiple examples in the HoloPlay/Examples folder that can help you get started with the HoloPlay Unity Plugin.

Example 1 - Framing Content with HoloPlay

This example showcases Dez Island, a 3D scene with two cute hamsters chilling on a tropical island. It's a good example of how to position a HoloPlay Capture volume in a scene with content at varying levels of depth.

Example 2 - Placing Text

This example shows how to properly place 2D text in the Looking Glass, due to the specific nature of text it's recommended to place it close to or on the focal plane for the best clarity. Clicking the Play button will animate the text forward and backward along the Z axis.

Example 3 - Post Processing

This example shows how to use the Looking Glass Post Processing Volume to add depth of field. Enabling and disabling this component in the scene will show how depth of field can improve the look of objects that are far away from the focal plane. For more information, please see the Post Processing page.

Example 4 - 3D Cursor

This example shows how to use the 3D Cursor prefab. This will allow you to interact with the scene in 3D space in a natural way. This example also uses our orbit controls script to allow you to rotate the scene. For more information, please see the 3D Cursor page.

Example 5 - Hardware Buttons

Note: This example only works on Gen 1 Looking Glass Systems as of version 1.5
This Example shows how to get events from the hardware buttons on Gen1 Looking Glass systems.

Example 6 - Multiplexing

In version 1.5 multiplexing is deprecated.
The multiplexing demo shows how to use multiple Looking Glass systems at the same time. It is currently unsupported as of unity version 1.5.

Example 7 - Dual Monitor Applications & Extended UI

These examples show how to get started with dual monitor applications. These can be useful when you want to have a 2D UI on your normal monitor that can control a 3D scene on the Looking Glass. the first example shows the Looking Glass application, while the second shows the flat 2D UI that you can use to control the position of the cube. For more information on Dual Monitor applications see the following page: Dual Monitor Applications.

Example 8 - HoloPlay Recorder

This example will show how to use the HoloPlay Recorder script to capture your scene as a quilt video. This will allow you to share it with others and import it into HoloPlay Studio. For more information on using the HoloPlay Recorder see the HoloPlayRecorder.cs page or the Quilt Video & Audio playback page