<?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='Immersive' version='3.3 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' https://www.web3d.org/specifications/x3d-3.3.xsd '>
<head>
<meta name='titlecontent='ExtrusionPentagon.x3d'/>
<meta name='descriptioncontent='Simple regular pentagon extruded vertically, shown side-by-side with an ExtrusionCrossSection visualization.'/>
<meta name='creatorcontent='Don Brutzman'/>
<meta name='contributorcontent='U.S. Naval Postgraduate School (NPS)'/>
<meta name='createdcontent='3 September 2005'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name='subjectcontent='Extrusion pentagon'/>
<meta name='identifiercontent=' https://X3dGraphics.com/examples/X3dForWebAuthors/Chapter06GeometryPointsLinesPolygons/ExtrusionPentagon.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!--

Index for ExternProtoDeclare definition : ExtrusionCrossSection

Index for DEF nodes : ExamineMode, FlyPanNavigation, PentagonExtrusion

Index for Viewpoint images : Viewpoint_1, Viewpoint_2, Viewpoint_3
-->
<Scene>
<WorldInfo title='ExtrusionPentagon.x3d'/>
<NavigationInfo DEF='ExamineMode'/>
<NavigationInfo DEF='FlyPanNavigationtype='"FLY" "ANY"'/>
<Background skyColor='1 1 1'/>
<Viewpoint description='Extrusion Pentagonorientation='-1 0 0 0.2position='0 3.17 12.85'/>
<Viewpoint description='Oblique view from aboveorientation='-1 0.015 -0.006 0.78position='0.25 8.98 8.99'/>
<Viewpoint description='Overhead vieworientation='1 0 0 -1.57position='0 13.15 0'/>
<Background groundColor='0.9 0.9 0.9skyColor='0.9 0.9 0.9'/>
<Transform translation='-4 0 0'>
<Shape>
<!-- be sure to order cross-section points so that normal is upward -->
<Extrusion crossSection='-3.5 -1 -2.1 2.9 2.2 2.9 3.6 -1 0 -3.5 -3.5 -1scale='1 1 1 1 0.2 0.2spine='0 0 0 0 1 0 0 1.6 0'>
<!-- spine is open, crossSection is closed -->
</Extrusion>
<Appearance>
<Material diffuseColor='0.2 0.6 0.5'/>
</Appearance>
</Shape>
</Transform>
<!-- Utilize ExtrusionCrossSection ProtoInstance as a Shape node (with containerField="children") rather than an Extrusion node (with containerField="geometry"). -->
<!-- ExtrusionCrossSection is a Prototype, which are explained in Chapter 14. -->
<!-- TODO update original version of ExtrusionCrossSectionPrototype.js at X3D Examples Archive Basic course -->
<ExternProtoDeclare name='ExtrusionCrossSectionappinfo='Shape prototype for Extrusion node that also draws spine line plus oriented scaled cross sections at each spine point'
  url=' "ExtrusionCrossSectionPrototype.x3d#ExtrusionCrossSection" "https://X3dGraphics.com/examples/X3dForWebAuthors/Chapter06GeometryPointsLinesPolygons/ExtrusionCrossSectionPrototype.x3d#ExtrusionCrossSection" "ExtrusionCrossSectionPrototype.wrl#ExtrusionCrossSection" "https://X3dGraphics.com/examples/X3dForWebAuthors/Chapter06GeometryPointsLinesPolygons/ExtrusionCrossSectionPrototype.wrl#ExtrusionCrossSection" '>
<!-- run-time eventIn Extrusion-modification interfaces for VRML 97 compatibility -->
<field name='nametype='SFStringaccessType='initializeOnly'
 appinfo='Extrusion name'/>

<field name='crossSectiontype='MFVec2faccessType='initializeOnly'
 appinfo='Extrusion field'/>

<field name='spinetype='MFVec3faccessType='initializeOnly'
 appinfo='Extrusion field'/>

<field name='scaletype='MFVec2faccessType='initializeOnly'
 appinfo='Extrusion field'/>

<field name='orientationtype='MFRotationaccessType='initializeOnly'
 appinfo='Extrusion field'/>

<field name='beginCaptype='SFBoolaccessType='initializeOnly'
 appinfo='Extrusion field'/>

<field name='endCaptype='SFBoolaccessType='initializeOnly'
 appinfo='Extrusion field'/>

<field name='ccwtype='SFBoolaccessType='initializeOnly'
 appinfo='Extrusion field'/>

<field name='convextype='SFBoolaccessType='initializeOnly'
 appinfo='Extrusion field'/>

<field name='creaseAngletype='SFFloataccessType='initializeOnly'
 appinfo='Extrusion field'/>

<field name='solidtype='SFBoolaccessType='initializeOnly'
 appinfo='Extrusion field'/>

<field name='extrusionImageTexturetype='SFNodeaccessType='initializeOnly'
 appinfo='Image to apply to Extrusion'/>

<field name='extrusionTextureTransformtype='SFNodeaccessType='initializeOnly'
 appinfo='TextureTransform coordinates of image applied to Extrusion'/>

<field name='set_crossSectiontype='MFVec2faccessType='inputOnly'
 appinfo='Extrusion field'/>

<field name='set_spinetype='MFVec3faccessType='inputOnly'
 appinfo='Extrusion field'/>

<field name='set_scaletype='MFVec2faccessType='inputOnly'
 appinfo='Extrusion field'/>

<field name='set_orientationtype='MFRotationaccessType='inputOnly'
 appinfo='Extrusion field'/>

<field name='traceEnabledtype='SFBoolaccessType='initializeOnly'
 appinfo='Whether to provide initialization trace statements showing node construction'/>

<field name='spineColortype='SFColoraccessType='inputOutput'
 appinfo='emissiveColor of spine'/>

<field name='crossSectionColortype='SFColoraccessType='inputOutput'
 appinfo='diffuseColor of crossSection'/>

<field name='crossSectionTransparencytype='SFFloataccessType='inputOutput'
 appinfo='transparency of crossSection'/>

<field name='extrusionColortype='SFColoraccessType='inputOutput'
 appinfo='diffuseColor of extrusion hull'/>

<field name='extrusionTransparencytype='SFFloataccessType='inputOutput'
 appinfo='transparency of extrusion hull'/>
</ExternProtoDeclare>
<Transform translation='4 0 0'>
<ProtoInstance name='ExtrusionCrossSectionDEF='PentagonExtrusion'>
<fieldValue name='namevalue='PentagonExtrusion'/>
<fieldValue name='crossSectionvalue='-3.5 -1 -2.1 2.9 2.2 2.9 3.6 -1 0 -3.5 -3.5 -1'/>
<fieldValue name='spinevalue='0 0 0 0 1 0 0 1.6 0'/>
<fieldValue name='scalevalue='1 1 1 1 0.2 0.2'/>
<fieldValue name='ccwvalue='true'/>
<fieldValue name='spineColorvalue='0.7 0.7 0'/>
<fieldValue name='crossSectionColorvalue='0.6 0.6 0.2'/>
<fieldValue name='extrusionColorvalue='0.3 0.6 0.6'/>
<fieldValue name='extrusionTransparencyvalue='0.6'/>
<fieldValue name='traceEnabledvalue='false'/>
</ProtoInstance>
</Transform>
</Scene>
</X3D>
<!--

Index for ExternProtoDeclare definition : ExtrusionCrossSection

Index for DEF nodes : ExamineMode, FlyPanNavigation, PentagonExtrusion

Index for Viewpoint images : Viewpoint_1, Viewpoint_2, Viewpoint_3
-->

<!-- Color key: <X3dNode DEF='idName' field='value'/> matches <XmlElement DEF='idName' attribute='value'/>
(Light blue background: behavior node) (Grey background: inserted documentation) (Magenta background: X3D Extensibility)
    <Prototype name='ProtoName'> <field name='fieldName'/> </Prototype> -->

<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources and X3D Scene Authoring Hints. -->