<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
<X3D profile='Interchange'
version='3.3'
xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance'
xsd:noNamespaceSchemaLocation
='
https://www.web3d.org/specifications/x3d-3.3.xsd
'
>
<head>
</head>
<!--
-->
<Scene>
<!-- First, an Arch is created in a group. The Arch includes of left and right columns, each positioned using a Transform group and its translation field. -->
<!-- Next, each Arch group includes a horizontal box spanning the two columns. The box is translated up to the top of the columns using a Transform group node. -->
<!-- The angled top of each Arch is created using two boxes, each rotated about the Z axis to tilt them. A translation then positions the tilted boxes at the top of the archway. -->
<!-- Next, the entire Arch group is instanced multiple times, rotating each instance to create a circle of archs forming a gazeebo-like structure. -->
<!-- Finally a base for the structure is added. -->
<WorldInfo title='Arches.x3d'/>
<Transform DEF='Arch'>
<Transform translation='-2.0 -1.0 0.0'>
<Shape DEF='Column'>
<Appearance DEF='White'>
<Material/>
</Appearance>
<Cylinder bottom='false' height='6.0' radius='0.3' top='false'/>
</Shape>
</Transform>
<Transform translation='2.0 -1.0 0.0'>
</Transform>
<Transform translation='0.0 2.05 0.0'>
<Shape>
<Appearance USE='
White'/>
<Box size='4.6 0.4 0.6'/>
</Shape>
</Transform>
<Transform rotation='0.0 0.0 1.0 0.524' translation='-1.15 3.12 0.0'>
<Shape DEF='Roof'>
<Appearance USE='
White'/>
<Box size='2.86 0.4 0.6'/>
</Shape>
</Transform>
<Transform rotation='0.0 0.0 1.0 -0.524' translation='1.15 3.12 0.0'>
</Transform>
</Transform>
<Transform rotation='0.0 1.0 0.0 0.785'>
</Transform>
<Transform rotation='0.0 1.0 0.0 -0.785'>
</Transform>
<Transform rotation='0.0 1.0 0.0 1.571'>
</Transform>
<Transform translation='0.0 -4.125 0.0'>
<Shape>
<Appearance USE='
White'/>
<Cylinder bottom='false' height='0.25' radius='3.0'/>
</Shape>
</Transform>
<Transform translation='0.0 -4.375 0.0'>
<Shape>
<Appearance USE='
White'/>
<Cylinder height='0.25' radius='4.0'/>
</Shape>
</Transform>
</Scene>
</X3D>
<!--
-->
-->
<!--
Online at
https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/ArchesIndex.html
-->
<!--
Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Arches.x3d
-->
<!--
Color legend: X3D terminology
<X3dNode
DEF='idName' field='value'/>
matches XML terminology
<XmlElement
DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement)
(Grey background inside box: inserted documentation)
(Magenta background: X3D Extensibility)
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->