| 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='Interchange' 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=' NonplanarPolygons.x3d '/> |
| 6 | <meta name='description' content='Illustration of nonplanar polygons.'/> |
| 7 | <meta name='created' content='22 May 2006'/> |
| 8 | <meta name='modified' content='20 October 2019'/> |
| 9 | <meta name='creator' content='Leonard Daly and Don Brutzman'/> |
| 10 |
<meta name='Image' content='NonplanarPolygons.png' />
|
| 11 | <meta name='reference' content='https://X3dGraphics.com'/> |
| 12 | <meta name='reference' content=' https://www.web3d.org/x3d/content/examples/X3dResources.html '/> |
| 13 | <meta name='rights' content='Copyright 2006, Daly Realism and Don Brutzman'/> |
| 14 | <meta name='subject' content='X3D book, X3D graphics, X3D-Edit, http://www.x3dGraphics.com'/> |
| 15 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter13GeometryTrianglesQuadrilaterals/NonplanarPolygons.x3d '/> |
| 16 | <meta name='generator' content='X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 17 | <meta name='license' content='../license.html'/> |
| 18 | </head> |
| 19 | <Scene> |
| 20 | <WorldInfo title='NonplanarPolygons.x3d'/> |
| 21 | <Viewpoint description='Initial'/> |
| 22 | <Viewpoint description='Book View' orientation='0 -1 0 0.1' position='-0.71 -0.52 8.9'/> |
| 23 | <Background skyColor='1 1 1'/> |
| 24 | <NavigationInfo headlight='false'/> |
| 25 | <DirectionalLight direction='0 -1 0'/> |
| 26 | <Transform translation='0 2 0'> |
| 27 | <Transform translation='-2 0 0'> |
| 28 | <Shape DEF='SimplePoints'> |
| 29 | |
| 30 | <Material diffuseColor='0 0 0' specularColor='1 0 0'/> |
| 31 | </Appearance> |
| 32 | <PointSet> |
| 33 | |
| 34 | </PointSet> |
| 35 | </Shape> |
| 36 |
<!-- Group
OutlineWithExaggeratedPoints is a DEF node that has 1 USE node: USE_1 -->
<Group DEF='OutlineWithExaggeratedPoints'> |
| 37 | <Shape> |
| 38 | <Appearance USE='Black'/> |
| 39 | <IndexedLineSet coordIndex='0 1 2 3 0 -1'> |
| 40 | <Coordinate USE='Points'/> |
| 41 | </IndexedLineSet> |
| 42 | </Shape> |
| 43 | <Transform translation='-1 -1 3'> |
| 44 | <Shape> |
| 45 | <Appearance USE='Black'/> |
| 46 | |
| 47 | </Shape> |
| 48 | </Transform> |
| 49 | <Transform translation='1 -2 3'> |
| 50 | <Shape> |
| 51 | <Appearance USE='Black'/> |
| 52 | <Sphere USE='Ball'/> |
| 53 | </Shape> |
| 54 | </Transform> |
| 55 | <Transform translation='1 -1 1'> |
| 56 | <Shape> |
| 57 | <Appearance USE='Black'/> |
| 58 | <Sphere USE='Ball'/> |
| 59 | </Shape> |
| 60 | </Transform> |
| 61 | <Transform translation='-1 -2 1'> |
| 62 | <Shape> |
| 63 | <Appearance USE='Black'/> |
| 64 | <Sphere USE='Ball'/> |
| 65 | </Shape> |
| 66 | </Transform> |
| 67 | </Group> |
| 68 | </Transform> |
| 69 | <Transform translation='2 0 0'> |
| 70 | <Group USE='OutlineWithExaggeratedPoints'/> |
| 71 | </Transform> |
| 72 | </Transform> |
| 73 | <Transform translation='-2 0 0'> |
| 74 | <Shape> |
| 75 | <IndexedFaceSet creaseAngle='1.57' solid='false' coordIndex='0 1 2 -1 2 3 0 -1'> |
| 76 | <Coordinate USE='Points'/> |
| 77 | </IndexedFaceSet> |
| 78 | |
| 79 | <Material/> |
| 80 | </Appearance> |
| 81 | </Shape> |
| 82 | </Transform> |
| 83 | <Transform translation='2 0 0'> |
| 84 | <Shape> |
| 85 | <IndexedFaceSet creaseAngle='1.57' solid='false' coordIndex='0 1 3 -1 1 2 3 -1'> |
| 86 | <Coordinate USE='Points'/> |
| 87 | </IndexedFaceSet> |
| 88 | <Appearance USE='Look'/> |
| 89 | </Shape> |
| 90 | </Transform> |
| 91 | </Scene> |
| 92 | </X3D> |
<!--
Color-coding 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.
-->