X3D Model Documentation: Stems.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            <meta name='titlecontent=' Stems.x3d '/>
  6            <meta name='descriptioncontent='Stems for flowers'/>
  7            <meta name='translatorcontent='Kok Keng Ng'/>
  8            <meta name='createdcontent='10 September 2002'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/Stems.x3d '/>
 11            <meta name='subjectcontent='Garden flowers'/>
 12            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 13            <meta name='licensecontent='../../license.html'/>
 14       </head>
<!--

<!-- -->
<!-- to top DEF nodes index: CoordinateAxes, Leave

Index for Viewpoint node: Viewpoint_1
-->
 15       <Scene>
 16            <!-- Computational cost of Extrusion compared to IndexedFaceSet: quicker to download, takes time to calculate polygonal faces and normals during initial loading, equally fast at run time. -->
 17            <!-- Authoring capabilities of Extrusion compared to IndexedFaceSet: can be more complicated to express, but also can provide great detail with much less effort. -->
 18            <!-- Ring -->
 19            <WorldInfo title='Stems.x3d'/>
 20            <Transform scale='5 5 5'>
 21                 <Inline DEF='CoordinateAxes'   url=' "../../X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.x3d" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/CoordinateAxes.x3d" "../../X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.wrl" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/CoordinateAxes.wrl" '/>
 22            </Transform>
 23            <Transform scale='0.5 0.5 0.5'>
 24                 <Shape>
 25                      <Appearance>
 26                           <Material diffuseColor='0.1 1 0.1emissiveColor='0.1 0.1 0.1'/>
 27                      </Appearance>
 28                      <Extrusion beginCap='falseconvex='falsecreaseAngle='1.57crossSection='1.00 0.00 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.00 -1.00 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.00 -0.00 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.00 1.00 0.38 0.92 0.71 0.71 0.92 0.38 1.00 0.00endCap='falsespine='0 0 0 0 14 0 1 17 0 2 18.5 0'/>
 29                 </Shape>
 30                 <Transform>
 31                      <Transform rotation='1 0 0 0.5scale='.2 0.5 .2translation='0 4 0'>
 32 
                         <!-- Shape Leave is a DEF node that has 1 USE node: USE_1 -->
                         <Shape DEF='Leave'>
 33                                <Extrusion beginCap='falseconvex='falsecreaseAngle='1.57crossSection='1.00 0.00 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.00 -1.00 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.00 -0.00 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.00 1.00 0.38 0.92 0.71 0.71 0.92 0.38 1.00 0.00endCap='falsespine='0 0 0 0 10 0'/>
 34                                <Appearance>
 35                                     <Material diffuseColor='0.1 1 0.1emissiveColor='0.1 0.1 0.1'/>
 36                                </Appearance>
 37                           </Shape>
 38                      </Transform>
 39                      <Transform>
 40                           <Transform rotation='1 0 0 -0.5scale='.3 0.5 .3translation='0 6 0'>
 41                                <Shape USE='Leave'/>
 42                           </Transform>
 43                      </Transform>
 44                      <Transform>
 45                           <Transform>
 46                                <Transform rotation='0 1 0 -1.575'>
 47                                     <Transform rotation='0 0 1 -0.3'>
 48                                          <Transform translation='0 9 -5'>
 49                                               <Transform scale='4 0.1 1'>
 50                                                    <Shape>
 51                                                         <Sphere/>
 52                                                    </Shape>
 53                                               </Transform>
 54                                          </Transform>
 55                                     </Transform>
 56                                </Transform>
 57                           </Transform>
 58                      </Transform>
 59                      <Transform/>
 60                 </Transform>
 61                 <Transform/>
 62            </Transform>
 63            <Viewpoint position='0 1 -10'/>
 64       </Scene>
 65  </X3D>
<!--

<!-- -->
<!-- to top DEF nodes index: CoordinateAxes, Leave

Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Appearance, Extrusion, head, Inline, Material, meta, Scene, Shape, Sphere, Transform, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/StemsIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/Stems.x3d -->

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