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='ExtrusionEdgeCases.x3d'/> |
6 | <meta name='description' content='Scene incorporating extrusion edge cases'/> |
7 | <meta name='creator' content='Roy Walmsley'/> |
8 | <meta name='created' content='29 January 2016'/> |
9 | <meta name='modified' content='20 October 2019'/> |
10 | <meta name='reference' content='https://www.web3d.org/wiki/index.php/Extrusion_Edge_Cases'/> |
11 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/ExtrusionEdgeCases.x3d'/> |
12 | <meta name='generator' content='XML Spy, http://www.altova.com'/> |
13 | <meta name='license' content='../license.html'/> |
14 | </head> |
15 | <Scene> |
16 | <WorldInfo title='ExtrusionEdgeCases.x3d'/> |
17 | <Viewpoint description='Extrusion Edge Cases' position='10 5 50'/> |
18 | <Transform translation='2 10 0'> |
19 | <Viewpoint description='Extrusion Edge Case 1' position='2 0 20'/> |
20 | <Shape> |
21 | <Appearance> |
22 | <Material diffuseColor='0.8 0.1 0.05'/> |
23 | </Appearance> |
24 | <Extrusion crossSection='-1 0 0 1 1 0 -1 0' scale='1 1 1 1 1 1 2 2 3 3 3 3' spine='-5 0 0 0 0 0 4 4 0 4 4 0 4 4 0 8 0 0'/> |
25 | </Shape> |
26 | </Transform> |
27 | <Transform scale='2 2 2' translation='-2 -2 0'> |
28 | <Viewpoint description='Extrusion Edge Case 2a' position='0 0 6'/> |
29 | <Shape> |
30 | <Appearance> |
31 | <Material diffuseColor='0 0.8 0.1'/> |
32 | </Appearance> |
33 | <Extrusion crossSection='-1 0 0 2 1 0 -1 0' solid='false'/> |
34 | </Shape> |
35 | </Transform> |
36 | <Transform scale='2 2 2' translation='4 -2 0'> |
37 | <Viewpoint description='Extrusion Edge Case 2b' position='0 0 4'/> |
38 | <Shape> |
39 | <Appearance> |
40 | <Material diffuseColor='0 0.8 0.1'/> |
41 | </Appearance> |
42 | <Extrusion crossSection='-1 0 0 2 1 0 -1 0' solid='false' spine='0 1 0 0 0 0'/> |
43 | </Shape> |
44 | </Transform> |
45 | <Transform scale='1.5 1.5 1.5' translation='20 0 0'> |
46 | <Viewpoint description='Extrusion Edge Case 3' position='0 0 6'/> |
47 | <Shape> |
48 | <Appearance> |
49 | <Material diffuseColor='0.1 0 0.8'/> |
50 | </Appearance> |
51 | <Extrusion beginCap='false' endCap='false' scale='1 1 1.2 1.2 1.4 1.4' solid='false' spine='0 0 0 0 1 0 0 0 0'/> |
52 | </Shape> |
53 | </Transform> |
54 | </Scene> |
55 | </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. -->