| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
|
| 3 | <X3D profile='Immersive' version='3.3' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.3.xsd'> |
| 4 | <head> |
| 5 | <meta name='title' content=' HelloWorldCommented.x3d '/> |
| 6 | <meta name='description' content='Developmental scene with numerous comments added to simple X3D scene example for testing JSON encoding alternatives.'/> |
| 7 | <meta name='created' content='19 December 2015'/> |
| 8 | <meta name='modified' content='8 October 2023'/> |
| 9 | <meta name='creator' content='Don Brutzman'/> |
| 10 | <meta name='info' content='HelloWorldCommented.json is most current, HelloWorldCommentedOriginalEncoding.json and HelloWorldCommentedAlternativeEncoding.json were experimental.'/> |
| 11 | <meta name='reference' content=' HelloWorldCommented.json '/> |
| 12 | <meta name='reference' content=' HelloWorldCommentedOriginalEncoding.json '/> |
| 13 | <meta name='reference' content=' HelloWorldCommentedAlternativeEncoding.json '/> |
| 14 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommented.x3d '/> |
| 15 | <meta name='license' content=' https://www.web3d.org/x3d/content/examples/license.html '/> |
| 16 | <meta name='generator' content='X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 17 | </head> |
| 18 | <Scene> |
| 19 | <!-- Example scene to illustrate comments interspersed among X3D nodes and fields (XML elements and attributes) --> |
| 20 | <!-- WorldInfo begin --> |
| 21 | <WorldInfo title='Hello world!'/> |
| 22 | <!-- WorldInfo complete, Group begin --> |
| 23 | <Group> |
| 24 | <!-- Viewpoint begin --> |
| 25 | <Viewpoint DEF='ViewUpClose' centerOfRotation='0 -1 0' description='Hello world!' position='0 -1 7'/> |
| 26 | <!-- Viewpoint complete, Transform begin --> |
| 27 | <Transform rotation='0 1 0 3'> |
| 28 | <!-- Shape begin --> |
| 29 | <Shape> |
| 30 | <!-- Sphere begin --> |
| 31 | <Sphere/> |
| 32 | <!-- Sphere complete, Appearance begin --> |
| 33 | <Appearance> |
| 34 | <!-- Material begin --> |
| 35 |
<!-- Material
MaterialOffWhite is a DEF node that has 1 USE node: USE_1 --> <Material DEF='MaterialOffWhite' diffuseColor='0.980392 0.976471 0.964706'/> |
| 36 | <!-- Material complete, ImageTexture begin --> |
| 37 |
<ImageTexture DEF='ImageCloudlessEarth'
url=' "earth-topo.png
" "earth-topo.jpg
" "earth-topo-small.gif
" "https://www.web3d.org/x3d/content/examples/Basic/earth-topo.png
" "https://www.web3d.org/x3d/content/examples/Basic/earth-topo.jpg
" "https://www.web3d.org/x3d/content/examples/Basic/earth-topo-small.gif
" '/>
|
| 38 | <!-- ImageTexture complete --> |
| 39 | </Appearance> |
| 40 | <!-- Appearance complete --> |
| 41 | </Shape> |
| 42 | <!-- Shape complete --> |
| 43 | </Transform> |
| 44 | <!-- Transform complete, Transform begin --> |
| 45 | <Transform translation='0 -2 0'> |
| 46 | <!-- Shape begin --> |
| 47 | <Shape> |
| 48 | <!-- Text begin --> |
| 49 | <Text DEF='TextMessage' string='"Hello" "world!"'> |
| 50 | <!-- FontStyle begin --> |
| 51 | <FontStyle justify='"MIDDLE" "MIDDLE"'/> |
| 52 | <!-- FontStyle complete --> |
| 53 | </Text> |
| 54 | <!-- Text complete, Appearance begin --> |
| 55 | <Appearance> |
| 56 | <!-- Material begin --> |
| 57 | <Material USE='MaterialOffWhite'/> |
| 58 | <!-- Material complete --> |
| 59 | </Appearance> |
| 60 | <!-- Appearance complete --> |
| 61 | </Shape> |
| 62 | <!-- Shape complete --> |
| 63 | </Transform> |
| 64 | <!-- Transform complete --> |
| 65 | </Group> |
| 66 | <!-- Group complete --> |
| 67 | </Scene> |
| 68 | </X3D> |
<!--
Color-coding 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)
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->