X3D Model Documentation: Figure18_21TextureCoordinatePizzaSlice.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2 
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
  3  <X3D profile='Interchange' version='3.0 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.xsd'>
  4       <head>
  5            <meta name='titlecontent='Figure18_21TextureCoordinatePizzaSlice.x3d'/>
  6            <meta name='creatorcontent='Figure 18.21, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland'/>
  7            <meta name='referencecontent='http://www.wiley.com/legacy/compbooks/vrml2sbk/ch18/18fig21.htm'/>
  8            <meta name='translatorcontent='Don Brutzman'/>
  9            <meta name='createdcontent='4 September 2000'/>
 10            <meta name='modifiedcontent='20 October 2019'/>
 11            <meta name='descriptioncontent='A pizza and slice. Also see Figure 18.20b and Figure 18.21 for comparison.'/>
 12            <meta name='referencecontent='Figure18_20bTextureCoordinatePizzaSlice.x3d'/>
 13            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter18TextureMapping/Figure18_21TextureCoordinatePizzaSlice.x3d'/>
 14            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 15            <meta name='licensecontent='../../license.html'/>
 16       </head>
<!--

<!-- to top Index for DEF node: Index for Viewpoint node: Viewpoint_1
-->
 17       <Scene>
 18            <WorldInfo title='Figure18_21TextureCoordinatePizzaSlice.x3d'/>
 19            <Viewpoint description='Hey pepperoniorientation='1 0 0 -0.758position='0 2 2'/>
 20            <Shape>
 21                 <Appearance>
 22                      <ImageTexture   url=' "pizza.jpg " "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter18TextureMapping/pizza.jpg " '/>
 23                 </Appearance>
 24                 <IndexedFaceSet solid='falsecoordIndex='0 1 2 3 4 5 -1 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35texCoordIndex='0 28 29 30 31 32 -1 0 32 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28'>
 25                      <Coordinate point='0.50 0 0.50 0.88 0 1.42 1.06 0 1.33 1.21 0 1.21 1.33 0 1.06 1.42 0 0.88 0.00 0 0.00 0.92 0 0.38 0.98 0 0.20 1.00 0 0.00 0.98 0 -0.20 0.92 0 -0.38 0.83 0 -0.56 0.71 0 -0.71 0.56 0 -0.83 0.38 0 -0.92 0.20 0 -0.98 0.00 0 -1.00 -0.20 0 -0.98 -0.38 0 -0.92 -0.56 0 -0.83 -0.71 0 -0.71 -0.83 0 -0.56 -0.92 0 -0.38 -0.98 0 -0.20 -1.00 0 0.00 -0.98 0 0.20 -0.92 0 0.38 -0.83 0 0.56 -0.71 0 0.71 -0.56 0 0.83 -0.38 0 0.92 -0.20 0 0.98 0.00 0 1.00 0.20 0 0.98 0.38 0 0.92'/>
 26                      <TextureCoordinate point='0.50 0.50 0.96 0.41 0.97 0.50 0.96 0.59 0.93 0.68 0.89 0.76 0.83 0.83 0.76 0.89 0.68 0.93 0.59 0.96 0.50 0.97 0.41 0.96 0.32 0.93 0.24 0.89 0.17 0.83 0.11 0.76 0.07 0.68 0.04 0.59 0.03 0.50 0.04 0.41 0.07 0.32 0.11 0.24 0.17 0.17 0.24 0.11 0.32 0.07 0.41 0.04 0.50 0.03 0.59 0.04 0.68 0.07 0.76 0.11 0.83 0.17 0.89 0.24 0.93 0.32'/>
 27                 </IndexedFaceSet>
 28            </Shape>
 29       </Scene>
 30  </X3D>
<!--

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

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter18TextureMapping/Figure18_21TextureCoordinatePizzaSliceIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter18TextureMapping/Figure18_21TextureCoordinatePizzaSlice.x3d -->

<!-- Color legend: X3D terminology <X3dNode field='value'/> matches XML terminology <XmlElement 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. -->