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='Figure16_1ColoredPointSetScatterPlot.x3d'/> |
6 | <meta name='creator' content='Figure 16.1, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland'/> |
7 | <meta name='reference' content='http://www.wiley.com/legacy/compbooks/vrml2sbk/ch16/16fig01.htm'/> |
8 | <meta name='translator' content='Don Brutzman'/> |
9 | <meta name='created' content='25 August 2000'/> |
10 | <meta name='modified' content='20 October 2019'/> |
11 | <meta name='description' content='A scatter plot with the points colored using colors from a Color node.'/> |
12 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter16Color/Figure16_1ColoredPointSetScatterPlot.x3d'/> |
13 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
14 | <meta name='license' content='../../license.html'/> |
15 | </head> |
16 | <Scene> |
17 | <WorldInfo title='Figure16_1ColoredPointSetScatterPlot.x3d'/> |
18 | <Viewpoint description='View points' position='5 4 10'/> |
19 | <Group> |
20 | <Shape> |
21 | <Appearance> |
22 | <Material diffuseColor='1 1 1' emissiveColor='1 1 1'/> |
23 | </Appearance> |
24 | <IndexedLineSet coordIndex='0 1 -1 0 2 -1'> |
25 | <Coordinate point='0 0 0 10 0 0 0 8 0'/> |
26 | </IndexedLineSet> |
27 | </Shape> |
28 | <Shape> |
29 | <!-- # no appearance, use emissive coloring via Color node --> |
30 | <PointSet> |
31 | <Coordinate point='1 1 0 2 4 0 3 5 0 4 4 0 5 6 0 6 7 0 7 5 0 8 6 0 9 4 0 10 3 0 1 3 0 2 2 0 3 2 0 4 1 0 5 2 0 6 4 0 7 3 0 8 5 0 9 5 0 10 6 0'/> |
32 | <Color color='0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0'/> |
33 | </PointSet> |
34 | </Shape> |
35 | </Group> |
36 | </Scene> |
37 | </X3D> |
<!--
Color legend: X3D terminology
<X3dNode
field='value'/>
matches XML terminology
<XmlElement
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. -->