X3D Model Documentation: WorldInfoExampleMetadataSetX3D4.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.0//EN" "https://www.web3d.org/specifications/x3d-4.0.dtd">
  3  <X3D profile='Immersive' version='4.0 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-4.0.xsd'>
  4       <head>
  5            <meta name='titlecontent='WorldInfoExampleMetadataSetX3D4.x3d'/>
  6            <meta name='descriptioncontent='This X3D4 scene contains MetadataSet with a non-null metadata field and multiple value nodes. Also provides a test target for python x3d package development, can x3d.py package generate this valid X3D file?'/>
  7            <meta name='infocontent='Metadata nodes at root level of scene are not allowed in VRML97 or X3D3, but are allowed in X3D4.'/>
  8            <meta name='infocontent='Metadata node as WorldInfo metadata field are not allowed in VRML97, but are allowed in X3D3 or X3D4.'/>
  9            <meta name='referencecontent='WorldInfoExampleMetadataSetX3D3.x3d'/>
 10            <meta name='infocontent='Original file name MetadataSetWithMetadata.x3d'/>
 11            <meta name='creatorcontent='Vincent Marchetti'/>
 12            <meta name='creatorcontent='Don Brutzman'/>
 13            <meta name='createdcontent='16 November 2021'/>
 14            <meta name='modifiedcontent='7 April 2024'/>
 15            <meta name='specificationSectioncontent='X3D encodings, ISO/IEC 19776-1, Part 1: XML encoding, Annex B.6.1 x3d-4.0.xsd'/>
 16            <meta name='specificationUrlcontent='https://web3d.org/specifications/X3Dv4Draft/ISO-IEC19776-1v4.0-WD1/Part01/Schema.html#Version4.0Schema'/>
 17            <meta name='generatorcontent='X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit'/>
 18            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/WorldInfoExampleMetadataSetX3D4.x3d'/>
 19            <meta name='licensecontent='https://creativecommons.org/licenses/by/4.0'/>
 20       </head>
<!--

<!-- to top Index for DEF node: Index for Viewpoint node: Viewpoint_1
-->
 21       <Scene>
 22            <WorldInfo title='WorldInfoExampleMetadataSetX3D4.x3d Example Scene'>
 23                 <!-- WorldInfo single available child field of interest is 'metadata' so contained MetadataSet must have containerField='metadata' which IS NOT default in X3D4 -->
 24                 <MetadataSet containerField='metadataname='birthdayreference='https://www.archives.gov/legislative/features/washington'>
 25                      <!-- Next field is 'metadata' and so contained MetadataString node must have containerField='metadata' which is default in X3D3, but not the default in X3D4 -->
 26                      <MetadataString containerField='metadataname='calendarreference='this node describes nature of parent node, and is not intended as a data valuevalue='"Julian"'/>
 27                      <!-- MetadataSet next fields of interest are 'value' and so contained Metadata nodes must have containerField='value' which is not the default in X3D3 but is the default in X3D4 -->
 28                      <MetadataString name='namevalue='"George" "Washington"'/>
 29                      <MetadataInteger name='dayvalue='11'/>
 30                      <MetadataInteger name='monthvalue='2'/>
 31                      <MetadataInteger name='yearvalue='1731'/>
 32                      <MetadataString name='birthplacevalue='"Popes Creek" "Virginia"'/>
 33                 </MetadataSet>
 34            </WorldInfo>
 35            <Background skyColor='0 0.439216 0.760784'/>
 36            <Viewpoint description='View scene source to see metadata examplesposition='0 0 12'/>
 37            <Anchor description='Load scene index pageparameter='"target=_blank"'   url=' "WorldInfoExampleMetadataSetX3D4.html" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/WorldInfoExampleMetadataSetX3D4.html" '>
 38                 <Shape>
 39                      <Text string='"View scene source" "" "to see" "" "WorldInfoExampleMetadataSetX3D4"'>
 40                           <FontStyle justify='"MIDDLE" "MIDDLE"size='0.9spacing='1.5'/>
 41                      </Text>
 42                      <Appearance>
 43                           <Material diffuseColor='1 0.39216 0.992157'/>
 44                      </Appearance>
 45                 </Shape>
 46            </Anchor>
 47       </Scene>
 48  </X3D>
<!--

<!-- to top Index for DEF node: Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Anchor, Appearance, Background, FontStyle, head, Material, meta, MetadataInteger, MetadataSet, MetadataString, Scene, Shape, Text, Viewpoint, WorldInfo, X3D, accessType and type, XML data types, field types

Event Graph ROUTE Table with 0 ROUTE connections total, showing X3D event-model relationships for this scene.

Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.


Anchor
description='Load scene index page' 
User-interaction hint for this node. 
Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets. Have fun with X3D! 😀

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/WorldInfoExampleMetadataSetX3D4Index.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/WorldInfoExampleMetadataSetX3D4.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. -->