Let's create a directory, Rollingball
, to contain our application-specific code and assets. Right-click on the Project pane and choose Folder under Create from the context menu. Rename the new folder Rollingball
. Create a subfolder, Rollingball/Scenes
, in a similar way.
From the menu bar, select New Scene under File and then select Save Scene as… under File. Save the scene as Rollingball/Scenes/Rollingball.unity
.
By default, our newly created scene contains just a camera—that is, the virtual world's camera, not a capture device. We are going to add three more objects in the following way:
From the menu bar, navigate to Game Object | Create Other | Quad. An object called Quad should appear in the Hierarchy pane. Rename Quad to
VideoRenderer
. This object is going to represent the live video feed.From the menu bar, navigate to Game Object | Create Other | Directional Light. An object, Directional light, should appear in the Hierarchy pane. It will illuminate...