<?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='Interchange' version='3.3 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' https://www.web3d.org/specifications/x3d-3.3.xsd '>
<head>
<meta name='titlecontent='RoundedRectanglePrimitives.x3d'/>
<meta name='descriptioncontent='Illustrates how to build rounded rectangle using only primitive nodes.'/>
<meta name='creatorcontent='Marlon Heron and Don Brutzman'/>
<meta name='createdcontent='23 October 2014'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name='referencecontent='X3D for Web Authors, homework for chapters 2 and 3.'/>
<meta name='referencecontent=' https://x3dgraphics.com/slidesets/X3dForWebAuthors/Chapter02-GeometryPrimitives.pdf '/>
<meta name='referencecontent=' https://x3dgraphics.com/slidesets/X3dForWebAuthors/Chapter03Grouping.pdf '/>
<meta name=' TODO content=' add drawing of scene graph structure '/>
<meta name=' TODO content=' fix Xj3D aliasing bug '/>
<meta name='Imagecontent='Xj3dAliasingProblemRoundedRectanglePrimitives.png'/>
<meta name='subjectcontent='Rounded Rectangle Primitive Geometry'/>
<meta name='identifiercontent=' https://x3dgraphics.com/examples/X3dForAdvancedModeling/GeometricShapes/RoundedRectanglePrimitives.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!--

Index for DEF nodes : DefaultCylinder, DefaultShape

Index for Viewpoint image : Viewpoint_1
-->
<Scene>
<WorldInfo title='RoundedRectanglePrimitives.x3d'/>
<Viewpoint description='Top Down Vieworientation='1 0 0 -1.570796position='0 20 0'/>
<Background skyColor='0.941176 1 0.988235'/>
<Transform>
<Shape DEF='DefaultShape'>
<Box size='8 2.01 10'/>
<Appearance>
<Material diffuseColor='1 0.2 0.2'/>
</Appearance>
</Shape>
</Transform>
<Transform>
<Shape>
<Box size='10 2.02 8'/>
<Appearance>
<Material diffuseColor='1 .5 0'/>
</Appearance>
</Shape>
</Transform>
<Transform translation='4 0 4'>
<Shape>
<Cylinder DEF='DefaultCylinder'/>
<Appearance>
<Material diffuseColor='0.2 0.2 1'/>
</Appearance>
</Shape>
</Transform>
<Transform translation='4 0 -4'>
<Shape>
<Cylinder USE='DefaultCylinder'/>
<Appearance>
<Material diffuseColor='1 1 0.2'/>
</Appearance>
</Shape>
</Transform>
<Transform translation='-4 0 4'>
<Shape>
<Cylinder USE='DefaultCylinder'/>
<Appearance>
<Material diffuseColor='.5 1 0.2'/>
</Appearance>
</Shape>
</Transform>
<Transform translation='-4 0 -4'>
<Shape>
<Cylinder USE='DefaultCylinder'/>
<Appearance>
<Material diffuseColor='1 1 0.2'/>
</Appearance>
</Shape>
</Transform>
</Scene>
</X3D>
<!--

Index for DEF nodes : DefaultCylinder, DefaultShape

Index for Viewpoint image : Viewpoint_1
-->

<!-- Color key: <X3dNode DEF='idName' field='value'/> matches <XmlElement DEF='idName' attribute='value'/>
(Light blue background: behavior node) (Grey background: inserted documentation) (Magenta background: X3D Extensibility)
-->

<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources and X3D Scene Authoring Hints. -->