123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- #VRML V2.0 utf8
- # X3D-to-VRML-97 XSL translation autogenerated by X3dToVrml97.xslt
- # https://www.web3d.org/x3d/content/X3dToVrml97.xslt
- # Generated using XSLT processor: Saxonica
- # [X3D] VRML V3.3 utf8
- # PROFILE Immersive
- # [X3D] version=3.3
- # [X3D] noNamespaceSchemaLocation=https://www.web3d.org/specifications/x3d-3.3.xsd
- # [head]
- # Alternate encodings: VRML97, X3D ClassicVRML Encoding, X3D Compressed Binary Encoding (CBE), X3DOM, JSON
- # META "title" "HelloWorld.x3d"
- # META "description" "Simple X3D model example: Hello World!"
- # META "created" "30 October 2000"
- # META "modified" "9 July 2023"
- # META "creator" "Don Brutzman"
- # META "Image" "HelloWorld.tall.png"
- # META "reference" "https://en.wikipedia.org/wiki/Hello_world"
- # META "reference" "https://en.wikipedia.org/wiki/Hello#.22Hello.2C_World.22_computer_program"
- # META "reference" "https://en.wikipedia.org/wiki/\"Hello,_World!\"_program"
- # META "reference" "https://en.wikibooks.org/w/index.php?title=Computer_Programming/Hello_world"
- # META "reference" "https://www.HelloWorldExample.net"
- # META "reference" "https://www.web3d.org"
- # META "reference" "https://www.web3d.org/realtime-3d/news/internationalization-x3d"
- # META "reference" "https://www.web3d.org/x3d/content/examples/HelloWorld.x3d"
- # META "reference" "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorld.x3d"
- # META "identifier" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter01TechnicalOverview/HelloWorld.x3d"
- # META "license" "https://www.web3d.org/x3d/content/examples/license.html"
- # META "generator" "X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit"
- # META "reference" "HelloWorld.wrl"
- # META "reference" "HelloWorld.x3dv"
- # META "reference" "HelloWorld.x3db"
- # META "reference" "HelloWorld.xhtml"
- # META "reference" "HelloWorld.json"
- # [Scene] ========== ========== ==========
- NavigationInfo { type [ "EXAMINE" "ANY" ] } ### Default X3D NavigationInfo
- # Example scene to illustrate X3D nodes and fields (XML elements and attributes)
- WorldInfo {
- info [ "Example scene to illustrate a simple X3D model" ]
- title "Hello World!"
- }
- Group {
- children [
- DEF ViewUpClose Viewpoint {
- centerOfRotation 0 -1 0
- description "Hello world!"
- position 0 -1 7
- }
- Transform {
- rotation 0 1 0 3
- children [
- Shape {
- geometry Sphere {
- }
- appearance Appearance {
- material DEF MaterialOffWhite Material {
- diffuseColor 0.980392 0.976471 0.964706
- }
- texture DEF ImageCloudlessEarth ImageTexture {
- 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" ]
- }
- }
- }
- ]
- }
- Transform {
- translation 0 -2 0
- children [
- Shape {
- geometry DEF TextMessage Text {
- string [ "Hello" "world!" ]
- fontStyle FontStyle {
- justify [ "MIDDLE" "MIDDLE" ]
- }
- }
- appearance Appearance {
- material USE MaterialOffWhite
- }
- }
- ]
- }
- ]
- }
|