Playing a video in FOVE HMD (Unity 3D)
Hi Guys,
I'm new to FOVE development using unity 3D SDK. I'm looking forward to play a video in my scene. Any help in this regard would be appreciated.
Thanks in advance :)
Best Regards,
Junaid Ali
-
Hi Junaid,
FOVE does not have a native video player (yet). However, you can use other video players such as Vive Video to play your videos on FOVE. Check out the following links on how to do so:
- https://support.getfove.com/hc/en-us/articles/115000773133-Does-FOVE-have-a-native-VR-video-player-
- https://support.getfove.com/hc/en-us/articles/115002784747-How-do-I-sign-up-for-SteamVR-Beta-
- https://support.getfove.com/hc/en-us/articles/115001486414-How-do-I-redeem-my-Steam-Beta-Key-
Cheers!
-
Hi Junaid,
Yes, I think it is possible to do it via Unity. The software has a WebCam Texture class. Perhaps, the following stuff could help you get started:
1. Detect the webcam:
var devices : WebCamDevice[] = WebCamTexture.devices; for( var i = 0 ; i < devices.length ; i++ ) Debug.Log(devices[i].name);
2. Connect to webcam and convert live video to texture - and play:
WebCamTexture webcam = WebCamTexture("NameOfDevice"); renderer.material.mainTexture = webcam; webcam.Play();
Please sign in to leave a comment.
Comments
3 comments