<
Viewpoint description='
MovieTexture authoring options'
position='
0 0 18'
retainUserOffsets='
false'/>
<!-- Flat surface movie, fixed position and orientation -->
<
Group DEF='
TopGroup'>
<
Transform translation='
-6 3 0'>
<
Viewpoint description='
Movie #1, standard aspect ratio'
position='
0 0 5'
retainUserOffsets='
false'/>
<
Shape DEF='
MovieShapeStandardDefinition'>
<
IndexedFaceSet DEF='
Quadrilateral320x240'
solid='
false'
coordIndex='
0 1 2 3'>
<
Coordinate point='
-1.6 -1.2 0 1.6 -1.2 0 1.6 1.2 0 -1.6 1.2 0'/>
<
TextureCoordinate DEF='
FullImageMapping'
point='
0 0 1 0 1 1 0 1'/>
</
IndexedFaceSet>
<
Appearance>
</
Appearance>
</
Shape>
</
Transform>
<!-- movie under a Billboard to always face user -->
<
Transform translation='
0 3 0'>
<
Viewpoint description='
Billboarded movie #2 offset view location, standard aspect ratio'
orientation='
0 1 0 0.8'
position='
4 0 4'
retainUserOffsets='
false'/>
<
Billboard axisOfRotation='
0 0 0'>
</
Billboard>
</
Transform>
<!--
MovieTouchStandardDefinition ROUTE:
[
from touchTime to X3dQuipMovieStandardDefinition.startTime
]
-->
<
TouchSensor DEF='
MovieTouchStandardDefinition'
description='
click to start'/>
<
ROUTE fromNode='
MovieTouchStandardDefinition'
fromField='
touchTime'
toNode='
X3dQuipMovieStandardDefinition'
toField='
startTime'/>
</
Group>
<!-- Launch movie into external browser -->
<
Transform translation='
6 3 0'>
</
Transform>
<
Group DEF='
CenterGroup'>
<
Transform translation='
-6 0 0'>
<
Shape>
<
Text string='
"Click to run"'
solid='
true'>
<FontStyle justify='"MIDDLE" "MIDDLE"'/>
</
Text>
</
Shape>
</
Transform>
<
Billboard axisOfRotation='
0 0 0'>
<
Shape>
<
Text string='
Billboarded'
solid='
true'>
<FontStyle justify='"MIDDLE" "MIDDLE"'/>
</
Text>
</
Shape>
</
Billboard>
<
Transform translation='
6 0 0'>
<
Shape>
<
Text string='
"Click image" "to launch"'
solid='
true'>
<FontStyle justify='"MIDDLE" "MIDDLE"'/>
</
Text>
</
Shape>
</
Transform>
</
Group>
<
Group DEF='
BottomGroup'>
<
Transform translation='
-6 -3 0'>
<
Viewpoint description='
Movie #4, standard aspect ratio'
position='
0 0 5'
retainUserOffsets='
false'/>
<
Shape DEF='
MovieShapeHighDefinition'>
<
IndexedFaceSet DEF='
Quadrilateral480x270'
solid='
false'
coordIndex='
0 1 2 3'>
<
Coordinate point='
-2.4 -1.35 0 2.4 -1.35 0 2.4 1.35 0 -2.4 1.35 0'/>
<
TextureCoordinate USE='
FullImageMapping'/>
</
IndexedFaceSet>
<
Appearance>
</
Appearance>
</
Shape>
</
Transform>
<!-- movie under a Billboard to always face user -->
<
Transform translation='
0 -3 0'>
<
Viewpoint description='
Billboarded movie #5 offset view location, standard aspect ratio'
orientation='
0 1 0 0.8'
position='
4 0 4'
retainUserOffsets='
false'/>
<
Billboard axisOfRotation='
0 0 0'>
</
Billboard>
</
Transform>
<!--
MovieTouchHighDefinition ROUTE:
[
from touchTime to X3dQuipMovieHighDefinition.startTime
]
-->
<
TouchSensor DEF='
MovieTouchHighDefinition'
description='
click to start'/>
<
ROUTE fromNode='
MovieTouchHighDefinition'
fromField='
touchTime'
toNode='
X3dQuipMovieHighDefinition'
toField='
startTime'/>
</
Group>
<!-- Launch movie into external browser -->
<
Transform translation='
6 -3 0'>
</
Transform>
<
Transform DEF='
Backdrop'
translation='
0 0 -3'>
<
Shape>
<
Box size='
22 16 0.5'/>
<
Appearance>
<Material diffuseColor='0 0.501961 0.27451'/>
</
Appearance>
</
Shape>
</
Transform>