Forum Discussion
bzor
10 years agoHonored Guest
Stereo Pano Video Playback in Unity 5.1
I'm wondering if anyone has had any luck with playing back stereo pano videos in Unity 5.1.. Here's where I'm at:
I'm guessing you can't use the native VR support as there's no access to each eye texture, so I'd have to disable that and use the old OVR integration. So I would create a sphere for each eye, cull each sphere to each eye camera, then use texture offsets to display each eye's video (using one video with both eyes on it, over/under). Since you can't use MovieTexture on Android for GearVR I'm thinking a .jpg sequence would work best, but then I'll run out of texture memory fast so will have to do something tricky to load/unload frames as it plays.
Seems like a mission! Anyone have an easier or more efficient way of getting stereo panos to play back within Unity? I need to integrate them with other realtime pieces so can't use any pre-packaged players..
thanks!
I'm guessing you can't use the native VR support as there's no access to each eye texture, so I'd have to disable that and use the old OVR integration. So I would create a sphere for each eye, cull each sphere to each eye camera, then use texture offsets to display each eye's video (using one video with both eyes on it, over/under). Since you can't use MovieTexture on Android for GearVR I'm thinking a .jpg sequence would work best, but then I'll run out of texture memory fast so will have to do something tricky to load/unload frames as it plays.
Seems like a mission! Anyone have an easier or more efficient way of getting stereo panos to play back within Unity? I need to integrate them with other realtime pieces so can't use any pre-packaged players..
thanks!
1 Reply
Replies have been turned off for this discussion
- bzorHonored Guestlooks like one hurdle is solved in the new patch release:
VR: Added an option to allow Cameras to render specifically to left/right eye for stereo 3D.
so we can use the native integration, which is great. Now just to figure out the best way to display a 60s stereo video on GearVR..
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 years agoAnonymous