| 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 | <!-- Alternate encodings: VRML97, X3D ClassicVRML Encoding, X3D Compressed Binary Encoding (CBE), X3DOM, JSON --> |
| 6 | <meta name='title' content=' HelloWorld.x3d '/> |
| 7 | <meta name='description' content='Simple X3D model example: Hello World!'/> |
| 8 | <meta name='created' content='30 October 2000'/> |
| 9 | <meta name='modified' content='9 July 2023'/> |
| 10 | <meta name='creator' content='Don Brutzman'/> |
| 11 |
<meta name='Image' content='HelloWorld.tall.png' />
|
| 12 | <meta name='reference' content='https://en.wikipedia.org/wiki/Hello_world'/> |
| 13 | <meta name='reference' content='https://en.wikipedia.org/wiki/Hello#.22Hello.2C_World.22_computer_program'/> |
| 14 | <meta name='reference' content='"https://en.wikipedia.org/wiki/Hello,_World!_program"'/> |
| 15 | <meta name='reference' content='https://en.wikibooks.org/w/index.php?title=Computer_Programming/Hello_world'/> |
| 16 | <meta name='reference' content='https://www.HelloWorldExample.net'/> |
| 17 | <meta name='reference' content='https://www.web3d.org'/> |
| 18 | <meta name='reference' content='https://www.web3d.org/realtime-3d/news/internationalization-x3d'/> |
| 19 | <meta name='reference' content=' https://www.web3d.org/x3d/content/examples/HelloWorld.x3d '/> |
| 20 | <meta name='reference' content=' https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorld.x3d '/> |
| 21 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter01TechnicalOverview/HelloWorld.x3d '/> |
| 22 | <meta name='license' content=' https://www.web3d.org/x3d/content/examples/license.html '/> |
| 23 | <meta name='generator' content='X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 24 | <meta name='reference' content='HelloWorld.wrl'/> |
| 25 | <meta name='reference' content='HelloWorld.x3dv'/> |
| 26 | <meta name='reference' content='HelloWorld.x3db'/> |
| 27 | <meta name='reference' content='HelloWorld.xhtml'/> |
| 28 | <meta name='reference' content=' HelloWorld.json '/> |
| 29 | </head> |
| 30 | <Scene> |
| 31 | <!-- Example scene to illustrate X3D nodes and fields (XML elements and attributes) --> |
| 32 | <WorldInfo info='"Example scene to illustrate a simple X3D model"' title='Hello World!'/> |
| 33 | <Group> |
| 34 | <Viewpoint DEF='ViewUpClose' centerOfRotation='0 -1 0' description='Hello world!' position='0 -1 7'/> |
| 35 | <Transform rotation='0 1 0 3'> |
| 36 | <Shape> |
| 37 | <Sphere/> |
| 38 | <Appearance> |
| 39 | <!-- https://htmlcolorcodes.com/colors/off-white --> |
| 40 |
<!-- Material
MaterialOffWhite is a DEF node that has 1 USE node: USE_1 --> <Material DEF='MaterialOffWhite' diffuseColor='0.980392 0.976471 0.964706'/> |
| 41 |
<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
" '/>
|
| 42 | </Appearance> |
| 43 | </Shape> |
| 44 | </Transform> |
| 45 | <Transform translation='0 -2 0'> |
| 46 | <Shape> |
| 47 | <Text DEF='TextMessage' string='"Hello" "world!"'> |
| 48 | <FontStyle justify='"MIDDLE" "MIDDLE"'/> |
| 49 | </Text> |
| 50 | <Appearance> |
| 51 | <Material USE='MaterialOffWhite'/> |
| 52 | </Appearance> |
| 53 | </Shape> |
| 54 | </Transform> |
| 55 | </Group> |
| 56 | </Scene> |
| 57 | </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.
-->