#X3D V3.0 utf8
# X3D-to-ClassicVRML XSL translation autogenerated by X3dToVrml97.xslt
# https://www.web3d.org/x3d/content/X3dToVrml97.xslt
# Generated using XSLT processor: Saxonica
PROFILE Immersive
# [X3D] version=3.0
# [X3D] noNamespaceSchemaLocation=https://www.web3d.org/specifications/x3d-3.0.xsd
# [head]
META "title" "WrapperTagsExample.x3d"
META "description" "Demonstrate and test field-name wrapper tags. Links to document \"Wrapper Tags Considered Harmful.\" Scene includes 21 nodes, 34 open/close element tags, 44 wrapper tags, producing 78 scene-graph tags total if wrapper tags are required."
META "created" "21 April 2000"
META "modified" "20 October 2019"
META "creator" "Don Brutzman"
META "reference" "WrapperTagsExampleWrapped.html"
META "reference" "WrapperTagsExampleUnwrapped.html"
META "identifier" "https://www.web3d.org/x3d/content/examples/Basic/development/WrapperTagsExample.x3d"
META "generator" "X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit"
META "license" "../license.html"
# [Scene] ========== ========== ==========
NavigationInfo { type [ "EXAMINE" "ANY" ] } ### Default X3D NavigationInfo
# *** wrapper tag ***
WorldInfo {
title "WrapperTagsExample.x3d"
}
Transform {
translation 0 -3 0
children [
# *** wrapper tag ***
Shape {
# *** wrapper tag ***
geometry Cylinder {
height 1.5
radius .75
}
# *** wrapper tag ***
# *** wrapper tag ***
appearance Appearance {
# *** wrapper tag ***
texture ImageTexture {
url [ "earth-topo-small.png" "earth-topo-small.gif" "https://www.web3d.org/x3d/content/examples/Basic/development/earth-topo-small.png" "https://www.web3d.org/x3d/content/examples/Basic/development/earth-topo-small.gif" ]
}
# *** wrapper tag ***
# *** wrapper tag ***
textureTransform TextureTransform {
rotation -2.356
}
# *** wrapper tag ***
}
# *** wrapper tag ***
}
# *** wrapper tag ***
]
}
# *** wrapper tag ***
# *** wrapper tag ***
LOD {
children [
# *** wrapper tag ***
Anchor {
description "Click to read explanation page"
parameter [ "target=_blank" ]
url [ "WrapperTagsConsideredHarmful.html" "https://www.web3d.org/x3d/content/examples/Basic/development/WrapperTagsConsideredHarmful.html" ]
children [
# *** wrapper tag ***
Shape {
# *** wrapper tag ***
appearance Appearance {
# *** wrapper tag ***
material Material {
diffuseColor .6 .1 .1
}
# *** wrapper tag ***
}
# *** wrapper tag ***
# *** wrapper tag ***
geometry Text {
string [ "wrapper tags are " "field container names" "that hold nodes" ]
# *** wrapper tag ***
fontStyle FontStyle {
justify [ "MIDDLE" "MIDDLE" ]
}
# *** wrapper tag ***
}
# *** wrapper tag ***
}
# *** wrapper tag ***
]
}
# *** wrapper tag ***
# *** wrapper tag ***
Sound {
# *** wrapper tag ***
}
# *** wrapper tag ***
]
}
# *** wrapper tag ***
# *** wrapper tag ***
Switch {
whichChoice 0
children [
# *** wrapper tag ***
Shape {
# *** wrapper tag ***
geometry IndexedFaceSet {
coordIndex [ 0 1 2 3 -1 ]
# *** wrapper tag ***
color Color {
color [ 0 0 1 0 1 0 1 0 0 1 1 1 ]
}
# *** wrapper tag ***
# *** wrapper tag ***
coord Coordinate {
point [ -5 -3 -2 5 -3 -2 5 1 -2 -5 1 -2 ]
}
# *** wrapper tag ***
# *** wrapper tag ***
normal Normal {
vector [ 0 0 -1 0 0 -1 0 0 -1 0 0 -1 ]
}
# *** wrapper tag ***
# *** wrapper tag ***
texCoord TextureCoordinate {
point [ -1 -1 -1 1 1 1 1 -1 ]
}
# *** wrapper tag ***
}
# *** wrapper tag ***
}
# *** wrapper tag ***
]
}
# *** wrapper tag ***