<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
<X3D profile='Immersive'
version='3.0'
xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance'
xsd:noNamespaceSchemaLocation
='
https://www.web3d.org/specifications/x3d-3.0.xsd
'
>
<head>
</head>
<!--
-->
<Scene>
<!-- Computational cost of Extrusion compared to IndexedFaceSet: quicker to download, takes time to calculate polygonal faces and normals during initial loading, equally fast at run time. -->
<!-- Authoring capabilities of Extrusion compared to IndexedFaceSet: can be more complicated to express, but also can provide great detail with much less effort. -->
<!-- First position and rotate viewpoint into positive-X-Y-Z octant, looking at object center -->
<WorldInfo title='Figure15_15TwistedBar.x3d'/>
<Viewpoint centerOfRotation='0 2 0' description='Twisted bar using extrusion orientations' orientation='-0.24424 0.96442 0.10117 0.811341' position='10 5 10'>
<!-- local lookat point: 0 2 0 -->
</Viewpoint>
<Shape>
<Appearance>
<Material diffuseColor='1 0.5 0'/>
</Appearance>
<Extrusion creaseAngle='0.785' crossSection='-1 1 1 1 1 -1 -1 -1 -1 1' orientation='0 1 0 0 0 1 0 0.175 0 1 0 0.349 0 1 0 0.524 0 1 0 0.698 0 1 0 0.873 0 1 0 1.047 0 1 0 1.222 0 1 0 1.396' spine='0 0.0 0 0 0.5 0 0 1.0 0 0 1.5 0 0 2.0 0 0 2.5 0 0 3.0 0 0 3.5 0 0 4.0 0'/>
</Shape>
</Scene>
</X3D>
<!--
-->
-->
<!--
Online at
https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter15Extrusion/Figure15_15TwistedBarIndex.html
-->
<!--
Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter15Extrusion/Figure15_15TwistedBar.x3d
-->
<!--
Color legend: X3D terminology
<X3dNode
field='value'/>
matches XML terminology
<XmlElement
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.
-->