<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
<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 '>
<head>
<meta name='titlecontent='MovieTextureAuthoringOptions.x3d'/>
<meta name='descriptioncontent='Provide examples of helpful MovieTexture usage'/>
<meta name='creatorcontent='Don Brutzman and MV3204 class'/>
<meta name='createdcontent='21 August 2008'/>
<meta name='modifiedcontent='10 June 2021'/>
<meta name='subjectcontent='MovieTexture examples'/>
<meta name='Imagecontent='MovieTextureFigure.png'/>
<meta name='Imagecontent='MovieTextureAuthoringOptions.png'/>
<meta name='identifiercontent=' https://X3dGraphics.com/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/MovieTextureAuthoringOptions.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!-- -->
<Scene>
<WorldInfo title='MovieTextureAuthoringOptions.x3d'/>
<Viewpoint description='MovieTexture authoring optionsposition='0 0 18'/>
<Group DEF='TopGroupTextures'>
<!-- First row: standard definition -->
<Transform translation='-6 3 0'>
<!-- Flat-surface movie, with fixed position and orientation -->
<Viewpoint description='Movie #1, standard definitionposition='0 0 5'/>
<Shape DEF='MovieShapeStandardDefinition'>
<IndexedFaceSet DEF='Quadrilateral320x240solid='falsecoordIndex='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='FullImageMappingpoint='0 0 1 0 1 1 0 1'/>
</IndexedFaceSet>
<Appearance> </Appearance>
</Shape>
</Transform>
<Transform translation='0 3 0'>
<!-- movie under a Billboard to always face user -->
<Viewpoint description='Billboarded movie #2 offset view location, standard definitionorientation='0 1 0 0.8position='4 0 4'/>
<Billboard axisOfRotation='0 0 0'> </Billboard>
</Transform>
<!-- ROUTE information for MovieTouchStandardDefinition node:  [from touchTime to X3dQuipMovieStandardDefinition.startTime ] -->
<TouchSensor DEF='MovieTouchStandardDefinitiondescription='click to start movie, standard definition'/>
<ROUTE fromNode='MovieTouchStandardDefinitionfromField='touchTimetoNode='X3dQuipMovieStandardDefinitiontoField='startTime'/>
</Group>
<Transform DEF='TopGroupTextureLaunchtranslation='6 3 0'> </Transform>
<Transform DEF='CenterGroupTexttranslation='0 0.25 0'>
<!-- Text descriptions for user -->
<Transform translation='-6 0 0'>
<Shape>
<Text string='"Select to run" "MovieTexture"'>
<FontStyle justify='"MIDDLE" "MIDDLE"'/>
</Text>
<Appearance DEF='TextAppearance'>
<Material diffuseColor='0 0.7 0.7'/>
</Appearance>
</Shape>
</Transform>
<Billboard axisOfRotation='0 0 0'>
<Shape>
<Text string='"Billboarded" "MovieTexture"'>
<FontStyle justify='"MIDDLE" "MIDDLE"'/>
</Text>
<Appearance USE='TextAppearance'/>
</Shape>
</Billboard>
<Transform translation='6 0 0'>
<Shape>
<Text string='"Select image" "to launch"'>
<FontStyle justify='"MIDDLE" "MIDDLE"'/>
</Text>
<Appearance USE='TextAppearance'/>
</Shape>
</Transform>
</Transform>
<Group DEF='BottomGroupTextures'>
<!-- Third row: high definition -->
<Transform translation='-6 -3 0'>
<Viewpoint description='Movie #4, high definitionposition='0 0 5'/>
<Shape DEF='MovieShapeHighDefinition'>
<IndexedFaceSet DEF='Quadrilateral480x270solid='falsecoordIndex='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>
<Transform translation='0 -3 0'>
<!-- movie under a Billboard to always face user -->
<Viewpoint description='Billboarded movie #5 offset view location, high definitionorientation='0 1 0 0.8position='4 0 4'/>
<Billboard axisOfRotation='0 0 0'>
<Shape USE='MovieShapeHighDefinition'/>
</Billboard>
</Transform>
<!-- ROUTE information for MovieTouchHighDefinition node:  [from touchTime to X3dQuipMovieHighDefinition.startTime ] -->
<TouchSensor DEF='MovieTouchHighDefinitiondescription='click to start movie, high definition'/>
<ROUTE fromNode='MovieTouchHighDefinitionfromField='touchTimetoNode='X3dQuipMovieHighDefinitiontoField='startTime'/>
</Group>
<Transform DEF='BottomGroupTextureLaunchtranslation='6 -3 0'> </Transform>
<Transform DEF='Backdroptranslation='0 0 -3'>
<Shape>
<Box size='22 16 0.5'/>
<Appearance>
<Material diffuseColor='0 0.501961 0.27451'/>
</Appearance>
</Shape>
</Transform>
</Scene>
</X3D>
<!--

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

Index for Viewpoint images : Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4, Viewpoint_5, Viewpoint_6, Viewpoint_7
-->

<!-- Color key: <X3dNode DEF='idName' field='value'/> matches <XmlElement DEF='idName' attribute='value'/>
(Light blue background: behavior node) (Grey background: inserted documentation) (Magenta background: X3D Extensibility)
-->

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