X3D Model Documentation: BaseballBackspin.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='Immersive' 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            <component level='1name='DIS'/>
  6            <meta name='titlecontent='BaseballBackspin.x3d'/>
  7            <meta name='descriptioncontent='MV4472 example demonstration of the effects of backspin on baseball trajectory, communicated via DIS ESPDUs.'/>
  8            <meta name='creatorcontent='Victor Spears and David Back'/>
  9            <meta name='createdcontent='14 December 2001'/>
 10            <meta name='modifiedcontent='9 October 2023'/>
 11            <meta name='referencecontent='BaseballBackspin/run.bat'/>
 12            <meta name='referencecontent='BaseballBackspin/compile.bat'/>
 13            <meta name='referencecontent='BaseballBackspin/compile.out'/>
 14            <meta name='referencecontent='https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter17-Textures/Figure17.04dTextureSphereTest.x3d'/>
 15            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/BaseballBackspin.x3d'/>
 16            <meta name='generatorcontent='X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit'/>
 17            <meta name='licensecontent='../license.html'/>
 18       </head>
<!--

<!-- -->

<!-- to top Index for DEF nodes: ballThing, Catcher, Path, Pitcher

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4
-->
 19       <Scene>
 20            <WorldInfo title='BaseballBackspin.x3d'/>
 21            <Viewpoint description='Texture test on a basic shapeorientation='0 1 0 1.57position='25 1 0'/>
 22            <EspduTransform address='224.0.0.3marking='BaseballnetworkMode='networkReaderport='64200siteID='3writeInterval='0containerField='children'>
 23                 <Transform DEF='ballThing'>
 24                      <Shape>
 25                           <Appearance>
 26                                <ImageTexture   url=' "BaseballBackspin/testimg.jpg " "https://www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/BaseballBackspin/testimg.jpg " '/>
 27                           </Appearance>
 28                           <Sphere radius='.1'/>
 29                      </Shape>
 30                      <Viewpoint description='Top ballorientation='1 0 0 -90position='0 10 -3.5'/>
 31                      <Viewpoint description='Behind ballorientation='0 1 0 -90position='-4 0 0'/>
 32                      <Viewpoint description='Front Ballorientation='0 1 0 90position='4 0 0'/>
 33                 </Transform>
 34            </EspduTransform>
 35            <!-- <Sound maxBack="1000" maxFront="1000" minBack="1" minFront="1"> <AudioClip loop="true" url="sound.wav"/> </Sound> -->
 36            <Transform rotation='0 0 1 1.57translation='8.9 0 0'>
 37                 <Shape DEF='Path'>
 38                      <Cylinder height='17.8radius='0.005'/>
 39                      <Appearance>
 40                           <Material emissiveColor='1 0 0'/>
 41                      </Appearance>
 42                 </Shape>
 43            </Transform>
 44            <Transform rotation='1 0 0 -1.55scale='0.9 0.25 0.7translation='-0.4 -6.8 0'>
 45                 <Shape DEF='Pitcher'>
 46                      <IndexedFaceSet solid='falsecoordIndex='0 1 2 3 -1'>
 47                           <Coordinate point='0 10 0 0 10 10 0 0 10 0 0 0'/>
 48                      </IndexedFaceSet>
 49                      <Appearance>
 50                           <ImageTexture   url=' "BaseballBackspin/pitch.jpg " "https://www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/BaseballBackspin/pitch.jpg " '/>
 51                      </Appearance>
 52                 </Shape>
 53            </Transform>
 54            <Transform rotation='1 0 0 -1.55scale='0.7 0.9 1.3translation='18 -10.75 3'>
 55                 <Shape DEF='Catcher'>
 56                      <IndexedFaceSet coordIndex='0 1 2 3 -1'>
 57                           <Coordinate point='0 10 10 0 10 0 0 0 0 0 0 10'/>
 58                      </IndexedFaceSet>
 59                      <Appearance>
 60                           <ImageTexture   url=' "BaseballBackspin/backstop.jpg " "https://www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/BaseballBackspin/backstop.jpg " '/>
 61                      </Appearance>
 62                 </Shape>
 63            </Transform>
 64            <Transform rotation='0 1 0 -1.5translation='18 -6.8 -20'>
 65                 <Shape>
 66                      <Appearance>
 67                           <ImageTexture   url=' "BaseballBackspin/diamond.jpg " "https://www.web3d.org/x3d/content/examples/Basic/DistributedInteractiveSimulation/BaseballBackspin/diamond.jpg " '/>
 68                      </Appearance>
 69                      <IndexedFaceSet coordIndex='0 1 2 3 -1'>
 70                           <Coordinate point='40 0 40 40 0 0 0 0 0 0 0 40'/>
 71                      </IndexedFaceSet>
 72                 </Shape>
 73            </Transform>
 74            <Background groundAngle='0.1 1.309 1.570796groundColor='0 0 0 0 0.1 0.3 0 0.2 0.5 0 0.3 0.8skyAngle='0.1 0.15 1.309 1.571skyColor='0.4 0.4 0.1 0.4 0.4 0.1 0 0.1 0.3 0 0.2 0.6 0.8 0.8 0.8'   backUrl=' "urn:web3d:media:textures/panoramas/mountains_2_back.jpg" "mountains_2_back.jpg " "https://www.web3d.org/WorkingGroups/media/textures/panoramas/mountains_2_back.jpg " "https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaPanoramas/mountains_2_back.jpg " "http://www.web3dmedia.com/UniversalMedia/textures/panoramas/mountains_2_back.jpg " "http://www.officetowers.com/UniversalMedia/textures/panoramas/mountains_2_back.jpg " "http://geometrek.com/UniversalMedia/textures/panoramas/mountains_2_back.jpg " "http://www.sc.ehu.es/ccwgamoa/UniversalMedia/textures/panoramas/mountains_2_back.jpg " '   bottomUrl=' "urn:web3d:media:textures/panoramas/mountains_2_bottom.jpg" "mountains_2_bottom.jpg " "https://www.web3d.org/WorkingGroups/media/textures/panoramas/mountains_2_bottom.jpg " "https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaPanoramas/mountains_2_bottom.jpg " "http://www.web3dmedia.com/UniversalMedia/textures/panoramas/mountains_2_bottom.jpg " "http://www.officetowers.com/UniversalMedia/textures/panoramas/mountains_2_bottom.jpg " "http://geometrek.com/UniversalMedia/textures/panoramas/mountains_2_bottom.jpg " "http://www.sc.ehu.es/ccwgamoa/UniversalMedia/textures/panoramas/mountains_2_bottom.jpg " '   frontUrl=' "urn:web3d:media:textures/panoramas/mountains_2_front.jpg" "mountains_2_front.jpg " "https://www.web3d.org/WorkingGroups/media/textures/panoramas/mountains_2_front.jpg " "https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaPanoramas/mountains_2_front.jpg " "http://www.web3dmedia.com/UniversalMedia/textures/panoramas/mountains_2_front.jpg " "http://www.officetowers.com/UniversalMedia/textures/panoramas/mountains_2_front.jpg " "http://geometrek.com/UniversalMedia/textures/panoramas/mountains_2_front.jpg " "http://www.sc.ehu.es/ccwgamoa/UniversalMedia/textures/panoramas/mountains_2_front.jpg " '   leftUrl=' "urn:web3d:media:textures/panoramas/mountains_2_left.jpg" "mountains_2_left.jpg " "https://www.web3d.org/WorkingGroups/media/textures/panoramas/mountains_2_left.jpg " "https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaPanoramas/mountains_2_left.jpg " "http://www.web3dmedia.com/UniversalMedia/textures/panoramas/mountains_2_left.jpg " "http://www.officetowers.com/UniversalMedia/textures/panoramas/mountains_2_left.jpg " "http://geometrek.com/UniversalMedia/textures/panoramas/mountains_2_left.jpg " "http://www.sc.ehu.es/ccwgamoa/UniversalMedia/textures/panoramas/mountains_2_left.jpg " '   rightUrl=' "urn:web3d:media:textures/panoramas/mountains_2_right.jpg" "mountains_2_right.jpg " "https://www.web3d.org/WorkingGroups/media/textures/panoramas/mountains_2_right.jpg " "https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaPanoramas/mountains_2_right.jpg " "http://www.web3dmedia.com/UniversalMedia/textures/panoramas/mountains_2_right.jpg " "http://www.officetowers.com/UniversalMedia/textures/panoramas/mountains_2_right.jpg " "http://geometrek.com/UniversalMedia/textures/panoramas/mountains_2_right.jpg " "http://www.sc.ehu.es/ccwgamoa/UniversalMedia/textures/panoramas/mountains_2_right.jpg " '   topUrl=' "urn:web3d:media:textures/panoramas/mountains_2_top.jpg" "mountains_2_top.jpg " "https://www.web3d.org/WorkingGroups/media/textures/panoramas/mountains_2_top.jpg " "https://www.web3d.org/x3d/content/examples/Basic/UniversalMediaPanoramas/mountains_2_top.jpg " "http://www.web3dmedia.com/UniversalMedia/textures/panoramas/mountains_2_top.jpg " "http://www.officetowers.com/UniversalMedia/textures/panoramas/mountains_2_top.jpg " "http://geometrek.com/UniversalMedia/textures/panoramas/mountains_2_top.jpg " "http://www.sc.ehu.es/ccwgamoa/UniversalMedia/textures/panoramas/mountains_2_top.jpg " '/>
 75       </Scene>
 76  </X3D>
<!--

<!-- -->

<!-- to top Index for DEF nodes: ballThing, Catcher, Path, Pitcher

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4
-->
X3D Tooltips element index: Appearance, Background, component, Coordinate, Cylinder, EspduTransform, head, ImageTexture, IndexedFaceSet, Material, meta, Scene, Shape, Sphere, Transform, Viewpoint, WorldInfo, X3D, accessType and type, XML data types, field types

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