<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.1//EN" "http://www.web3d.org/specifications/x3d-3.1.dtd">
<X3D profile='Interchange' version='3.1' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='
http://www.web3d.org/specifications/x3d-3.1.xsd '>
<
head>
</
head>
<!--
-->
<
Scene>
<
Viewpoint description='
ColorPerVertex Examples'
position='
0 0 6'/>
<
Background groundColor='
0.1 0.1 0.1'
skyColor='
0.1 0.1 0.1'/>
<
Transform translation='
-0.5 0 0'>
<
Transform translation='
-3 0 0'>
<
Shape>
<
IndexedFaceSet colorIndex='
0 1 2 3 0 -1'
coordIndex='
0 1 2 3 0 -1'>
<
Coordinate DEF='
FourPoints'
point='
0 0 0 1 0 0 1 1 0 0 1 0'/>
<
Color DEF='
FourColors'
color='
1 0 0 0 1 0 0 0 1 0.8 0.8 0.8'/>
</
IndexedFaceSet>
</
Shape>
</
Transform>
<
Transform translation='
-1 0 0'>
<
Shape>
<
IndexedFaceSet colorPerVertex='
false'
colorIndex='
0'
coordIndex='
0 1 2 3 0 -1'>
</
IndexedFaceSet>
</
Shape>
</
Transform>
<
Transform translation='
1 0 0'>
<
Shape>
<
IndexedLineSet colorIndex='
0 1 2 3 0 -1'
coordIndex='
0 1 2 3 0 -1'>
</
IndexedLineSet>
</
Shape>
</
Transform>
<
Transform translation='
3 0 0'>
<
Shape>
<
IndexedLineSet colorPerVertex='
false'
colorIndex='
0'
coordIndex='
0 1 2 3 0 -1'>
</
IndexedLineSet>
</
Shape>
</
Transform>
</
Transform>
</
Scene>
</X3D>
<!--
-->
<!-- Tag color codes:
<Node
DEF='idName' attribute='value'/> -->