| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
|
| 3 | <X3D profile='Immersive' version='3.3' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.3.xsd'> |
| 4 | <head> |
| 5 | <meta name='title' content=' TriangleWithNumbers.x3d '/> |
| 6 | <meta name='description' content='Simple Triangle with labeled points, where labels always face the user and stay in place with the triangle.'/> |
| 7 | <meta name='creator' content='Chad R. Hutchins, Michele Foti and Don Brutzman'/> |
| 8 | <meta name='created' content='31 January 2012'/> |
| 9 | <meta name='modified' content='20 October 2019'/> |
| 10 |
<meta name='Image' content='TriangleWithNumbers.png' />
|
| 11 | <meta name=' TODO ' content=' Can we build a prototype that automates generation of this type of model from any IFS or ILS? '/> |
| 12 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/TriangleWithNumbers.x3d '/> |
| 13 | <meta name='generator' content='X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 14 | <meta name='license' content='../license.html'/> |
| 15 | </head> |
| 16 | <Scene> |
| 17 | <WorldInfo title='TriangleWithNumbers.x3d'/> |
| 18 | <Background skyColor='0.3 0.3 0.45'/> |
| 19 | <Viewpoint description='Triangle annotated with coordinate indices' position='0 0 4'/> |
| 20 | <Transform DEF='PolygonGroup0'> |
| 21 | <TouchSensor description='Polygon 0'/> |
| 22 | <Shape> |
| 23 | <IndexedLineSet coordIndex='0 1 2 0 -1'> |
| 24 |
<!-- Coordinate
TriangleCoordinatePoints is a DEF node that has 1 USE node: USE_1 --> <Coordinate DEF='TriangleCoordinatePoints' point='-1 -1 0 1 -1 0 0 1 0'/> |
| 25 | </IndexedLineSet> |
| 26 | <Appearance> |
| 27 | <Material emissiveColor='0.1254902035 1 0.0784313753'/> |
| 28 | </Appearance> |
| 29 | </Shape> |
| 30 | <Shape> |
| 31 | <IndexedFaceSet colorPerVertex='false' colorIndex='0' coordIndex='0 1 2 0 -1'> |
| 32 | <Coordinate USE='TriangleCoordinatePoints'/> |
| 33 | <ColorRGBA color='0 0 0 0'/> |
| 34 | </IndexedFaceSet> |
| 35 | </Shape> |
| 36 | </Transform> |
| 37 | <Transform DEF='VertexGroup0' translation='-1.1 -1.1 0'> |
| 38 | <Billboard axisOfRotation='0 0 0'> |
| 39 | <TouchSensor description='Vertex 0'/> |
| 40 | <Shape> |
| 41 |
<!-- Appearance
LABEL_APPEARANCE is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
<Appearance DEF='LABEL_APPEARANCE'> |
| 42 | <Material diffuseColor='1 1 .3' emissiveColor='.33 .33 .1'/> |
| 43 | </Appearance> |
| 44 | <Text string='"0"'> |
| 45 |
<!-- FontStyle
LABEL_FONT is a DEF node that has 2 USE nodes: USE_1, USE_2 --> <FontStyle DEF='LABEL_FONT' family='"SANS"' justify='"MIDDLE" "MIDDLE"' size='.2'/> |
| 46 | </Text> |
| 47 | </Shape> |
| 48 |
<!-- Shape
TransparentBox is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
<Shape DEF='TransparentBox'> |
| 49 | <Box size='0.2 0.2 0.01'/> |
| 50 | <Appearance DEF='TransparentAppearance'> |
| 51 | <Material transparency='1'/> |
| 52 | </Appearance> |
| 53 | </Shape> |
| 54 | </Billboard> |
| 55 | </Transform> |
| 56 | <Transform DEF='VertexGroup1' translation='1.1 -1.1 0'> |
| 57 | <Billboard axisOfRotation='0 0 0'> |
| 58 | <TouchSensor description='Vertex 1'/> |
| 59 | <Shape> |
| 60 | <Appearance USE='LABEL_APPEARANCE'/> |
| 61 | <Text string='"1"'> |
| 62 | <FontStyle USE='LABEL_FONT'/> |
| 63 | </Text> |
| 64 | </Shape> |
| 65 | <Shape USE='TransparentBox'/> |
| 66 | </Billboard> |
| 67 | </Transform> |
| 68 | <Transform DEF='VertexGroup2' translation='0 1.1 0'> |
| 69 | <Billboard axisOfRotation='0 0 0'> |
| 70 | <TouchSensor description='Vertex 2'/> |
| 71 | <Shape> |
| 72 | <Appearance USE='LABEL_APPEARANCE'/> |
| 73 | <Text string='"2"'> |
| 74 | <FontStyle USE='LABEL_FONT'/> |
| 75 | </Text> |
| 76 | </Shape> |
| 77 | <Shape USE='TransparentBox'/> |
| 78 | </Billboard> |
| 79 | </Transform> |
| 80 | </Scene> |
| 81 | </X3D> |
Event Graph ROUTE Table with 0 ROUTE connections total, showing X3D event-model relationships for this scene.
Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.
| line 21
TouchSensor |
description='Polygon 0' User-interaction hint for this node.(TouchSensor description is providing a tooltip) |
| line 39
TouchSensor |
description='Vertex 0' User-interaction hint for this node.(TouchSensor description is providing a tooltip) |
| line 58
TouchSensor |
description='Vertex 1' User-interaction hint for this node.(TouchSensor description is providing a tooltip) |
| line 70
TouchSensor |
description='Vertex 2' User-interaction hint for this node.(TouchSensor description is providing a tooltip) |
<!--
Color-coding 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.
-->