X3D Model Documentation: MovieTextureAuthoringOptions.x3d

  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='titlecontent='MovieTextureAuthoringOptions.x3d'/>
  6            <meta name='descriptioncontent='Provide examples of helpful MovieTexture usage'/>
  7            <meta name='creatorcontent='Don Brutzman and MV3204 class'/>
  8            <meta name='createdcontent='21 August 2008'/>
  9            <meta name='modifiedcontent='10 June 2021'/>
 10            <meta name='subjectcontent='MovieTexture examples'/>
 11            <meta name='Imagecontent='MovieTextureFigure.png'/>
 12            <meta name='Imagecontent='MovieTextureAuthoringOptions.png'/>
 13            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/MovieTextureAuthoringOptions.x3d'/>
 14            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 15            <meta name='licensecontent='../license.html'/>
 16       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->

<!-- to top Index for DEF nodes: Backdrop, BottomGroupTextureLaunch, BottomGroupTextures, CenterGroupText, FullImageMapping, MovieShapeHighDefinition, MovieShapeStandardDefinition, MovieTouchHighDefinition, MovieTouchStandardDefinition, Quadrilateral320x240, Quadrilateral480x270, TextAppearance, TopGroupTextureLaunch, TopGroupTextures, X3dQuipMovieHighDefinition, X3dQuipMovieStandardDefinition

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4, Viewpoint_5, Viewpoint_6, Viewpoint_7
-->
 17       <Scene>
 18            <WorldInfo title='MovieTextureAuthoringOptions.x3d'/>
 19            <Viewpoint description='MovieTexture authoring optionsposition='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 definitionposition='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='Quadrilateral320x240solid='falsecoordIndex='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='FullImageMappingpoint='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='X3dQuipMovieStandardDefinitiondescription='click to start movie, standard definitionrepeatS='falserepeatT='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 definitionorientation='0 1 0 0.8position='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='MovieTouchStandardDefinitiondescription='click to start movie, standard definition'/>
 43                 < ROUTE  fromNode='MovieTouchStandardDefinition' fromField='touchTime' toNode='X3dQuipMovieStandardDefinition' toField='startTime'/>
 44            </Group>
 45            <Transform DEF='TopGroupTextureLaunchtranslation='6 3 0'>
 46                 <!-- Launch movie into external browser -->
 47                 <Viewpoint description='Image #3 launches movie externally, standard definitionposition='0 0 5'/>
 48                 <Anchor description='Click to launch in external browser, standard definitionparameter='"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='falserepeatT='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='CenterGroupTexttranslation='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 definitionposition='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='Quadrilateral480x270solid='falsecoordIndex='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='X3dQuipMovieHighDefinitiondescription='click to start movie, high definitionrepeatS='falserepeatT='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 definitionorientation='0 1 0 0.8position='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='MovieTouchHighDefinitiondescription='click to start movie, high definition'/>
108                 < ROUTE  fromNode='MovieTouchHighDefinition' fromField='touchTime' toNode='X3dQuipMovieHighDefinition' toField='startTime'/>
109            </Group>
110            <Transform DEF='BottomGroupTextureLaunchtranslation='6 -3 0'>
111                 <!-- Launch movie into external browser -->
112                 <Viewpoint description='Image #6 launches movie externally, high definitionposition='0 0 5'/>
113                 <Anchor description='Click to launch in external browser, high definitionparameter='"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='falserepeatT='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='Backdroptranslation='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 shows event connections.
-->

<!-- to top Index for DEF nodes: Backdrop, BottomGroupTextureLaunch, BottomGroupTextures, CenterGroupText, FullImageMapping, MovieShapeHighDefinition, MovieShapeStandardDefinition, MovieTouchHighDefinition, MovieTouchStandardDefinition, Quadrilateral320x240, Quadrilateral480x270, TextAppearance, TopGroupTextureLaunch, TopGroupTextures, X3dQuipMovieHighDefinition, X3dQuipMovieStandardDefinition

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4, Viewpoint_5, Viewpoint_6, Viewpoint_7
-->
X3D Tooltips element index: Anchor, Appearance, Billboard, Box, Coordinate, FontStyle, Group, head, ImageTexture, IndexedFaceSet, Material, meta, MovieTexture, ROUTE, Scene, Shape, Text, TextureCoordinate, TouchSensor, Transform, Viewpoint, WorldInfo, X3D, accessType and type, XML data types, field types

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

ROUTE
event to
(1)
X3dQuipMovieHighDefinition
MovieTexture
startTime
SFTime

MovieTouchStandardDefinition
TouchSensor
touchTime
SFTime

ROUTE
event to
(1)
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. 
Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets. Have fun with X3D! 😀

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/MovieTextureAuthoringOptionsIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/MovieTextureAuthoringOptions.x3d -->

<!-- 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)
-->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->