<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
<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
'
>
<head>
</head>
<!--
<!--
Event Graph ROUTE Table
shows event connections
-->
<!--
Index for DEF nodes:
CenterFS,
CommonFigureElements,
DefaultElevationGrid,
DefaultView,
DiffuseRedAppearance,
ExamineMode,
ExampleElevationGridShape,
FigureElevationGridBack,
FigureElevationGridFront,
FigureIfsCenterDiagonal,
FigureIfsCrossDiagonal,
FigureLabelBrowserElevationGrid,
FigureLabelCenterDiagonalTessellation,
FigureLabelCrossDiagonalTessellation,
FloorShape,
FlyPanNavigation,
LabelAppearance,
PointLabels,
QuadCenterDiagonalLineShape,
QuadCrossDiagonalLineShape,
QuadOutlineShape,
QuadrilateralPoints,
QuadVerticalLineShape,
TransparentGreyAppearance,
White
Index for Viewpoint nodes:
Viewpoint_1,
Viewpoint_2,
Viewpoint_3,
Viewpoint_4,
Viewpoint_5,
DefaultView
-->
<Scene>
<WorldInfo title='ElevationGridNonPlanarQuadrilaterals.x3d'/>
<NavigationInfo DEF='ExamineMode'/>
<Background skyColor='1 1 1'/>
<Viewpoint description='Book View' orientation='0 1 0 0.01' position='0.13 0.2 7.71'/>
<
ROUTE
fromNode='
DefaultView' fromField='isBound' toNode='
FlyPanNavigation' toField='set_bind'/>
<Transform translation='0 -0.75 0'>
<Transform DEF='FigureElevationGridBack' translation='-4 0 0'>
<!-- Note that the base of each piece of polygonal geometry is based at (1 0 1) -->
<Viewpoint description='Default brower ElevationGrid tessellation, front view' position='1.5 0.4 4'/>
<Transform center='1 0 1' rotation='0 1 0 3.2'>
<Group DEF='DefaultElevationGrid'>
<Shape DEF='ExampleElevationGridShape'>
<ElevationGrid solid='false' height='0 0.5 0 0'/>
<Appearance DEF='DiffuseRedAppearance'>
<Material diffuseColor='0.9 0.1 0.1' transparency='0.1'/>
</Appearance>
</Shape>
<Transform DEF='FigureLabelBrowserElevationGrid' translation='0.5 1 0.5'>
<Billboard>
<Shape>
<Text string='"Browser" "ElevationGrid"'>
<FontStyle DEF='CenterFS' justify='"MIDDLE" "MIDDLE"' size='0.25'/>
</Text>
<Appearance DEF='LabelAppearance'>
<Material diffuseColor='0.2 0.1 0.8'/>
</Appearance>
</Shape>
</Billboard>
</Transform>
<Group DEF='CommonFigureElements'>
<Shape DEF='QuadOutlineShape'>
<IndexedLineSet colorPerVertex='false' colorIndex='0 0 0 0' coordIndex='0 1 3 2 0 -1'>
<!-- first iterate on x-axis, then z-xis -->
<Coordinate DEF='QuadrilateralPoints' point='0 0 0 1 0.5 0 0 0 1 1 0 1 1 0 0'/>
<Color DEF='White' color='1 1 1'/>
</IndexedLineSet>
</Shape>
<Shape DEF='FloorShape'>
<!-- setting all height values to zero is a simple way to get a square outline. A more efficient way is to use an IndexedFaceSet. -->
<ElevationGrid solid='false'/>
<Appearance DEF='TransparentGreyAppearance'>
<Material diffuseColor='0 0 0' transparency='0.8'/>
</Appearance>
</Shape>
<Transform DEF='PointLabels' translation='0 -0.2 0'>
<Billboard>
</Billboard>
<Transform translation='1 0 0'>
</Transform>
<Transform translation='0 0 1'>
</Transform>
<Transform translation='1 0 1'>
</Transform>
</Transform>
<Shape DEF='QuadVerticalLineShape'>
<IndexedLineSet colorPerVertex='false' colorIndex='0 0 0 0' coordIndex='1 4 -1'>
</IndexedLineSet>
</Shape>
</Group>
<Shape DEF='QuadCrossDiagonalLineShape'>
<IndexedLineSet colorPerVertex='false' colorIndex='0 0 0 0' coordIndex='2 1 -1'>
</IndexedLineSet>
</Shape>
<Shape DEF='QuadCenterDiagonalLineShape'>
<IndexedLineSet colorPerVertex='false' colorIndex='0 0 0 0' coordIndex='0 3 -1'>
</IndexedLineSet>
</Shape>
</Group>
</Transform>
</Transform>
<Transform DEF='FigureElevationGridFront' translation='-1 0 0'>
</Transform>
<Transform DEF='FigureIfsCenterDiagonal' translation='1 0 0'>
</Transform>
<Transform DEF='FigureIfsCrossDiagonal' translation='3 0 0'>
</Transform>
</Transform>
</Scene>
</X3D>
<!--
<!--
Event Graph ROUTE Table
shows event connections
-->
<!--
Index for DEF nodes:
CenterFS,
CommonFigureElements,
DefaultElevationGrid,
DefaultView,
DiffuseRedAppearance,
ExamineMode,
ExampleElevationGridShape,
FigureElevationGridBack,
FigureElevationGridFront,
FigureIfsCenterDiagonal,
FigureIfsCrossDiagonal,
FigureLabelBrowserElevationGrid,
FigureLabelCenterDiagonalTessellation,
FigureLabelCrossDiagonalTessellation,
FloorShape,
FlyPanNavigation,
LabelAppearance,
PointLabels,
QuadCenterDiagonalLineShape,
QuadCrossDiagonalLineShape,
QuadOutlineShape,
QuadrilateralPoints,
QuadVerticalLineShape,
TransparentGreyAppearance,
White
Index for Viewpoint nodes:
Viewpoint_1,
Viewpoint_2,
Viewpoint_3,
Viewpoint_4,
Viewpoint_5,
DefaultView
-->
-->
<!--
Online at
https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter06GeometryPointsLinesPolygons/ElevationGridNonPlanarQuadrilateralsIndex.html
-->
<!--
Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter06GeometryPointsLinesPolygons/ElevationGridNonPlanarQuadrilaterals.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.
-->