Did you follow this tutorial?
Can you see the equirectangular view of the THETA V stream in QuickTime? (as a test). If not, try and switch the USB adapter you are using (try borrow one from a friend). Before you do that, try the normal test of rebooting your Mac with the THETA V plugged in.
If you can see the THETA V in QuickTime, then close QuickTime and then make sure Unity can detect your THETA V. Something like this:
using UnityEngine;
using System.Collections;
public class testScriptBasic : MonoBehaviour {
void Start () {
WebCamDevice[] devices = WebCamTexture.devices;
Debug.Log("Number of web cams connected: " + devices.Length);
Renderer rend = this.GetComponentInChildren<Renderer>();
WebCamTexture mycam = new WebCamTexture();
string camName = devices[1].name;
Debug.Log("The webcam name is " + camName);
mycam.deviceName = camName;
rend.material.mainTexture = mycam;
mycam.Play();
}
}
The script above assumes you have an integrated webcam and the THETA V is the second webcam on your system. Adjust the device array devices[1]
to devices[2]
or devices[0]
until you find the THETA V.
Unity should find the webcame “RICOH THETA V”
If you get this far, you should be able to display the THETA V on the exterior of a sphere. The tutorial shows a simple test to get the interior view.
Note that this only works on a Mac right now.