ActionScript3 implementation of an Omnidirectional (360°) Video Player, based on the Away3D 4.0.0 beta framework.
A sphere surrounds the user and is textured with frames from an equirectangular video. The main classes for loading the panoramic video onto a sphere and navigating in it are visuall.ovp.PanoSphere and visuall.ovp.PanoVideoNav, respectively.
- Download the Away3D sources and include them to your project's build path.
- Follow these instructions to install the latest SDK (with AIR 3.2) in Flash Builder 4.6
- When using Away3D 4.0.0 beta, make sure you include "-swf-version=15" in the compiler arguments.
- For this project, you also want to indicate to the compiler whether you want the debug config or not: "-define CONFIG::DEBUG true".
We are on twitter: @visuallinteract.
Follow us for all news related to our work on 360° videos and virtual tours. Visu'all Interactive is the R&D branch of Concept Immo Global, a Paris-based startup.
- Handle window resizing and full screen
- Show wireframe sphere for debug (no use showing a trident)?
- Use StageVideo? -> to be done in away3d.materials.utils.SimpleVideoPlayer
- Make changes to away3d.textures.VideoTexture.update() in order to improve performance: do not copy bitmapdata if _currentTime - _lastTime >= _frameInterval. This is useful when the framerate of the video is lower than the framerate specified for the flash stage.
This code is distributed under a GPL v3.0 License. See http://www.gnu.org/licenses/gpl.html for more information. Copyright © Concept Immo Global, 2012.