<?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>
<!--
<!--
Index for DEF nodes:
Background1,
Blue,
BoundaryLineAppearance,
BoundaryLines,
Box1,
ClipPlaneGroup,
ClipPlaneHorizontal,
ClipPlaneVertical,
Cone1,
Cylinder1,
dad_Background1,
dad_Box1,
dad_Cone1,
dad_Cylinder1,
dad_Light1,
dad_Sphere1,
GeoBox1,
GeoCone1,
GeoCylinder1,
GeoSphere1,
Green,
Light1,
move,
move2,
PlaneOutlineHorizontal,
PlaneOutlineVertical,
PrimitiveShapes,
Red,
Shiny_Yellow,
Sphere1,
timer_pos0,
WhiteBackground
Index for Viewpoint nodes:
Viewpoint_1,
Viewpoint_2,
Viewpoint_3,
Viewpoint_4
-->
<Scene>
<!-- TODO Schematron error for orientation='0 0 0 0' -->
<Viewpoint description='ClipPlanes front view' position='0 1 10'/>
<Viewpoint description='ClipPlanes oblique view' orientation='1 0 0 -0.851966' position='0 8 7'/>
<Viewpoint description='ClipPlanes overhead view' orientation='1 0 0 -1.570796' position='0 12 0'/>
<Viewpoint description='ClipPlanes side view' orientation='-0.03326 0.99889 0.03326 1.571904' position='15 1 0'/>
<Background DEF='WhiteBackground' groundColor='1 1 1' skyColor='1 1 1'/>
<Group DEF='ClipPlaneGroup'>
<!-- ClipPlane nodes affect peers and children -->
<
ClipPlane DEF='
ClipPlaneHorizontal'
containerField='
children'/>
<
ClipPlane DEF='
ClipPlaneVertical'
plane='
0 0 -1 0'
containerField='
children'/>
<!-- Non-standard scripting animation test for ClipPlane <PythonScript DEF="PS"
url=OpacityMapStyle.py /> <ROUTE fromNode='timer_pos0' fromField='value_changed' toNode='PS' toField='planeEquation'/> <ROUTE fromNode='PS' fromField='planeEquation' toNode='CP' toField='plane'/> -->
<!-- <TimeSensor DEF='timer' cycleInterval='13.000' loop='true' startTime='0.000'/> <ROUTE fromNode='timer' fromField='fraction_changed' toNode='timer_pos0' toField='set_fraction'/> <ROUTE fromNode='timer_pos0' fromField='value_changed' toNode='move' toField='set_translation'/> -->
<Group DEF='PrimitiveShapes'>
<WorldInfo info='"This Web3D Content was created with Vivaty Studio, a Web3D authoring tool" "www.mediamachines.com"' title='primitives'/>
<Transform DEF='dad_Box1' translation='-3 0 0'>
<Shape DEF='Box1'>
<Appearance>
<Material DEF='Red' ambientIntensity='.2' diffuseColor='1 0 0' shininess='.2'/>
</Appearance>
<Box DEF='GeoBox1' solid='false'/>
</Shape>
</Transform>
<Transform DEF='dad_Cylinder1' translation='-1 0 0'>
<Shape DEF='Cylinder1'>
<Appearance>
<Material DEF='Green' ambientIntensity='.2' diffuseColor='0 1 0' shininess='.2'/>
</Appearance>
<Cylinder DEF='GeoCylinder1' solid='false'/>
</Shape>
</Transform>
<Transform DEF='dad_Cone1' translation='1 0 0'>
<Shape DEF='Cone1'>
<Appearance>
<Material DEF='Blue' ambientIntensity='.2' diffuseColor='0 0 1' shininess='.2'/>
</Appearance>
<Cone DEF='GeoCone1' solid='false'/>
</Shape>
</Transform>
<Transform DEF='dad_Sphere1' translation='3 0 0'>
<Shape DEF='Sphere1'>
<Appearance>
<Material DEF='Shiny_Yellow' ambientIntensity='.2' diffuseColor='1 1 0' shininess='.1' specularColor='1 1 0'/>
</Appearance>
<Sphere DEF='GeoSphere1' solid='false'/>
</Shape>
</Transform>
<Transform DEF='dad_Light1' translation='0 5 0'>
</Transform>
<Transform DEF='dad_Background1' translation='-.73213 4.14112 0'>
<Background DEF='Background1' groundColor='1 1 1' skyColor='1 1 1'/>
</Transform>
</Group>
<Transform translation='0 3 0'>
</Transform>
</Group>
<!-- Keep boundary lines outside of scope of the two clipping planes so that they can illustrate boundaries without being cut off -->
<Group DEF='BoundaryLines'>
<Transform DEF='move' translation='0 .00001 0'>
<Shape DEF='PlaneOutlineHorizontal'>
<Appearance DEF='BoundaryLineAppearance'>
<Material ambientIntensity='.2' emissiveColor='0.1 0.1 0.1'/>
</Appearance>
<IndexedLineSet coordIndex='0 1 2 3 0 -1'>
<Coordinate point='5 0 -2 5 0 2 -5 0 2 -5 0 -2'/>
</IndexedLineSet>
</Shape>
</Transform>
<PositionInterpolator DEF='timer_pos0' key='0 .5 1' keyValue='0 2 0 0 -2 0 0 2 0'/>
<Transform rotation='1 0 0 -1.578'>
<Transform DEF='move2' translation='0 .00001 0'>
<Shape DEF='PlaneOutlineVertical'>
<Appearance USE='
BoundaryLineAppearance'/>
<!-- also includes center line -->
<IndexedLineSet coordIndex='0 1 2 3 0 -1 4 5 -1'>
<Coordinate point='5 0 -2 5 0 4 -5 0 4 -5 0 -2 5 0 0 -5 0 0'/>
</IndexedLineSet>
</Shape>
</Transform>
</Transform>
</Group>
</Scene>
</X3D>
<!--
<!--
Index for DEF nodes:
Background1,
Blue,
BoundaryLineAppearance,
BoundaryLines,
Box1,
ClipPlaneGroup,
ClipPlaneHorizontal,
ClipPlaneVertical,
Cone1,
Cylinder1,
dad_Background1,
dad_Box1,
dad_Cone1,
dad_Cylinder1,
dad_Light1,
dad_Sphere1,
GeoBox1,
GeoCone1,
GeoCylinder1,
GeoSphere1,
Green,
Light1,
move,
move2,
PlaneOutlineHorizontal,
PlaneOutlineVertical,
PrimitiveShapes,
Red,
Shiny_Yellow,
Sphere1,
timer_pos0,
WhiteBackground
Index for Viewpoint nodes:
Viewpoint_1,
Viewpoint_2,
Viewpoint_3,
Viewpoint_4
-->
-->
<!--
Online at
https://www.web3d.org/x3d/content/examples/Basic/CAD/ClipPlaneExampleIndex.html
-->
<!--
Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Basic/CAD/ClipPlaneExample.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.
-->