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='Interchange' 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='test_rotationZ.x3d'/> |
6 | <meta name='Image' content='test-rotationZ-front.jpg'/> |
7 | <meta name='Image' content='test-rotationZ-rear.jpg'/> |
8 | <meta name='Image' content='test-rotationZ-top.jpg'/> |
9 | <meta name='Image' content='test-rotationZ-bottom.jpg'/> |
10 | <meta name='Image' content='test-rotationZ-left.jpg'/> |
11 | <meta name='Image' content='test-rotationZ-right.jpg'/> |
12 | <meta name='reference' content='http://www.nist.gov/vrml.html'/> |
13 | <meta name='reference' content='http://www.itl.nist.gov/div897/ctg/vrml/vrml.html'/> |
14 | <meta name='creator' content='http://www.itl.nist.gov/div897/ctg/vrml/members.html'/> |
15 | <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. '/> |
16 | <meta name='reference' content='Original NIST Conformance Testing Group, https://www.itl.nist.gov/div897/ctg/vrml'/> |
17 | <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'/> |
18 | <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'/> |
19 | <meta name='translator' content='Michael Kass NIST, Don Brutzman NPS'/> |
20 | <meta name='translated' content='21 January 2001'/> |
21 | <meta name='modified' content='28 August 2023'/> |
22 | <meta name='description' content='This test defines a series of Transforms that rotates an IndexedFaceSet around the Z axis. The test should generate a sequence of the same multicolor IndexedFaceSet rotating about the Z axis.'/> |
23 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/ConformanceNist/GroupingNodes/Transform/test_rotationZ.x3d'/> |
24 | <meta name='generator' content='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/> |
25 | <meta name='generator' content='X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit'/> |
26 | <meta name='license' content='../../license.html'/> |
27 | </head> |
28 | <Scene> |
29 | <WorldInfo title='test_rotationZ.x3d'/> |
30 | <NavigationInfo type='"EXAMINE" "WALK" "FLY" "ANY"'/> |
31 | <Group> |
32 | <Viewpoint description='Front View' position='0 0 13'/> |
33 | <Viewpoint description='Left View' orientation='0 1 0 -1.57' position='-13 0 0'/> |
34 | <Viewpoint description='Rear View' orientation='0 1 0 3.14' position='0 0 -13'/> |
35 | <Viewpoint description='Right View' orientation='0 1 0 1.57' position='13 0 0'/> |
36 | <Viewpoint description='Top View' orientation='1 0 0 -1.57' position='0 13 0'/> |
37 | <Viewpoint description='Bottom View' orientation='1 0 0 1.57' position='0 -13 0'/> |
38 | </Group> |
39 | <Transform translation='-3 3 0'> |
40 | <Shape> |
41 | <Appearance> |
42 | <Material/> |
43 | </Appearance> |
44 |
<!-- IndexedFaceSet
the-set is a DEF node that has 14 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5, USE_6, USE_7, USE_8, USE_9, USE_10, USE_11, USE_12, USE_13, USE_14 -->
<IndexedFaceSet DEF='the-set' colorPerVertex='false' solid='false' colorIndex='2 3 1 0 5 4' coordIndex='0 1 2 3 -1 1 7 4 2 -1 7 6 5 4 -1 0 3 5 6 -1 3 2 4 5 -1 6 7 1 0 -1'> |
45 | <Color color='1 0 0 0 1 0 0 0 1 1 1 0 1 0 0 0 1 0'/> |
46 | <Coordinate point='-0.5 -0.5 0.5 0.5 -0.5 0.5 0.5 0.5 0.5 -0.5 0.5 0.5 0.5 0.5 -0.5 -0.5 0.5 -0.5 -0.5 -0.5 -0.5 0.5 -0.5 -0.5'/> |
47 | </IndexedFaceSet> |
48 | </Shape> |
49 | </Transform> |
50 | <Transform rotation='0 0 1 0.5' translation='-1.5 3 0'> |
51 | <Shape> |
52 | <Appearance> |
53 | <Material/> |
54 | </Appearance> |
55 | <IndexedFaceSet USE='the-set'/> |
56 | </Shape> |
57 | </Transform> |
58 | <Transform rotation='0 0 1 1' translation='0 3 0'> |
59 | <Shape> |
60 | <Appearance> |
61 | <Material/> |
62 | </Appearance> |
63 | <IndexedFaceSet USE='the-set'/> |
64 | </Shape> |
65 | </Transform> |
66 | <Transform rotation='0 0 1 1.5' translation='1.5 3 0'> |
67 | <Shape> |
68 | <Appearance> |
69 | <Material/> |
70 | </Appearance> |
71 | <IndexedFaceSet USE='the-set'/> |
72 | </Shape> |
73 | </Transform> |
74 | <Transform rotation='0 0 1 2' translation='3 3 0'> |
75 | <Shape> |
76 | <Appearance> |
77 | <Material/> |
78 | </Appearance> |
79 | <IndexedFaceSet USE='the-set'/> |
80 | </Shape> |
81 | </Transform> |
82 | <Transform rotation='0 0 1 2.5' translation='-3 0 0'> |
83 | <Shape> |
84 | <Appearance> |
85 | <Material/> |
86 | </Appearance> |
87 | <IndexedFaceSet USE='the-set'/> |
88 | </Shape> |
89 | </Transform> |
90 | <Transform rotation='0 0 1 3' translation='-1.5 0 0'> |
91 | <Shape> |
92 | <Appearance> |
93 | <Material/> |
94 | </Appearance> |
95 | <IndexedFaceSet USE='the-set'/> |
96 | </Shape> |
97 | </Transform> |
98 | <Transform rotation='0 0 1 3.5'> |
99 | <Shape> |
100 | <Appearance> |
101 | <Material/> |
102 | </Appearance> |
103 | <IndexedFaceSet USE='the-set'/> |
104 | </Shape> |
105 | </Transform> |
106 | <Transform rotation='0 0 1 4' translation='1.5 0 0'> |
107 | <Shape> |
108 | <Appearance> |
109 | <Material/> |
110 | </Appearance> |
111 | <IndexedFaceSet USE='the-set'/> |
112 | </Shape> |
113 | </Transform> |
114 | <Transform rotation='0 0 1 4.5' translation='3 0 0'> |
115 | <Shape> |
116 | <Appearance> |
117 | <Material/> |
118 | </Appearance> |
119 | <IndexedFaceSet USE='the-set'/> |
120 | </Shape> |
121 | </Transform> |
122 | <Transform rotation='0 0 1 5' translation='-3 -3 0'> |
123 | <Shape> |
124 | <Appearance> |
125 | <Material/> |
126 | </Appearance> |
127 | <IndexedFaceSet USE='the-set'/> |
128 | </Shape> |
129 | </Transform> |
130 | <Transform rotation='0 0 1 5.5' translation='-1.5 -3 0'> |
131 | <Shape> |
132 | <Appearance> |
133 | <Material/> |
134 | </Appearance> |
135 | <IndexedFaceSet USE='the-set'/> |
136 | </Shape> |
137 | </Transform> |
138 | <Transform rotation='0 0 1 6' translation='0 -3 0'> |
139 | <Shape> |
140 | <Appearance> |
141 | <Material/> |
142 | </Appearance> |
143 | <IndexedFaceSet USE='the-set'/> |
144 | </Shape> |
145 | </Transform> |
146 | <Transform rotation='0 0 1 6.14' translation='1.5 -3 0'> |
147 | <Shape> |
148 | <Appearance> |
149 | <Material/> |
150 | </Appearance> |
151 | <IndexedFaceSet USE='the-set'/> |
152 | </Shape> |
153 | </Transform> |
154 | <Transform rotation='0 0 1 6.28' translation='3 -3 0'> |
155 | <Shape> |
156 | <Appearance> |
157 | <Material/> |
158 | </Appearance> |
159 | <IndexedFaceSet USE='the-set'/> |
160 | </Shape> |
161 | </Transform> |
162 | </Scene> |
163 | </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. -->