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='ExtrusionPentagonCrossSectionItssTexture.x3d'/> |
6 | <meta name='description' content='Comparison of Extrusion, ExtrusionCrossSectionPrototype, ExtrusionCrossSectionITSSPrototype for Texture Mapping.'/> |
7 | <meta name='creator' content='Don Brutzman and Sungmin Kwon'/> |
8 | <meta name='contributor' content='Naval Postgraduate School'/> |
9 | <meta name='created' content='23 October 2017'/> |
10 | <meta name='modified' content='20 January 2024'/> |
11 | <meta name='reference' content='https://en.wikipedia.org/wiki/Extrusion'/> |
12 | <meta name='subject' content='Extrusion, ExtrusionCrossSectionPrototype, ExtrusionCrossSectionITSSPrototype with Textrue Image'/> |
13 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter06GeometryPointsLinesPolygons/ExtrusionPentagonCrossSectionItssTexture.x3d'/> |
14 | <meta name='generator' content='X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit'/> |
15 | <meta name='license' content='../license.html'/> |
16 | </head> |
17 | <Scene> |
18 | <WorldInfo title='ExtrusionPentagonCrossSectionItssTexture.x3d'/> |
19 | <NavigationInfo DEF='ExamineMode'/> |
20 | <NavigationInfo DEF='FlyPanNavigation' type='"FLY" "ANY"'/> |
21 | <Background skyColor='1 1 1'/> |
22 | <Viewpoint description='Oblique view from above' orientation='-1 0.015 -0.006 0.78' position='0.25 14 14'/> |
23 | <Viewpoint description='Extrusion Pentagon' orientation='-1 0 0 0.2' position='0 4 16'/> |
24 | <Viewpoint description='Overhead view' orientation='1 0 0 -1.57' position='0 27 0'/> |
25 | <Background groundColor='0.9 0.9 0.9' skyColor='0.9 0.9 0.9'/> |
26 | <!-- Title --> |
27 | <Transform rotation='1 0 0 -1.3' translation='0 2 -9'> |
28 | <Shape> |
29 | <Text DEF='Title' string='"Comparison of Extrusion Based Structure with Texture Map"'> |
30 | <FontStyle justify='"MIDDLE" "MIDDLE"'/> |
31 | </Text> |
32 | <Appearance> |
33 | <Material diffuseColor='0 0 0'/> |
34 | </Appearance> |
35 | </Shape> |
36 | </Transform> |
37 | <!-- Extrusion Node --> |
38 | <Transform translation='-4 0 -4'> |
39 | <Shape> |
40 | <Extrusion beginCap='false' crossSection='-3.5 -1 -2.1 2.9 2.2 2.9 3.6 -1 0 -3.5 -3.5 -1' endCap='false' scale='1 1 1 1 0.2 0.2' spine='0 0 0 0 1 0 0 1.6 0'/> |
41 | <Appearance> |
42 | <Material diffuseColor='0.2 0.6 0.5'/> |
43 |
<ImageTexture
url=' "../earth-topo.png![]() ![]() |
44 | </Appearance> |
45 | </Shape> |
46 | <Transform rotation='1 0 0 -1.3' translation='0 0 2.9'> |
47 | <Shape> |
48 | <Text string='"Extrusion Node"'> |
49 |
<!-- FontStyle
CenterFontStyle is a DEF node that has 2 USE nodes: USE_1, USE_2 --> <FontStyle DEF='CenterFontStyle' justify='"MIDDLE" "BEGIN"' size='0.6' style='BOLD'/> |
50 | </Text> |
51 | <Appearance> |
52 | <Material diffuseColor='0 0 0'/> |
53 | </Appearance> |
54 | </Shape> |
55 | </Transform> |
56 | </Transform> |
57 | <!-- ExtrusionCrossSection Prototype Node --> |
58 | <ExternProtoDeclare name='ExtrusionCrossSection' appinfo='Shape prototype for Extrusion node that also draws spine line plus oriented scaled cross sections at each spine point' documentation='https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter06GeometryPointsLinesPolygons/ExtrusionCrossSectionPrototype.x3d' url=' "ExtrusionCrossSectionPrototype.x3d#ExtrusionCrossSection" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter06GeometryPointsLinesPolygons/ExtrusionCrossSectionPrototype.x3d#ExtrusionCrossSection" "ExtrusionCrossSectionPrototype.wrl#ExtrusionCrossSection" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter06GeometryPointsLinesPolygons/ExtrusionCrossSectionPrototype.wrl#ExtrusionCrossSection" '> |
59 |
<field name='name' type='SFString' accessType='initializeOnly'
appinfo='Extrusion name'/> |
60 |
<field name='crossSection' type='MFVec2f' accessType='initializeOnly'
appinfo='Extrusion field'/> |
61 |
<field name='spine' type='MFVec3f' accessType='initializeOnly'
appinfo='Extrusion field'/> |
62 |
<field name='scale' type='MFVec2f' accessType='initializeOnly'
appinfo='Extrusion field'/> |
63 |
<field name='orientation' type='MFRotation' accessType='initializeOnly'
appinfo='Extrusion field'/> |
64 |
<field name='beginCap' type='SFBool' accessType='initializeOnly'
appinfo='Extrusion field'/> |
65 |
<field name='endCap' type='SFBool' accessType='initializeOnly'
appinfo='Extrusion field'/> |
66 |
<field name='ccw' type='SFBool' accessType='initializeOnly'
appinfo='Extrusion field'/> |
67 |
<field name='convex' type='SFBool' accessType='initializeOnly'
appinfo='Extrusion field'/> |
68 |
<field name='creaseAngle' type='SFFloat' accessType='initializeOnly'
appinfo='Extrusion field'/> |
69 |
<field name='solid' type='SFBool' accessType='initializeOnly'
appinfo='Extrusion field'/> |
70 |
<field name='extrusionImageTexture' type='SFNode' accessType='initializeOnly'
appinfo='Image to apply to Extrusion'/> |
71 |
<field name='extrusionTextureTransform' type='SFNode' accessType='initializeOnly'
appinfo='TextureTransform coordinates of image applied to Extrusion'/> |
72 |
<field name='set_crossSection' type='MFVec2f' accessType='inputOnly'
appinfo='Extrusion field'/> |
73 |
<field name='set_spine' type='MFVec3f' accessType='inputOnly'
appinfo='Extrusion field'/> |
74 |
<field name='set_scale' type='MFVec2f' accessType='inputOnly'
appinfo='Extrusion field'/> |
75 |
<field name='set_orientation' type='MFRotation' accessType='inputOnly'
appinfo='Extrusion field'/> |
76 |
<field name='traceEnabled' type='SFBool' accessType='initializeOnly'
appinfo='Whether to provide initialization trace statements showing node construction'/> |
77 |
<field name='spineColor' type='SFColor' accessType='inputOutput'
appinfo='emissiveColor of spine'/> |
78 |
<field name='crossSectionColor' type='SFColor' accessType='inputOutput'
appinfo='diffuseColor of crossSection'/> |
79 |
<field name='crossSectionTransparency' type='SFFloat' accessType='inputOutput'
appinfo='transparency of crossSection'/> |
80 |
<field name='extrusionColor' type='SFColor' accessType='inputOutput'
appinfo='diffuseColor of extrusion hull'/> |
81 |
<field name='extrusionTransparency' type='SFFloat' accessType='inputOutput'
appinfo='transparency of extrusion hull'/> |
82 | </ExternProtoDeclare> |
83 | <Transform translation='4 0 -4'> |
84 | <ProtoInstance name='ExtrusionCrossSection' DEF='PentagonExtrusion'> |
85 | <fieldValue name='name' value='PentagonExtrusion'/> |
86 | <fieldValue name='crossSection' value='-3.5 -1 -2.1 2.9 2.2 2.9 3.6 -1 0 -3.5 -3.5 -1'/> |
87 | <fieldValue name='spine' value='0 0 0 0 1 0 0 1.6 0'/> |
88 | <fieldValue name='scale' value='1 1 1 1 0.2 0.2'/> |
89 | <fieldValue name='creaseAngle' value='3'/> |
90 | <fieldValue name='ccw' value='true'/> |
91 | <fieldValue name='extrusionImageTexture'> |
92 |
<ImageTexture
url=' "../earth-topo.png![]() ![]() |
93 | </fieldValue> |
94 | <fieldValue name='spineColor' value='0.7 0.7 0'/> |
95 | <fieldValue name='crossSectionColor' value='0.6 0.6 0.2'/> |
96 | <fieldValue name='extrusionColor' value='0.2 0.6 0.5'/> |
97 | <fieldValue name='extrusionTransparency' value='0.0'/> |
98 | <fieldValue name='traceEnabled' value='false'/> |
99 | </ProtoInstance> |
100 | <Transform rotation='1 0 0 -1.3' translation='0 0 3'> |
101 | <Shape> |
102 | <Text string='"ExtrusionCrossSection" "Prototype"'> |
103 | <FontStyle USE='CenterFontStyle'/> |
104 | </Text> |
105 | <Appearance> |
106 | <Material diffuseColor='0 0 0'/> |
107 | </Appearance> |
108 | </Shape> |
109 | </Transform> |
110 | </Transform> |
111 | <!-- ExtrusionCrossSectionITSS Prototype Node --> |
112 | <ExternProtoDeclare name='ExtrusionCrossSectionITSS' url=' "ExtrusionCrossSectionITSSPrototype.x3d#ExtrusionCrossSectionITSS" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter06GeometryPointsLinesPolygons/ExtrusionCrossSectionITSSPrototype.x3d#ExtrusionCrossSectionITSS" "ExtrusionCrossSectionITSSPrototype.wrl#ExtrusionCrossSectionITSS" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter06GeometryPointsLinesPolygons/ExtrusionCrossSectionITSSPrototype.wrl#ExtrusionCrossSectionITSS" '> |
113 |
<field name='name' type='SFString' accessType='initializeOnly'
appinfo='Extrusion name'/> |
114 |
<field name='crossSection' type='MFVec2f' accessType='initializeOnly'
appinfo='Extrusion field'/> |
115 |
<field name='spine' type='MFVec3f' accessType='initializeOnly'
appinfo='Extrusion field'/> |
116 |
<field name='scale' type='MFVec2f' accessType='initializeOnly'
appinfo='Extrusion field'/> |
117 |
<field name='orientation' type='MFRotation' accessType='initializeOnly'
appinfo='Extrusion field'/> |
118 |
<field name='beginCap' type='SFBool' accessType='initializeOnly'
appinfo='Extrusion field'/> |
119 |
<field name='endCap' type='SFBool' accessType='initializeOnly'
appinfo='Extrusion field'/> |
120 |
<field name='ccw' type='SFBool' accessType='initializeOnly'
appinfo='Extrusion field'/> |
121 |
<field name='convex' type='SFBool' accessType='initializeOnly'
appinfo='Extrusion field'/> |
122 |
<field name='creaseAngle' type='SFFloat' accessType='initializeOnly'
appinfo='Extrusion field'/> |
123 |
<field name='solid' type='SFBool' accessType='initializeOnly'
appinfo='Extrusion field'/> |
124 |
<field name='extrusionImageTexture' type='SFNode' accessType='initializeOnly'
appinfo='Image to apply to Extrusion'/> |
125 |
<field name='extrusionTextureTransform' type='SFNode' accessType='initializeOnly'
appinfo='TextureTransform coordinates of image applied to Extrusion'/> |
126 |
<field name='set_crossSection' type='MFVec2f' accessType='inputOnly'
appinfo='Extrusion field'/> |
127 |
<field name='set_spine' type='MFVec3f' accessType='inputOnly'
appinfo='Extrusion field'/> |
128 |
<field name='set_scale' type='MFVec2f' accessType='inputOnly'
appinfo='Extrusion field'/> |
129 |
<field name='set_orientation' type='MFRotation' accessType='inputOnly'
appinfo='Extrusion field'/> |
130 |
<field name='traceEnabled' type='SFBool' accessType='initializeOnly'
appinfo='Whether to provide initialization trace statements showing node construction'/> |
131 |
<field name='spineColor' type='SFColor' accessType='inputOutput'
appinfo='emissiveColor of spine'/> |
132 |
<field name='crossSectionColor' type='SFColor' accessType='inputOutput'
appinfo='diffuseColor of crossSection'/> |
133 |
<field name='crossSectionTransparency' type='SFFloat' accessType='inputOutput'
appinfo='transparency of crossSection'/> |
134 |
<field name='extrusionColor' type='SFColor' accessType='inputOutput'
appinfo='diffuseColor of extrusion hull'/> |
135 |
<field name='extrusionTransparency' type='SFFloat' accessType='inputOutput'
appinfo='transparency of extrusion hull'/> |
136 | </ExternProtoDeclare> |
137 | <Transform translation='0 0 3.5'> |
138 | <ProtoInstance name='ExtrusionCrossSectionITSS' DEF='PentagonExtrusionITSS'> |
139 | <fieldValue name='name' value='PentagonExtrusionITSS'/> |
140 | <fieldValue name='crossSection' value='-3.5 -1 -2.1 2.9 2.2 2.9 3.6 -1 0 -3.5 -3.5 -1'/> |
141 | <fieldValue name='spine' value='0 0 0 0 1 0 0 1.6 0'/> |
142 | <fieldValue name='scale' value='1 1 1 1 0.2 0.2'/> |
143 | <fieldValue name='ccw' value='true'/> |
144 | <fieldValue name='extrusionImageTexture'> |
145 |
<ImageTexture
url=' "../earth-topo.png![]() ![]() |
146 | </fieldValue> |
147 | <fieldValue name='spineColor' value='0.7 0.7 0'/> |
148 | <fieldValue name='crossSectionColor' value='0.6 0.6 0.2'/> |
149 | <fieldValue name='extrusionColor' value='0.2 0.6 0.5'/> |
150 | <fieldValue name='extrusionTransparency' value='0.0'/> |
151 | <fieldValue name='traceEnabled' value='false'/> |
152 | </ProtoInstance> |
153 | <Transform rotation='1 0 0 -1.5' translation='0 0 3.2'> |
154 | <Shape> |
155 | <Text string='"ExtrusionCrossSectionITSS Prototype"'> |
156 | <FontStyle USE='CenterFontStyle'/> |
157 | </Text> |
158 | <Appearance> |
159 | <Material diffuseColor='0 0 0'/> |
160 | </Appearance> |
161 | </Shape> |
162 | </Transform> |
163 | </Transform> |
164 | </Scene> |
165 | </X3D> |
Event Graph ROUTE Table with 0 ROUTE connections total, showing X3D event-model relationships for this scene.
Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.
PentagonExtrusion
ProtoInstance ExtrusionCrossSection |
No ROUTE connection found for output events from this node. This ProtoInstance contains SFNode/MFNode fieldValue declaration with direct access to other nodes, and thus has potential to produce run-time animation. |
PentagonExtrusionITSS
ProtoInstance ExtrusionCrossSectionITSS |
No ROUTE connection found for output events from this node. This ProtoInstance contains SFNode/MFNode fieldValue declaration with direct access to other nodes, and thus has potential to produce run-time animation. |
<!--
Color 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)
<ProtoInstance
name='ProtoName'>
<field
name='fieldName'/> </ProtoInstance>
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->