archematics/public/assets/hello_world.wrl
Glen Whitney e32dcdc3ff feat: Get x_ite mostly working on VRML97 and later files
In addition, it checks for VRML 1.0 files and reports that it can't yet
  handle them. There are still some glitches, but the basic functionality
  is there.
  Resolves #9.
2023-08-30 22:14:47 -07:00

72 lines
2.3 KiB
Plaintext

#VRML V2.0 utf8
# X3D-to-VRML-97 XSL translation autogenerated by X3dToVrml97.xslt
# http://www.web3d.org/x3d/content/X3dToVrml97.xslt
# Generated using XSLT processor: SAXON 8.7 from Saxonica
# [X3D] VRML V3.2 utf8
# PROFILE Immersive
# [X3D] version=3.2
# [X3D] noNamespaceSchemaLocation=http://www.web3d.org/specifications/x3d-3.2.xsd
# [head]
# META "title" "HelloWorld.x3d"
# META "description" "Simple X3D example"
# META "created" "30 October 2000"
# META "modified" "15 February 2009"
# META "creator" "Don Brutzman"
# META "identifier" "http://www.web3d.org/x3d/content/examples/HelloWorld.x3d"
# META "image" "http://www.web3d.org/x3d/content/examples/HelloWorldTall.png"
# META "generator" "X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit"
# META "license" "http://www.web3d.org/x3d/content/examples/license.html"
# [Scene] ========== ========== ==========
NavigationInfo { type [ "EXAMINE" "ANY" ] } ### Default X3D NavigationInfo
# Example scene to illustrate X3D nodes and fields (XML elements and attributes)
Group {
children [
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 Material {
diffuseColor 0 0.5 1
}
texture ImageTexture {
url [ "earth-topo.png" "earth-topo.jpg" "earth-topo-small.gif" "http://www.web3d.org/x3d/content/examples/Basic/earth-topo.png" "http://www.web3d.org/x3d/content/examples/Basic/earth-topo.jpg" "http://www.web3d.org/x3d/content/examples/Basic/earth-topo-small.gif" ]
}
}
}
]
}
Transform {
translation 0 -2 0
children [
Shape {
geometry Text {
### Warning: <Text solid="false" /> not supported in VRML97 encoding, solid field ignored
string [ "Hello" "world!" ]
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
}
}
appearance Appearance {
material Material {
diffuseColor 0.1 0.5 1
}
}
}
]
}
]
}