| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
|
| 3 | <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'> |
| 4 | <head> |
| 5 | <meta name='title' content=' ExtrusionRoomWalls.x3d '/> |
| 6 | <meta name='description' content='Wall definition for a room, defined as a cross section and extruded vertically.'/> |
| 7 | <meta name='creator' content='Don Brutzman'/> |
| 8 | <meta name='contributor' content='U.S. Naval Postgraduate School (NPS)'/> |
| 9 | <meta name='created' content='3 September 2005'/> |
| 10 | <meta name='modified' content='20 January 2024'/> |
| 11 | <meta name='subject' content='Extrusion example'/> |
| 12 | <meta name='reference' content='https://en.wikipedia.org/wiki/Extrusion'/> |
| 13 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter06GeometryPointsLinesPolygons/ExtrusionRoomWalls.x3d '/> |
| 14 | <meta name='generator' content='X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 15 | <meta name='license' content='../license.html'/> |
| 16 | </head> |
| 17 | <Scene> |
| 18 | <WorldInfo title='ExtrusionRoomWalls.x3d'/> |
| 19 | <Viewpoint description='Extrusion Room Walls' orientation='1 0 0 -0.2' position='5 4 15'/> |
| 20 | <Viewpoint description='Oblique view from above' orientation='1 0 0 -0.78' position='5 10 13'/> |
| 21 | <Viewpoint description='Overhead view' orientation='1 0 0 -1.57' position='5 12 3'/> |
| 22 | <Background skyColor='1 1 1'/> |
| 23 | <Transform> |
| 24 | <Shape> |
| 25 | <!-- be sure to order cross-section points so that normal is upward --> |
| 26 | <Extrusion convex='false' crossSection='0 0 0 6 3 6 3 5 1 5 1 1 9 1 9 5 5 5 5 6 10 6 10 0 0 0' spine='0 0 0 0 2.5 0'> |
| 27 | <!-- spine is open, crossSection is closed --> |
| 28 | </Extrusion> |
| 29 | <Appearance> |
| 30 | <Material diffuseColor='0.8 0.8 0.3'/> |
| 31 | </Appearance> |
| 32 | </Shape> |
| 33 | </Transform> |
| 34 | </Scene> |
| 35 | </X3D> |
<!--
Color-coding 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.
-->