Forum Discussion
douglasgimli
10 years agoHonored Guest
360 Spherical Video Playback
Hey guys,
so I dealing the past few days with a new challenge, that is playback a 360 spherical 4k video into Unity to Oculus, here is what I already have tryied, and the results:
General: All tests was made with a sphere with reverve normals into it. The tests was made on a PC with 32GB RAM and with a NVIDIA Geforce GTX 970
Scenario 1:
Imported the video (3840x2160) into Unity and add it as MovieTexture on the sphere. It results on a very low texture quality and very low FPS on Oculus (~10fps). So I converted the video first with FFMPEG2THEORA to OGV file, and it results with a high quality into UNITY but the FPS are still low.
Scenario 2:
Imported the video as PNG Sequence into UNITY (3840x2160) and tryied to change the sphere material to the images in real time with script (Resources.Load), tryied in diferente ways, Unload the last used texture, loading the texture not in the update cycles but only when it reach 24 FPS count, ...
But again, FPS is very low (the same or closer as early ~10fps)
Scenario 3:
I tryied to resize it to 2048x... and made the last two tests again, it a increase in FPS (~15-20fps) but not good enough, and the quality is not perfect anymore.
So my ways in Unity kind of ended, I dont know what to do anymore. Anyone have made something similar in UNITY that can give me some advices?
Thanks a lot, and sorry my terrible english writing skills.
so I dealing the past few days with a new challenge, that is playback a 360 spherical 4k video into Unity to Oculus, here is what I already have tryied, and the results:
General: All tests was made with a sphere with reverve normals into it. The tests was made on a PC with 32GB RAM and with a NVIDIA Geforce GTX 970
Scenario 1:
Imported the video (3840x2160) into Unity and add it as MovieTexture on the sphere. It results on a very low texture quality and very low FPS on Oculus (~10fps). So I converted the video first with FFMPEG2THEORA to OGV file, and it results with a high quality into UNITY but the FPS are still low.
Scenario 2:
Imported the video as PNG Sequence into UNITY (3840x2160) and tryied to change the sphere material to the images in real time with script (Resources.Load), tryied in diferente ways, Unload the last used texture, loading the texture not in the update cycles but only when it reach 24 FPS count, ...
But again, FPS is very low (the same or closer as early ~10fps)
Scenario 3:
I tryied to resize it to 2048x... and made the last two tests again, it a increase in FPS (~15-20fps) but not good enough, and the quality is not perfect anymore.
So my ways in Unity kind of ended, I dont know what to do anymore. Anyone have made something similar in UNITY that can give me some advices?
Thanks a lot, and sorry my terrible english writing skills.
11 Replies
Replies have been turned off for this discussion
- TyetenHonored GuestDoes anybody have this working in 5.2 with 0.7? GE has built a download that works great with my setup and uses Unity as well as AVPro. https://share.oculus.com/app/-ge-gas-turbines
I am trying my best to reverse engineer what GE put together but I am lost. The download that phileday provided is pretty close to what I am seeking but it was built in a previous version of Unity that supported the Oculus differently. Anybody working with the current version of the Oculus SDK and the current version of Unity that would kindly share there insight on making a 360 video run.
Thanks
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
- 11 years ago
- 2 months ago