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_rotationY.x3d'/> |
6 | <meta name='Image' content='test-rotationY-front.jpg'/> |
7 | <meta name='Image' content='test-rotationY-rear.jpg'/> |
8 | <meta name='Image' content='test-rotationY-top.jpg'/> |
9 | <meta name='Image' content='test-rotationY-bottom.jpg'/> |
10 | <meta name='Image' content='test-rotationY-left.jpg'/> |
11 | <meta name='Image' content='test-rotationY-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 Y axis. The test should generate a sequence of the same IndexedFaceSet (cube shaped) rotating about the Y axis. Each side of the face is painted with a different color to identify each face more easily.'/> |
23 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/ConformanceNist/GroupingNodes/Transform/test_rotationY.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_rotationY.x3d'/> |
30 | <NavigationInfo type='"EXAMINE" "WALK" "FLY" "ANY"'/> |
31 | <Group> |
32 | <Viewpoint description='Front View' position='0 0 15'/> |
33 | <Viewpoint description='Left View' orientation='0 1 0 -1.57' position='-15 0 0'/> |
34 | <Viewpoint description='Rear View' orientation='0 1 0 3.14' position='0 0 -15'/> |
35 | <Viewpoint description='Right View' orientation='0 1 0 1.57' position='15 0 0'/> |
36 | <Viewpoint description='Top View' orientation='1 0 0 -1.57' position='0 15 0'/> |
37 | <Viewpoint description='Bottom View' orientation='1 0 0 1.57' position='0 -15 0'/> |
38 | </Group> |
39 | <Transform translation='-3 3 0'> |
40 | <Shape> |
41 | |
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 1 0 0.5' translation='-1.5 3 0'> |
51 | <Shape> |
52 | <Appearance USE='the-appearance'/> |
53 | <IndexedFaceSet USE='the-set'/> |
54 | </Shape> |
55 | </Transform> |
56 | <Transform rotation='0 1 0 1' translation='0 3 0'> |
57 | <Shape> |
58 | <Appearance USE='the-appearance'/> |
59 | <IndexedFaceSet USE='the-set'/> |
60 | </Shape> |
61 | </Transform> |
62 | <Transform rotation='0 1 0 1.5' translation='1.5 3 0'> |
63 | <Shape> |
64 | <Appearance USE='the-appearance'/> |
65 | <IndexedFaceSet USE='the-set'/> |
66 | </Shape> |
67 | </Transform> |
68 | <Transform rotation='0 1 0 2' translation='3 3 0'> |
69 | <Shape> |
70 | <Appearance USE='the-appearance'/> |
71 | <IndexedFaceSet USE='the-set'/> |
72 | </Shape> |
73 | </Transform> |
74 | <Transform rotation='0 1 0 2.5' translation='-3 0 0'> |
75 | <Shape> |
76 | <Appearance USE='the-appearance'/> |
77 | <IndexedFaceSet USE='the-set'/> |
78 | </Shape> |
79 | </Transform> |
80 | <Transform rotation='0 1 0 3' translation='-1.5 0 0'> |
81 | <Shape> |
82 | <Appearance USE='the-appearance'/> |
83 | <IndexedFaceSet USE='the-set'/> |
84 | </Shape> |
85 | </Transform> |
86 | <Transform rotation='0 1 0 3.5'> |
87 | <Shape> |
88 | <Appearance USE='the-appearance'/> |
89 | <IndexedFaceSet USE='the-set'/> |
90 | </Shape> |
91 | </Transform> |
92 | <Transform rotation='0 1 0 4' translation='1.5 0 0'> |
93 | <Shape> |
94 | <Appearance USE='the-appearance'/> |
95 | <IndexedFaceSet USE='the-set'/> |
96 | </Shape> |
97 | </Transform> |
98 | <Transform rotation='0 1 0 4.5' translation='3 0 0'> |
99 | <Shape> |
100 | <Appearance USE='the-appearance'/> |
101 | <IndexedFaceSet USE='the-set'/> |
102 | </Shape> |
103 | </Transform> |
104 | <Transform rotation='0 1 0 5' translation='-3 -3 0'> |
105 | <Shape> |
106 | <Appearance USE='the-appearance'/> |
107 | <IndexedFaceSet USE='the-set'/> |
108 | </Shape> |
109 | </Transform> |
110 | <Transform rotation='0 1 0 5.5' translation='-1.5 -3 0'> |
111 | <Shape> |
112 | <Appearance USE='the-appearance'/> |
113 | <IndexedFaceSet USE='the-set'/> |
114 | </Shape> |
115 | </Transform> |
116 | <Transform rotation='0 1 0 6' translation='0 -3 0'> |
117 | <Shape> |
118 | <Appearance USE='the-appearance'/> |
119 | <IndexedFaceSet USE='the-set'/> |
120 | </Shape> |
121 | </Transform> |
122 | <Transform rotation='0 1 0 6.14' translation='1.5 -3 0'> |
123 | <Shape> |
124 | <Appearance USE='the-appearance'/> |
125 | <IndexedFaceSet USE='the-set'/> |
126 | </Shape> |
127 | </Transform> |
128 | <Transform rotation='0 1 0 6.28' translation='3 -3 0'> |
129 | <Shape> |
130 | <Appearance USE='the-appearance'/> |
131 | <IndexedFaceSet USE='the-set'/> |
132 | </Shape> |
133 | </Transform> |
134 | </Scene> |
135 | </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. -->