1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
|
3 | <X3D profile='Immersive' version='3.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.xsd'> |
4 | <head> |
5 | <meta name='title' content='style.x3d'/> |
6 | <meta name='Image' content='style-front.jpg'/> |
7 | <meta name='reference' content='http://www.nist.gov/vrml.html'/> |
8 | <meta name='reference' content='http://www.itl.nist.gov/div897/ctg/vrml/vrml.html'/> |
9 | <meta name='creator' content='http://www.itl.nist.gov/div897/ctg/vrml/members.html'/> |
10 | <meta name='disclaimer' content='This file was provided by the National Institute of Standards and Technology, and is part of the X3D Conformance Test Suite, available at http://www.nist.gov/vrml.html The information contained within this file is provided for use in establishing conformance to the ISO VRML97 Specification. Conformance to this test does not imply recommendation or endorsement by the National Institute of Standards and Technology (NIST). This software can be redistributed and/or modified freely provided that any derivative works bear some notice that they are derived from it, and any modified versions bear some notice that they have been modified. '/> |
11 | <meta name='reference' content='Original NIST Conformance Testing Group, https://www.itl.nist.gov/div897/ctg/vrml'/> |
12 | <meta name='reference' content='Interactive Conformance Testing for VRML, Mary Brady and Lynn Rosenthal, NIST, created 8 September 2010 and updated 25 August 2016, https://www.nist.gov/itl/ssd/information-systems-group/interactive-conformance-testing-vrml'/> |
13 | <meta name='info' content='Correct definition and compliance of this conformance scene is maintained by the X3D Working Group, https://www.web3d.org/working-groups/x3d'/> |
14 | <meta name='translator' content='Michael Kass NIST, Don Brutzman NPS'/> |
15 | <meta name='translated' content='21 January 2001'/> |
16 | <meta name='modified' content='28 August 2023'/> |
17 | <meta name='description' content='Test style attribute for FontStyle node. All three required family fonts are used to test the four "style" types of "PLAIN" (upper left quadrant), "ITALIC" (upper right quadrant), "BOLD" (lower left quadrant) and "BOLDITALIC" (lower right quadrant). Text should reflect these styles.'/> |
18 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/ConformanceNist/Appearance/FontStyle/style.x3d'/> |
19 | <meta name='generator' content='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/> |
20 | <meta name='generator' content='X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit'/> |
21 | <meta name='license' content='../../license.html'/> |
22 | </head> |
23 | <Scene> |
24 | <WorldInfo title='style.x3d'/> |
25 | <Viewpoint description='FontStyle style attribute' position='0 0 20'/> |
26 | <Transform translation='-14 3 0'> |
27 | <Shape> |
28 | <Appearance> |
29 | <Material/> |
30 | </Appearance> |
31 | <Text string='"This is PLAIN SERIF"'> |
32 | <FontStyle/> |
33 | </Text> |
34 | </Shape> |
35 | </Transform> |
36 | <Transform translation='-14 2 0'> |
37 | <Shape> |
38 | <Appearance> |
39 | <Material/> |
40 | </Appearance> |
41 | <Text string='"This is PLAIN SANS"'> |
42 | <FontStyle family='"SANS"'/> |
43 | </Text> |
44 | </Shape> |
45 | </Transform> |
46 | <Transform translation='-14 1 0'> |
47 | <Shape> |
48 | <Appearance> |
49 | <Material/> |
50 | </Appearance> |
51 | <Text string='"This is PLAIN TYPEWRITER"'> |
52 | <FontStyle family='"TYPEWRITER"'/> |
53 | </Text> |
54 | </Shape> |
55 | </Transform> |
56 | <Transform translation='0 3 0'> |
57 | <Shape> |
58 | <Appearance> |
59 | <Material/> |
60 | </Appearance> |
61 | <Text string='"This is ITALIC SERIF"'> |
62 | <FontStyle style='ITALIC'/> |
63 | </Text> |
64 | </Shape> |
65 | </Transform> |
66 | <Transform translation='0 2 0'> |
67 | <Shape> |
68 | <Appearance> |
69 | <Material/> |
70 | </Appearance> |
71 | <Text string='"This is ITALIC SANS"'> |
72 | <FontStyle family='"SANS"' style='ITALIC'/> |
73 | </Text> |
74 | </Shape> |
75 | </Transform> |
76 | <Transform translation='0 1 0'> |
77 | <Shape> |
78 | <Appearance> |
79 | <Material/> |
80 | </Appearance> |
81 | <Text string='"This is ITALIC TYPEWRITER"'> |
82 | <FontStyle family='"TYPEWRITER"' style='ITALIC'/> |
83 | </Text> |
84 | </Shape> |
85 | </Transform> |
86 | <Transform translation='-14 -1 0'> |
87 | <Shape> |
88 | <Appearance> |
89 | <Material/> |
90 | </Appearance> |
91 | <Text string='"This is BOLD SERIF"'> |
92 | <FontStyle style='BOLD'/> |
93 | </Text> |
94 | </Shape> |
95 | </Transform> |
96 | <Transform translation='-14 -2 0'> |
97 | <Shape> |
98 | <Appearance> |
99 | <Material/> |
100 | </Appearance> |
101 | <Text string='"This is BOLD SANS"'> |
102 | <FontStyle family='"SANS"' style='BOLD'/> |
103 | </Text> |
104 | </Shape> |
105 | </Transform> |
106 | <Transform translation='-14 -3 0'> |
107 | <Shape> |
108 | <Appearance> |
109 | <Material/> |
110 | </Appearance> |
111 | <Text string='"This is BOLD TYPEWRITER"'> |
112 | <FontStyle family='"TYPEWRITER"' style='BOLD'/> |
113 | </Text> |
114 | </Shape> |
115 | </Transform> |
116 | <Transform translation='0 -1 0'> |
117 | <Shape> |
118 | <Appearance> |
119 | <Material/> |
120 | </Appearance> |
121 | <Text string='"This is BOLDITALIC SERIF"'> |
122 | <FontStyle style='BOLDITALIC'/> |
123 | </Text> |
124 | </Shape> |
125 | </Transform> |
126 | <Transform translation='0 -2 0'> |
127 | <Shape> |
128 | <Appearance> |
129 | <Material/> |
130 | </Appearance> |
131 | <Text string='"This is BOLDITALIC SANS"'> |
132 | <FontStyle family='"SANS"' style='BOLDITALIC'/> |
133 | </Text> |
134 | </Shape> |
135 | </Transform> |
136 | <Transform translation='0 -3 0'> |
137 | <Shape> |
138 | <Appearance> |
139 | <Material/> |
140 | </Appearance> |
141 | <Text string='"This is BOLDITALIC TYPEWRITER"'> |
142 | <FontStyle family='"TYPEWRITER"' style='BOLDITALIC'/> |
143 | </Text> |
144 | </Shape> |
145 | </Transform> |
146 | <Transform> |
147 | <Shape> |
148 | <IndexedLineSet DEF='LINES' coordIndex='0 1 -1 1 2 -1 3 4 -1 4 5 -1 6 7 -1 7 8 -1 9 10 -1 10 11 -1 12 13 -1 13 14 -1 15 16 -1 16 17 -1 18 19 -1 19 20 -1 21 22 -1 22 23 -1 24 25 -1 25 26 -1 27 28 -1 28 29 -1'> |
149 | <Coordinate point='-20 -5 0 0 -5 0 20 -5 0 -20 -4 0 0 -4 0 20 -4 0 -20 -3 0 0 -3 0 20 -3 0 -20 -2 0 0 -2 0 20 -2 0 -20 -1 0 0 -1 0 20 -1 0 -20 1 0 0 1 0 20 1 0 -20 2 0 0 2 0 20 2 0 -20 3 0 0 3 0 20 3 0 -20 4 0 0 4 0 20 4 0 -20 5 0 0 5 0 20 5 0'/> |
150 | </IndexedLineSet> |
151 | <Appearance> |
152 | <Material emissiveColor='0 1 0'/> |
153 | </Appearance> |
154 | </Shape> |
155 | </Transform> |
156 | <Transform> |
157 | <Shape> |
158 | <Appearance> |
159 | <Material emissiveColor='0 1 0'/> |
160 | </Appearance> |
161 | <IndexedLineSet DEF='AXES' coordIndex='0 1 -1 2 3 -1'> |
162 | <Coordinate point='-20 0 0 20 0 0 0 5 0 0 -5 0'/> |
163 | </IndexedLineSet> |
164 | </Shape> |
165 | </Transform> |
166 | </Scene> |
167 | </X3D> |
<!--
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)
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->