The timelapse extension to SPi-V allows you to use a series of images instead of a single image node for any panoelement/uielement in your scene. There's a configurable minimal time between frames, during which the viewer loads the next frame into video memory in chunks. If more time is needed than the minimal time, the pause will be longer. There's also a configurable 'fade' time between frames, once the next frame has loaded.
A new node type is introduced that only works in the timelapse extension.
The timelapse extension is meant to display a sequence of a 'handful' of images with a configurable pause. It is not meant to display panoramic video, and it is not suitable for large numbers of high resolution panoramas; the extension is limited by system memory.
How to use
Embedding the timelapse viewer in HTML is similar to the normal viewer, see the included HTML file in the download. The timelapse viewer adds a new node-type to the SPi-V engine. This new nodetype needs to be properly namespaced, see the example XML file in the document.
Sample xml document
<?xml version="1.0" ?>
<spv_tl:image id="timelapse_image" src="frame01.jpg" frames="15"
pause="1" fade="0.5" active="true"/>
The timelapse image node (spv_tl:image in this document) can be interchanged with the normal image/layer combination. Note there are no layers 'under' the spv_tl:image node.
- Unique id to reference the object by.
- Relative URL to the first frame of the series.
- Total number of frames to load. Frames must be numbered sequentially, with padding '0' characters (eg frame01.jpg ... frame15.jpg in this example).
- Minimal number of seconds between frames. Depending on image resolution and computer performance, this number may be exceeded.
defaults to 1
- Number of seconds fading from one frame to the next, after the pause between frames. The total time a frame is visible is the pause between frame plus the fade time.
defaults to 1
- Determines if the series is currently 'playing'.
defaults to 'true'
- Fires when all frames have loaded.
- 03-Jan-08: Fixed some memory and downloading issues
- 18-Sep-07: Fixed problems with frame dependent texture scaling and centering in the browser
- 23-Aug-07: Initial beta version