Difference between revisions of "VR Lab"
(→Where to Go For Help)
|Line 27:||Line 27:|
==== Lighthouses ====
==== Lighthouses ====
Each lighthouse has two connectors. Its leftmost port is a power connector, labeled DCIN (short for DC input), that is plugged into the wall. The third port is for a 3.5mm connector that synchronizes the Lighthouses, and should be connected to the same port on the other lighthouse. The other two ports are not
Each lighthouse has two connectors. Its leftmost port is a power connector, labeled DCIN (short for DC input), that is plugged into the wall. The third port is for a 3.5mm connectorthat synchronizes the Lighthouses, and should be connected to the same port on the other lighthouse. The other two ports are not .
==== Headset ====
==== Headset ====
Revision as of 13:48, 7 April 2019
The VR Lab @ CCRMA conducts research in the artful design of virtual, augmented, and mixed reality (VR, AR, XR) for music. The VR Lab supports research projects in the CCRMA community, as well as collaborations with Computer Science, Art and Art History, and Communication at Stanford.
What Plugs Into What (and Why)
In the Reality Room, the speakers are connected to the mixer through XLR (for audio) and Ethernet (for data). Each speaker also has its own power, connected locally. The XLR outputs directly from the subwoofer to each of the speakers. The Ethernet cables are daisy chained, since each speaker has two Ethernet ports. From the subwoofer, the cables extend in two directions: one direction extending to the right of the room and looping back to the control box; the other end extending to the left of the room without returning.
The speakers are numbered from the front of the room --- away from the door --- to the back of the room --- near the door, in a left-right fashion:
- Left front
- Right front
- Left back
- Right back
Additionally, each station is assigned a pair of two (stereo) speakers. The numbering system for this assignment is different from the numbering system of the speakers. The station numbering system goes clockwise from the front of the room:
- Demo station
- Closet station
- Laptop station
- Window station
There are two components to the Vive setup:
Each lighthouse has two connectors. Its leftmost port is a power connector, labeled DCIN (short for DC input), that is plugged into the wall. The third port is for a 3.5mm connector, the "sync cable," that synchronizes the Lighthouses, and should be connected to the same port on the other lighthouse. The other two ports are a button for changing the channel (the two stations should be in A-B mode if connected with the sync cable, and B-C mode if not connected with this cable), and a microUSB slot for occasional firmware updates.
The Vive headset has three connectors: one HDMI, one USB 2.0, and one DC input. These inputs come from the Link Box, which has the same 3 inputs, The HDMI input needs to be plugged into the HDMI output of your computer. The USB input needs to be plugged into the USB output of your computer. The DC input to the link box needs to be plugged into the wall.
Each camera has a single connector: a USB 2.0 that should be connected to computer USB 2.0 ports (USB 3.0 Type A will also work, but Oculus suggests only connecting one of the cameras with it).
The Rift headset has two connectors: one HDMI, one USB 3.0 Type A. Both should be plugged into your computer.
What Hardware Runs What Software
How to Get Set Up
Where to Go For Help
Roll-a-ball is a quick and easy tutorial on the most basic parts of Unity like creating game objects, prefabs, scripting, etc.
The Unity engine manual provides official documentation of most of what Unity can do. It gives information on both what's accessible through the UI and what's accessible through C# scripting.
Unity's forums are also a resource for answering "how do I do X" questions, although you may need to double-check advice there because Unity's APIs may have changed since the time an answer was posted.
ChucK & Chunity
Most--but not all--of the ChucK language is documented on its home page, either under
language specification or
If ChucK is giving you difficulties that aren't answered in the language reference, try searching the ChucK user mailing list with
[your issue] site:lists.cs.princeton.edu/pipermail/chuck-users/
Jack has a website with documentation and tutorials for Chunity, his plugin that allows ChucK code to be invoked within Unity in real time. The tutorials take off where the Roll-a-ball tutorial ends, and walk you through integrating Chunity, communicating between Unity and ChucK, spatialization, and dealing with external audio files.
Ray Wenderlich's tutorial is solid starting point for working with the Vive headsets in Unity.
At the moment, the VR Lab hasn't made much use of other headsets . . . so have fun exploring those uncharted waters! And feel free to add relevant resources as you come across them.