chore: include a basic wrl test file

This commit is contained in:
Glen Whitney 2024-02-11 18:54:55 -08:00
parent 96421410c8
commit ff819f99c6

71
public/hello_world.wrl Normal file
View File

@ -0,0 +1,71 @@
#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
}
}
}
]
}
]
}