HelloWorld.x3dv 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. #X3D V3.3 utf8
  2. # X3D-to-ClassicVRML XSL translation autogenerated by X3dToVrml97.xslt
  3. # https://www.web3d.org/x3d/content/X3dToVrml97.xslt
  4. # Generated using XSLT processor: Saxonica
  5. PROFILE Immersive
  6. # [X3D] version=3.3
  7. # [X3D] noNamespaceSchemaLocation=https://www.web3d.org/specifications/x3d-3.3.xsd
  8. # [head]
  9. # Alternate encodings: VRML97, X3D ClassicVRML Encoding, X3D Compressed Binary Encoding (CBE), X3DOM, JSON
  10. META "title" "HelloWorld.x3d"
  11. META "description" "Simple X3D model example: Hello World!"
  12. META "created" "30 October 2000"
  13. META "modified" "9 July 2023"
  14. META "creator" "Don Brutzman"
  15. META "Image" "HelloWorld.tall.png"
  16. META "reference" "https://en.wikipedia.org/wiki/Hello_world"
  17. META "reference" "https://en.wikipedia.org/wiki/Hello#.22Hello.2C_World.22_computer_program"
  18. META "reference" "https://en.wikipedia.org/wiki/\"Hello,_World!\"_program"
  19. META "reference" "https://en.wikibooks.org/w/index.php?title=Computer_Programming/Hello_world"
  20. META "reference" "https://www.HelloWorldExample.net"
  21. META "reference" "https://www.web3d.org"
  22. META "reference" "https://www.web3d.org/realtime-3d/news/internationalization-x3d"
  23. META "reference" "https://www.web3d.org/x3d/content/examples/HelloWorld.x3d"
  24. META "reference" "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorld.x3d"
  25. META "identifier" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter01TechnicalOverview/HelloWorld.x3d"
  26. META "license" "https://www.web3d.org/x3d/content/examples/license.html"
  27. META "generator" "X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit"
  28. META "reference" "HelloWorld.wrl"
  29. META "reference" "HelloWorld.x3dv"
  30. META "reference" "HelloWorld.x3db"
  31. META "reference" "HelloWorld.xhtml"
  32. META "reference" "HelloWorld.json"
  33. # [Scene] ========== ========== ==========
  34. NavigationInfo { type [ "EXAMINE" "ANY" ] } ### Default X3D NavigationInfo
  35. # Example scene to illustrate X3D nodes and fields (XML elements and attributes)
  36. WorldInfo {
  37. info [ "Example scene to illustrate a simple X3D model" ]
  38. title "Hello World!"
  39. }
  40. Group {
  41. children [
  42. DEF ViewUpClose Viewpoint {
  43. centerOfRotation 0 -1 0
  44. description "Hello world!"
  45. position 0 -1 7
  46. }
  47. Transform {
  48. rotation 0 1 0 3
  49. children [
  50. Shape {
  51. geometry Sphere {
  52. }
  53. appearance Appearance {
  54. material DEF MaterialOffWhite Material {
  55. diffuseColor 0.980392 0.976471 0.964706
  56. }
  57. texture DEF ImageCloudlessEarth ImageTexture {
  58. 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" ]
  59. }
  60. }
  61. }
  62. ]
  63. }
  64. Transform {
  65. translation 0 -2 0
  66. children [
  67. Shape {
  68. geometry DEF TextMessage Text {
  69. string [ "Hello" "world!" ]
  70. fontStyle FontStyle {
  71. justify [ "MIDDLE" "MIDDLE" ]
  72. }
  73. }
  74. appearance Appearance {
  75. material USE MaterialOffWhite
  76. }
  77. }
  78. ]
  79. }
  80. ]
  81. }