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='Vsevolod Alekseyev, Vince Marchetti, Roy Walmsley, Leonard Daly, Dick Puk, Joe Williams, Don Brutzman'/> |
8 | <meta name='created' content='29 January 2016'/> |
9 | <meta name='modified' content='28 October 2019'/> |
10 | <meta name='reference' content='https://www.web3d.org/wiki/index.php/Extrusion_Edge_Cases'/> |
11 | <meta name=' TODO ' content=' add descriptions why each case holds special interest '/> |
12 | <meta name=' TODO ' content=' add named Viewpoints with name for each case '/> |
13 | <meta name=' TODO ' content=' X3D-public email thread http://web3d.org/pipermail/x3d-public_web3d.org/2016-January/004184.html '/> |
14 | <meta name=' TODO ' content=' Mantis issue 923 https://www.web3d.org/member-only/mantis/view.php?id=923 '/> |
15 | <meta name='specificationSection' content='X3D encodings, ISO/IEC 19775-1.4, Part 1: Architecture and base components, Clause 13 Geometry3D component, Topic 13.3.5 Extrusion, Section 13.3.5.4 Special cases'/> |
16 | <meta name='specificationUrl' content='https://www.web3d.org/documents/specifications/19776-1/V3.3/Part01/examples.html#ExecutionModel'/> |
17 | <meta name='specificationUrl' content='TODO github draft X3D 4.0 document'/> |
18 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/ExtrusionEdgeCases.x3d'/> |
19 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
20 | <meta name='license' content='../license.html'/> |
21 | </head> |
22 | <Scene> |
23 | <WorldInfo title='ExtrusionEdgeCases.x3d'/> |
24 | <Group> |
25 | <Transform translation='2 10 0'> |
26 | <Shape> |
27 | <Appearance> |
28 | <Material diffuseColor='0.8 0.1 0.05'/> |
29 | </Appearance> |
30 | <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'> |
31 | <!-- spine is open, crossSection is closed --> |
32 | </Extrusion> |
33 | </Shape> |
34 | </Transform> |
35 | </Group> |
36 | <Group> |
37 | <Transform scale='2 2 2' translation='-2 -2 0'> |
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'> |
43 | <!-- spine is open, crossSection is closed --> |
44 | </Extrusion> |
45 | </Shape> |
46 | </Transform> |
47 | </Group> |
48 | <Group> |
49 | <Transform scale='2 2 2' translation='2 -2 0'> |
50 | <Shape> |
51 | <Appearance> |
52 | <Material diffuseColor='0 0.8 0.1'/> |
53 | </Appearance> |
54 | <Extrusion crossSection='-1 0 0 2 1 0 -1 0' solid='false' spine='3 1 0 3 0 0'> |
55 | <!-- spine is open, crossSection is closed --> |
56 | </Extrusion> |
57 | </Shape> |
58 | </Transform> |
59 | </Group> |
60 | <Group> |
61 | <Transform scale='1.5 1.5 1.5' translation='20 0 0'> |
62 | <Shape> |
63 | <Appearance> |
64 | <Material diffuseColor='0.1 0 0.8'/> |
65 | </Appearance> |
66 | <!-- spine is closed with only 3 points, thus 2 independent points. Sounds like a potential problem but is actually legitimate (i.e. not geometrically degenerate) for many cases. --> |
67 | <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'> |
68 | <!-- spine is closed, crossSection is closed --> |
69 | </Extrusion> |
70 | </Shape> |
71 | </Transform> |
72 | </Group> |
73 | </Scene> |
74 | </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. -->