1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
|
3 | <X3D profile='Immersive' version='3.3' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.3.xsd'> |
4 | <head> |
5 | <meta name='title' content='MovieTextureAuthoringOptions.x3d'/> |
6 | <meta name='description' content='Provide examples of helpful MovieTexture usage'/> |
7 | <meta name='creator' content='Don Brutzman and MV3204 class'/> |
8 | <meta name='created' content='21 August 2008'/> |
9 | <meta name='modified' content='10 June 2021'/> |
10 | <meta name='subject' content='MovieTexture examples'/> |
11 | <meta name='Image' content='MovieTextureFigure.png'/> |
12 | <meta name='Image' content='MovieTextureAuthoringOptions.png'/> |
13 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/MovieTextureAuthoringOptions.x3d'/> |
14 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
15 | <meta name='license' content='../license.html'/> |
16 | </head> |
17 | <Scene> |
18 | <WorldInfo title='MovieTextureAuthoringOptions.x3d'/> |
19 | <Viewpoint description='MovieTexture authoring options' position='0 0 18'/> |
20 | <Group DEF='TopGroupTextures'> |
21 | <!-- First row: standard definition --> |
22 | <Transform translation='-6 3 0'> |
23 | <!-- Flat-surface movie, with fixed position and orientation --> |
24 | <Viewpoint description='Movie #1, standard definition' position='0 0 5'/> |
25 |
<!-- Shape
MovieShapeStandardDefinition is a DEF node that has 1 USE node: USE_1 -->
<Shape DEF='MovieShapeStandardDefinition'> |
26 |
<!-- IndexedFaceSet
Quadrilateral320x240 is a DEF node that has 1 USE node: USE_1 -->
<IndexedFaceSet DEF='Quadrilateral320x240' solid='false' coordIndex='0 1 2 3'> |
27 | <Coordinate point='-1.6 -1.2 0 1.6 -1.2 0 1.6 1.2 0 -1.6 1.2 0'/> |
28 |
<!-- TextureCoordinate
FullImageMapping is a DEF node that has 1 USE node: USE_1 --> <TextureCoordinate DEF='FullImageMapping' point='0 0 1 0 1 1 0 1'/> |
29 | </IndexedFaceSet> |
30 | <Appearance> |
31 |
<!-- ROUTE information for X3dQuipMovieStandardDefinition node:
[from MovieTouchStandardDefinition.touchTime to startTime
]
-->
<MovieTexture DEF='X3dQuipMovieStandardDefinition' description='click to start movie, standard definition' repeatS='false' repeatT='false' url=' "X3dQuipBrutzmanStandardDefinitionMPEG1.mpg" "X3dQuipBrutzmanStandardDefinitionMPEG1.mov" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/X3dQuipBrutzmanStandardDefinitionMPEG1.mpg" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/X3dQuipBrutzmanStandardDefinitionMPEG1.mov" '/> |
32 | </Appearance> |
33 | </Shape> |
34 | </Transform> |
35 | <Transform translation='0 3 0'> |
36 | <!-- movie under a Billboard to always face user --> |
37 | <Viewpoint description='Billboarded movie #2 offset view location, standard definition' orientation='0 1 0 0.8' position='4 0 4'/> |
38 | <Billboard axisOfRotation='0 0 0'> |
39 | <Shape USE='MovieShapeStandardDefinition'/> |
40 | </Billboard> |
41 | </Transform> |
42 |
<!-- ROUTE information for MovieTouchStandardDefinition node:
[from touchTime to X3dQuipMovieStandardDefinition.startTime
]
-->
<TouchSensor DEF='MovieTouchStandardDefinition' description='click to start movie, standard definition'/> |
43 | < ROUTE fromNode='MovieTouchStandardDefinition' fromField='touchTime' toNode='X3dQuipMovieStandardDefinition' toField='startTime'/> |
44 | </Group> |
45 | <Transform DEF='TopGroupTextureLaunch' translation='6 3 0'> |
46 | <!-- Launch movie into external browser --> |
47 | <Viewpoint description='Image #3 launches movie externally, standard definition' position='0 0 5'/> |
48 | <Anchor description='Click to launch in external browser, standard definition' parameter='"target=_blank"' url=' "X3dQuipBrutzmanStandardDefinitionMPEG1.mpg" "X3dQuipBrutzmanStandardDefinitionMPEG1.mov" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/X3dQuipBrutzmanStandardDefinitionMPEG1.mpg" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/X3dQuipBrutzmanStandardDefinitionMPEG1.mov" '> |
49 | <Shape> |
50 | <IndexedFaceSet USE='Quadrilateral320x240'/> |
51 | <Appearance> |
52 | <ImageTexture repeatS='false' repeatT='false' url=' "X3dQuipBrutzmanStandardDefinitionInitialFrame.png " "X3dQuipBrutzmanStandardDefinitionInitialFrame.gif " "X3dQuipBrutzmanStandardDefinitionInitialFrame.jpg " "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/X3dQuipBrutzmanStandardDefinitionInitialFrame.png " "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/X3dQuipBrutzmanStandardDefinitionInitialFrame.gif " "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/X3dQuipBrutzmanStandardDefinitionInitialFrame.jpg " '/> |
53 | </Appearance> |
54 | </Shape> |
55 | </Anchor> |
56 | </Transform> |
57 | <Transform DEF='CenterGroupText' translation='0 0.25 0'> |
58 | <!-- Text descriptions for user --> |
59 | <Transform translation='-6 0 0'> |
60 | <Shape> |
61 | <Text string='"Select to run" "MovieTexture"'> |
62 | <FontStyle justify='"MIDDLE" "MIDDLE"'/> |
63 | </Text> |
64 |
<!-- Appearance
TextAppearance is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
<Appearance DEF='TextAppearance'> |
65 | <Material diffuseColor='0 0.7 0.7'/> |
66 | </Appearance> |
67 | </Shape> |
68 | </Transform> |
69 | <Billboard axisOfRotation='0 0 0'> |
70 | <Shape> |
71 | <Text string='"Billboarded" "MovieTexture"'> |
72 | <FontStyle justify='"MIDDLE" "MIDDLE"'/> |
73 | </Text> |
74 | <Appearance USE='TextAppearance'/> |
75 | </Shape> |
76 | </Billboard> |
77 | <Transform translation='6 0 0'> |
78 | <Shape> |
79 | <Text string='"Select image" "to launch"'> |
80 | <FontStyle justify='"MIDDLE" "MIDDLE"'/> |
81 | </Text> |
82 | <Appearance USE='TextAppearance'/> |
83 | </Shape> |
84 | </Transform> |
85 | </Transform> |
86 | <Group DEF='BottomGroupTextures'> |
87 | <!-- Third row: high definition --> |
88 | <Transform translation='-6 -3 0'> |
89 | <Viewpoint description='Movie #4, high definition' position='0 0 5'/> |
90 |
<!-- Shape
MovieShapeHighDefinition is a DEF node that has 1 USE node: USE_1 -->
<Shape DEF='MovieShapeHighDefinition'> |
91 |
<!-- IndexedFaceSet
Quadrilateral480x270 is a DEF node that has 1 USE node: USE_1 -->
<IndexedFaceSet DEF='Quadrilateral480x270' solid='false' coordIndex='0 1 2 3'> |
92 | <Coordinate point='-2.4 -1.35 0 2.4 -1.35 0 2.4 1.35 0 -2.4 1.35 0'/> |
93 | <TextureCoordinate USE='FullImageMapping'/> |
94 | </IndexedFaceSet> |
95 | <Appearance> |
96 |
<!-- ROUTE information for X3dQuipMovieHighDefinition node:
[from MovieTouchHighDefinition.touchTime to startTime
]
-->
<MovieTexture DEF='X3dQuipMovieHighDefinition' description='click to start movie, high definition' repeatS='false' repeatT='false' url=' "X3dQuipBrutzmanH264MPEG1Mash.mpg" "X3dQuipBrutzmanH264.mov" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/X3dQuipBrutzmanH264MPEG1Mash.mpg" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/X3dQuipBrutzmanH264.mov" '/> |
97 | </Appearance> |
98 | </Shape> |
99 | </Transform> |
100 | <Transform translation='0 -3 0'> |
101 | <!-- movie under a Billboard to always face user --> |
102 | <Viewpoint description='Billboarded movie #5 offset view location, high definition' orientation='0 1 0 0.8' position='4 0 4'/> |
103 | <Billboard axisOfRotation='0 0 0'> |
104 | <Shape USE='MovieShapeHighDefinition'/> |
105 | </Billboard> |
106 | </Transform> |
107 |
<!-- ROUTE information for MovieTouchHighDefinition node:
[from touchTime to X3dQuipMovieHighDefinition.startTime
]
-->
<TouchSensor DEF='MovieTouchHighDefinition' description='click to start movie, high definition'/> |
108 | < ROUTE fromNode='MovieTouchHighDefinition' fromField='touchTime' toNode='X3dQuipMovieHighDefinition' toField='startTime'/> |
109 | </Group> |
110 | <Transform DEF='BottomGroupTextureLaunch' translation='6 -3 0'> |
111 | <!-- Launch movie into external browser --> |
112 | <Viewpoint description='Image #6 launches movie externally, high definition' position='0 0 5'/> |
113 | <Anchor description='Click to launch in external browser, high definition' parameter='"target=_blank"' url=' "X3dQuipBrutzmanH264MPEG1Mash.mpg" "X3dQuipBrutzmanH264.mov" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/X3dQuipBrutzmanH264MPEG1Mash.mpg" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/X3dQuipBrutzmanH264.mov" '> |
114 | <Shape> |
115 | <IndexedFaceSet USE='Quadrilateral480x270'/> |
116 | <Appearance> |
117 | <ImageTexture repeatS='false' repeatT='false' url=' "X3dQuipBrutzmanH264InitialFrame.png " "X3dQuipBrutzmanH264InitialFrame.gif " "X3dQuipBrutzmanH264InitialFrame.jpg " "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/X3dQuipBrutzmanH264InitialFrame.png " "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/X3dQuipBrutzmanH264InitialFrame.gif " "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/X3dQuipBrutzmanH264InitialFrame.jpg " '/> |
118 | </Appearance> |
119 | </Shape> |
120 | </Anchor> |
121 | </Transform> |
122 | <Transform DEF='Backdrop' translation='0 0 -3'> |
123 | <Shape> |
124 | <Box size='22 16 0.5'/> |
125 | <Appearance> |
126 | <Material diffuseColor='0 0.501961 0.27451'/> |
127 | </Appearance> |
128 | </Shape> |
129 | </Transform> |
130 | </Scene> |
131 | </X3D> |
Event Graph ROUTE Table entries with 2 ROUTE connections total, showing X3D event-model relationships for this scene.
Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.
MovieTouchHighDefinition
TouchSensor touchTime SFTime |
X3dQuipMovieHighDefinition
MovieTexture startTime SFTime |
MovieTouchStandardDefinition
TouchSensor touchTime SFTime |
X3dQuipMovieStandardDefinition
MovieTexture startTime SFTime |
Anchor |
description='Click to launch in external browser, standard definition' User-interaction hint for this node. |
Anchor |
description='Click to launch in external browser, high definition' User-interaction hint for this node. |
<!--
Color legend: X3D terminology
<X3dNode
DEF='idName' field='value'/>
matches XML terminology
<XmlElement
DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement)
(Grey background inside box: inserted documentation)
(Magenta background: X3D Extensibility)
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->