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='LogoLetterPrototypes.x3d'/> |
6 | <meta name='description' content='This model contains prototype definitions for individual letters designed to be drawn on an exterior face of another shape. A typical example of usage is on the faces of a cube as a logo.'/> |
7 | <meta name='creator' content='Roy Walmsley'/> |
8 | <meta name='created' content='18 March 2017'/> |
9 | <meta name='modified' content='20 October 2019'/> |
10 | <meta name=' TODO ' content=' add more letters! '/> |
11 | <meta name='reference' content='CubeLogoPrototype.x3d'/> |
12 | <meta name='reference' content='VirtualRealityHackathonLogo.x3d'/> |
13 | <meta name='reference' content='VirtualRealityHackathonLogoLetterPrototypes.x3d'/> |
14 | <meta name='generator' content='manual'/> |
15 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
16 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/LogoLetterPrototypes.x3d'/> |
17 | <meta name='license' content='../license.html'/> |
18 | </head> |
19 | <Scene> |
20 | <!-- Dimensions are 0.9 x 0.9 --> |
21 | <WorldInfo title='LogoLetterPrototypes.x3d'/> |
22 | <ProtoDeclare name='Logo_letter_H' appinfo="The letter 'H' for display on a 3D logo"> |
23 | <ProtoInterface> |
24 | <field name='front_colour' type='SFColor' value='1 0 0' accessType='inputOutput'/> |
25 | <field name='sides_colour' type='SFColor' value='1 0.5 0.5' accessType='inputOutput'/> |
26 | </ProtoInterface> |
27 | <ProtoBody> |
28 | <Group> |
29 | <Shape> |
30 | <Appearance> |
31 | <Material> |
32 | <IS> |
33 | <connect nodeField='diffuseColor' protoField='front_colour'/> |
34 | </IS> |
35 | </Material> |
36 | </Appearance> |
37 | <IndexedFaceSet coordIndex='0 1 2 11 -1 3 4 9 10 -1 8 5 6 7 -1'> |
38 |
<!-- Coordinate
Letter_H_Coords is a DEF node that has 1 USE node: USE_1 --> <Coordinate DEF='Letter_H_Coords' point='-0.45 0.45 0.05 -0.45 -0.45 0.05 -0.25 -0.45 0.05 -0.25 -0.1 0.05 0.25 -0.1 0.05 0.25 -0.45 0.05 0.45 -0.45 0.05 0.45 0.45 0.05 0.25 0.45 0.05 0.25 0.1 0.05 -0.25 0.1 0.05 -0.25 0.45 0.05 -0.45 0.45 0 -0.45 -0.45 0 -0.25 -0.45 0 -0.25 -0.1 0 0.25 -0.1 0 0.25 -0.45 0 0.45 -0.45 0 0.45 0.45 0 0.25 0.45 0 0.25 0.1 0 -0.25 0.1 0 -0.25 0.45 0'/> |
39 | </IndexedFaceSet> |
40 | </Shape> |
41 | <Shape> |
42 | <Appearance> |
43 | <Material> |
44 | <IS> |
45 | <connect nodeField='diffuseColor' protoField='sides_colour'/> |
46 | </IS> |
47 | </Material> |
48 | </Appearance> |
49 | <IndexedFaceSet coordIndex='0 12 13 1 -1 1 13 14 2 -1 2 14 15 3 -1 3 15 16 4 -1 4 16 17 5 -1 5 17 18 6 -1 6 18 19 7 -1 7 19 20 8 -1 8 20 21 9 -1 9 21 22 10 -1 10 22 23 11 -1 11 23 12 0 -1'> |
50 | <Coordinate USE='Letter_H_Coords'/> |
51 | </IndexedFaceSet> |
52 | </Shape> |
53 | </Group> |
54 | </ProtoBody> |
55 | </ProtoDeclare> |
56 | <ProtoDeclare name='Logo_letter_R' appinfo="The letter 'R' for display on a 3D logo"> |
57 | <ProtoInterface> |
58 | <field name='front_colour' type='SFColor' value='1 0 0' accessType='inputOutput'/> |
59 | <field name='sides_colour' type='SFColor' value='1 0.5 0.5' accessType='inputOutput'/> |
60 | </ProtoInterface> |
61 | <ProtoBody> |
62 | <Group> |
63 | <Shape> |
64 | <Appearance> |
65 | <Material> |
66 | <IS> |
67 | <connect nodeField='diffuseColor' protoField='front_colour'/> |
68 | </IS> |
69 | </Material> |
70 | </Appearance> |
71 | <IndexedFaceSet coordIndex='0 1 2 12 -1 13 17 11 12 -1 17 16 10 11 -1 10 16 9 -1 9 16 15 8 -1 14 7 8 15 -1 3 4 5 6 -1'> |
72 |
<!-- Coordinate
Letter_R_Coords is a DEF node that has 1 USE node: USE_1 --> <Coordinate DEF='Letter_R_Coords' point='-0.45 0.45 0.05 -0.45 -0.45 0.05 -0.25 -0.45 0.05 -0.05 -0.10 0.05 0.15 -0.45 0.05 0.40 -0.45 0.05 0.2 -0.10 0.05 -0.25 -0.10 0.05 0.35 -0.10 0.05 0.45 0 0.05 0.45 0.35 0.05 0.35 0.45 0.05 -0.25 0.45 0.05 -0.25 0.25 0.05 -0.25 0.10 0.05 0.2 0.10 0.05 0.25 0.175 0.05 0.2 0.25 0.05 -0.45 0.45 0 -0.45 -0.45 0 -0.25 -0.45 0 -0.05 -0.10 0 0.15 -0.45 0 0.40 -0.45 0 0.2 -0.10 0 -0.25 -0.10 0 0.35 -0.10 0 0.45 0 0 0.45 0.35 0 0.35 0.45 0 -0.25 0.45 0 -0.25 0.25 0 -0.25 0.10 0 0.2 0.10 0 0.25 0.175 0 0.2 0.25 0'/> |
73 | </IndexedFaceSet> |
74 | </Shape> |
75 | <Shape> |
76 | <Appearance> |
77 | <Material> |
78 | <IS> |
79 | <connect nodeField='diffuseColor' protoField='sides_colour'/> |
80 | </IS> |
81 | </Material> |
82 | </Appearance> |
83 | <IndexedFaceSet coordIndex='0 18 19 1 -1 1 19 20 2 -1 2 20 25 7 -1 7 25 21 3 -1 3 21 22 4 -1 4 22 23 5 -1 5 23 24 6 -1 6 24 26 8 -1 8 26 27 9 -1 9 27 28 10 -1 10 28 29 11 -1 11 29 18 0 -1 14 32 31 13 -1 15 33 32 14 -1 16 34 33 15 -1 17 35 34 16 -1 13 31 35 17 -1'> |
84 | <Coordinate USE='Letter_R_Coords'/> |
85 | </IndexedFaceSet> |
86 | </Shape> |
87 | </Group> |
88 | </ProtoBody> |
89 | </ProtoDeclare> |
90 | <ProtoDeclare name='Logo_letter_V' appinfo="The letter 'V' for display on a 3D logo"> |
91 | <ProtoInterface> |
92 | <field name='front_colour' type='SFColor' value='1 0 0' accessType='inputOutput'/> |
93 | <field name='sides_colour' type='SFColor' value='1 0.5 0.5' accessType='inputOutput'/> |
94 | </ProtoInterface> |
95 | <ProtoBody> |
96 | <Group> |
97 | <Shape> |
98 | <Appearance> |
99 | <Material> |
100 | <IS> |
101 | <connect nodeField='diffuseColor' protoField='front_colour'/> |
102 | </IS> |
103 | </Material> |
104 | </Appearance> |
105 | <IndexedFaceSet coordIndex='0 1 2 3 -1 4 1 2 5 -1'> |
106 |
<!-- Coordinate
Letter_V_Coords is a DEF node that has 1 USE node: USE_1 --> <Coordinate DEF='Letter_V_Coords' point='-0.45 0.45 0.05 -0.1 -0.45 0.05 0.1 -0.45 0.05 -0.25 0.45 0.05 0.25 0.45 0.05 0.45 0.45 0.05 -0.45 0.45 0 -0.1 -0.45 0 0.1 -0.45 0 -0.25 0.45 0 0.25 0.45 0 0.45 0.45 0 0 -0.1929 0.05 0 -0.1929 0'/> |
107 | </IndexedFaceSet> |
108 | </Shape> |
109 | <Shape> |
110 | <Appearance> |
111 | <Material> |
112 | <IS> |
113 | <connect nodeField='diffuseColor' protoField='sides_colour'/> |
114 | </IS> |
115 | </Material> |
116 | </Appearance> |
117 | <IndexedFaceSet coordIndex='7 1 0 6 -1 6 0 3 9 -1 1 7 8 2 -1 2 8 11 5 -1 10 4 5 11 -1 13 12 4 10 -1 9 3 12 13 -1'> |
118 | <Coordinate USE='Letter_V_Coords'/> |
119 | </IndexedFaceSet> |
120 | </Shape> |
121 | </Group> |
122 | </ProtoBody> |
123 | </ProtoDeclare> |
124 | <Anchor description='Select text to view example model' url=' "VirtualRealityHackathonLogoLetterPrototypes.x3d" "https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/VirtualRealityHackathonLogoLetterPrototypes.x3d" "VirtualRealityHackathonLogoLetterPrototypes.wrl" "https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/VirtualRealityHackathonLogoLetterPrototypes.wrl" '> |
125 | <!-- Selectable Text design pattern has transparent Box and Anchor description as a tooltip --> |
126 | <Group> |
127 | <Shape> |
128 | <Text string='"LogoLetterPrototypes.x3d" "" "prototype declarations are used by" "" "VirtualRealityHackathonLogoLetterPrototypes.x3d"'> |
129 | <FontStyle family='"SANS"' justify='"MIDDLE" "MIDDLE"' size='0.4' style='BOLD'/> |
130 | </Text> |
131 | <Appearance> |
132 | <Material diffuseColor='0.9 0.9 0.9'/> |
133 | </Appearance> |
134 | </Shape> |
135 | <Shape> |
136 | <Box size='11 2.5 .001'/> |
137 | <Appearance> |
138 | <Material diffuseColor='0.6 0.6 0.9' transparency='0.8'/> |
139 | </Appearance> |
140 | </Shape> |
141 | </Group> |
142 | </Anchor> |
143 | </Scene> |
144 | </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.
Anchor |
description='Select text to view example model' User-interaction hint for this node. |
<!--
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)
<ProtoDeclare
name='ProtoName'>
<field
name='fieldName'/> </ProtoDeclare>
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->