User Tools

Site Tools


panoramic

Panoramic

The Panoramic provides a touch-enabled, 3-Dimensional panorama using the Away3D 4 library.

A panoramic element showing a panorama of ruins.
Panoramic screenshot

Characteristic

Definition
Type Interactive Display Object
Category Element
Scope Local
Position *
Parents Container
Children Images
Gestures Drag,Scale
Requirements none

Attribute

Type

Description
cubeFace true/false sets the projection geometry
fovMax number sets maximum spread of the field of view
fovMin number sets the minimum spread of the field of view
projectionType text sets the projection geometry

See Also: Display Attributes

<Panoramic projectionType="cube" cubeFace="true" x="500" y="100" width="720" height="405" fovMin="30" mouseChildren="true">

    <Image width="1024" src="panoramic/30kabah_r.jpg"/>
    <Image width="1024" src="panoramic/30kabah_l.jpg"/>
    <Image width="1024" src="panoramic/30kabah_u.jpg"/>
    <Image width="1024" src="panoramic/30kabah_d.jpg"/>
    <Image width="1024" src="panoramic/30kabah_f.jpg"/>
    <Image width="1024" src="panoramic/30kabah_b.jpg"/>

    <TouchContainer nestedTransform="false" gestureEvents="true" mouseChildren="false" disableNativeTransform="true" disableAffineTransform="true">
        <GestureList>
            <Gesture ref="n-drag" gestureOn="true"/>
	    <Gesture ref="n-scale" gestureOn="true"/>
        </GestureList>
    </TouchContainer>
</Panoramic>
panoramic.txt · Last modified: 2015/09/18 16:20 by glass