X3D Model Documentation: ImageMappingExample.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.2//EN" "https://www.web3d.org/specifications/x3d-3.2.dtd">
  3  <X3D profile='Immersive' version='3.2 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.2.xsd'>
  4       <head>
  5            <meta name='titlecontent='ImageMappingExample.x3d'/>
  6            <meta name='descriptioncontent='Demonstrate example image mapping to IndexedFaceSet used in Web3dTimeline.x3d'/>
  7            <meta name='creatorcontent='Don Brutzman'/>
  8            <meta name='createdcontent='4 March 2012'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='referencecontent='Web3dTimeline.x3d'/>
 11            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/ImageMappingExample.x3d'/>
 12            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 13            <meta name='licensecontent='../license.html'/>
 14       </head>
<!--

<!-- -->

<!-- to top Index for DEF nodes: ImageCoordinate, ImageIFS, ImageTransform

Index for Viewpoint node: Viewpoint_1
-->
 15       <Scene>
 16            <WorldInfo title='ImageMappingExample.x3d'/>
 17            <Viewpoint description='Image mapping exampleposition='0 0 1.2'/>
 18            <Background skyColor='0.941176 0.956863 1'/>
 19            <Transform DEF='ImageTransformtranslation='-0.5 -0.1 0'>
 20                 <Shape>
 21                      <Appearance>
 22                           <ImageTexture   url=' "images/vrml97.gif " "https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/images/vrml97.gif " '/>
 23                      </Appearance>
 24                      <IndexedFaceSet DEF='ImageIFSsolid='falsecoordIndex='0 1 2 3 -1'>
 25                           <Coordinate DEF='ImageCoordinatepoint='0 0 0 0 0.18085106382978725 0 1 0.18085106382978725 0 1 0 0'/>
 26                           <TextureCoordinate point='0 0 0 1 1 1 1 0'/>
 27                      </IndexedFaceSet>
 28                 </Shape>
 29            </Transform>
 30       </Scene>
 31  </X3D>
<!--

<!-- -->

<!-- to top Index for DEF nodes: ImageCoordinate, ImageIFS, ImageTransform

Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Appearance, Background, Coordinate, head, ImageTexture, IndexedFaceSet, meta, Scene, Shape, TextureCoordinate, Transform, Viewpoint, WorldInfo, X3D, accessType and type, XML data types, field types

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/ImageMappingExampleIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/ImageMappingExample.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. -->