Video Section

The video section is optional and only required if you want to enable ultra smooth rotations by providing a video of the spin.


source

DescriptionDefines the video source
Syntaxstring
Default""
ContextFSI Viewer

The value may be an absolute URL. Otherwise it will be relative to the [viewer]/applications/spin360/videos/ folder.

NOTE: Just provide the file name WITHOUT the file extension.


Please refer to "Creating Videos" below for more information on spin videos.




sceneSet

Descriptiondefines in which Scene Set the video is used
Syntaxstring
Default""
ContextFSI Viewer

If Scene Sets are used, this parameter defines in which Scene Set the video will be used for smooth rotation.


base

Descriptionoptional prefix for all "source" parameters
Syntaxstring
Default""
ContextFSI Viewer

An optional prefix for all "source" parameters.



spinDirection

Descriptiondefines the spin direction of the video
SyntaxString "left" or "right"
Default"left"
ContextFSI Viewer

Defines the spin direction of the video.

You might want to change the spinDirection option if the object spins into the wrong direction when dragging the mouse left or right.



captureFrames

Descriptionnumber of frames to capture from the video
Syntaxinteger
Default120
ContextFSI Viewer

The number of frames to capture from the video.

The more frames you define the smoother the rotation will appear. More frames require more time to capture the videos on startup. 120 frames (default) means 3° per frame.



captureOffsetStart

Descriptionoffset at start of video to use when capturing the video frames
Syntaxfloat (in seconds)
Default0
ContextFSI Viewer

An optional offset at the start of the video to use when capturing the video frames. You might want to define an offset if the video does not start exactly at the position of the first image (0°).



captureOffsetEnd

Descriptionoffset at end of video to use when capturing the video frames
Syntaxfloat (in seconds)
Default0
ContextFSI Viewer

An optional offset at the end of the video to use when capturing the video frames. You might want to define an offset if the video does not start exactly at the position of the first image (0°).



widthCorrectionFactor

Descriptionadjusts width of the video to width of the images on screen
Syntaxfloat
Default1.0
ContextFSI Viewer

An optional factor to adjust the width of the video to the width of the images on screen. You might want to adjust the value if the image do not match the video dimension.



heightCorrectionFactor

Descriptionadjusts height of the video to height of the images on screen
Syntaxfloat
Default1.0
ContextFSI Viewer

An optional factor to adjust the height of the video to the height of the images on screen. You might want to adjust the value if the image do not match the video dimension.



xCorrectionFactor

Descriptionadjusts horizontal position of video to horizontal position of images
Syntaxfloat
Default0.0
ContextFSI Viewer

An optional factor to adjust the horizontal position of the video to the horizontal position of the images on screen. You might want to adjust the value if the image do not match the video position.



yCorrectionFactor

Descriptionadjusts vertical position of video to vertical position of images
Syntaxfloat
Default0.0
ContextFSI Viewer

An optional factor to adjust the vertical position of the video to the vertical position of the images on screen. You might want to adjust the value if the image do not match the video position.



frameOffset

Descriptiondetermines a frame offset if required
Syntaxinteger
Default0
ContextFSI Viewer

Determines a frame offset at the start if required.