X3D Model Documentation: TestContainerFieldValues.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='TestContainerFieldValues.x3d'/>
  6            <meta name='descriptioncontent='Test default and improperly overridden containerField values. Original test looked at LOD, current version checks Collision node.'/>
  7            <meta name='creatorcontent='Don Brutzman'/>
  8            <meta name='createdcontent='23 May 2003'/>
  9            <meta name='translatedcontent='10 September 2003'/>
 10            <meta name='modifiedcontent='20 October 2019'/>
 11            <meta name='referencecontent='TestContainerFieldValues.original.wrl'/>
 12            <meta name='Imagecontent='TestContainerFieldValues.png'/>
 13            <meta name='infocontent="Intentional error for testing: Transform containerField='level' is illegal, use 'children' instead."/>
 14            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/Basic/development/TestContainerFieldValues.x3d'/>
 15            <meta name='translatorcontent='Xeena VRML importer, X3D-Edit 3.1, https://www.web3d.org/x3d/content/README.X3D-Edit.html'/>
 16            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 17            <meta name='generatorcontent='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/>
 18            <meta name='licensecontent='../license.html'/>
 19       </head>
<!--

<!-- -->

<!-- to top Index for DEF node: parentCollision

Index for Viewpoint node: Viewpoint_1
-->
 20       <Scene>
 21            <WorldInfo title='TestContainerFieldValues.x3d'/>
 22            <Viewpoint description='Test containerField values'/>
 23            <Collision DEF='parentCollision'>
 24                 <!-- containerField is now validatable by DTD and schema. Default Collision child containerField="children" -->
 25                 <Transform/>
 26                 <!-- Error test: multiple QA tools detect improper use of containerField="level" beneath a Collision node. -->
 27                 <Transform containerField='proxy'>
 28                      <Shape>
 29                           <Box/>
 30                           <Appearance>
 31                                <Material/>
 32                           </Appearance>
 33                      </Shape>
 34                 </Transform>
 35            </Collision>
 36            <Shape>
 37                 <Text string='"This scene tests error checking" "for proper containerField values." "" "View source for details."'>
 38                      <FontStyle justify='"MIDDLE" "MIDDLE"size='0.6'/>
 39                 </Text>
 40                 <Appearance>
 41                      <Material diffuseColor='0.7 0.35 0'/>
 42                 </Appearance>
 43            </Shape>
 44       </Scene>
 45  </X3D>
<!--

<!-- -->

<!-- to top Index for DEF node: parentCollision

Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Appearance, Box, Collision, FontStyle, head, Material, meta, Scene, Shape, Text, Transform, Viewpoint, WorldInfo, X3D, accessType and type, XML data types, field types

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