<?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>
<meta name='titlecontent='PixelTextureSnowman.x3d'/>
<meta name='descriptioncontent='This snowman example shows a colorful PixelTexture applied to X3D primitive shapes - happy holidays!'/>
<meta name='creatorcontent='Craig Schwetje, Leonard Daly and Don Brutzman'/>
<meta name='createdcontent='2 February 2006'/>
<meta name='translatedcontent='25 August 2008'/>
<meta name='modifiedcontent='29 September 2020'/>
<meta name='referencecontent=' https://en.wikipedia.org/wiki/Snowman '/>
<meta name='Soundcontent=' https://X3dGraphics.com/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/frosty2.mid '/>
<meta name='referencecontent=' http://www.the-north-pole.com/carols/frosty.html '/>
<meta name='referencecontent=' https://X3dGraphics.com '/>
<meta name='referencecontent=' https://www.web3d.org/x3d/content/examples/X3dResources.html '/>
<meta name='subjectcontent=' X3D book, X3D graphics, X3D-Edit, http://www.x3dGraphics.com '/>
<meta name='identifiercontent=' https://X3dGraphics.com/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/PixelTextureSnowman.x3d '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!--

Index for DEF nodes : Autumn11, Clock, PixelColors, SnowmanRoot, TwistInterpolator, WikipediaAnchorLink

Index for Viewpoint image : Viewpoint_1
-->
<Scene>
<WorldInfo title='PixelTextureSnowman.x3d'/>
<Background skyColor='1 1 1'/>
<Viewpoint description='PixelTexture Snowmanorientation='1 0 0 -0.17985position='0 2 11'/>
<Sound location='0 1.6 0maxBack='50maxFront='50minBack='5minFront='5priority='1'>
<AudioClip description='Frosty the Snowmanloop='true'
  url=' "frosty2.mid" "https://X3dGraphics.com/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/frosty2.mid" '/>
</Sound>
<Transform translation='0 -2.5 2'>
<Billboard>
<Anchor DEF='WikipediaAnchorLinkdescription='Wikipedia Snowman entryparameter='"target=_blank"'
  url=' "https://en.wikipedia.org/wiki/Snowman" '>
<Shape>
<Text string='"Click here to learn more" "about snowmen"'>
<FontStyle justify='"MIDDLE" "MIDDLE"size='0.6'/>
</Text>
<Appearance>
<Material DEF='Autumn11ambientIntensity='0.25641diffuseColor='1 0.160784 0.764706shininess='1specularColor='0.48655 0.319155 0.444036'/>
</Appearance>
</Shape>
<!-- Add transparent geometry over the text to make clicking (i.e. Anchor selection) easier -->
<Shape>
<Box size='6 1.5 0.02'/>
<Appearance>
<Material transparency='1'/>
</Appearance>
</Shape>
</Anchor>
</Billboard>
</Transform>
<!-- ROUTE information for SnowmanRoot node:  [from TwistInterpolator.value_changed to rotation ] -->
<Transform DEF='SnowmanRoot'>
<!-- ROUTE information for TwistInterpolator node:  [from Clock.fraction_changed to set_fraction ] [from value_changed to SnowmanRoot.rotation ] -->
<OrientationInterpolator DEF='TwistInterpolatorkey='0 0.22 0.25 0.5 0.73 0.75 1keyValue='0 1 0 0 0 1 0 5.75959 0 1 0 5.75959 0 1 0 0 0 1 0 0.5236 0 1 0 0.5236 0 1 0 0'/>
<!-- ROUTE information for Clock node:  [from fraction_changed to TwistInterpolator.set_fraction ] -->
<TimeSensor DEF='ClockcycleInterval='6loop='true'/>
<ROUTE fromNode='TwistInterpolatorfromField='value_changedtoNode='SnowmanRoottoField='rotation'/>
<ROUTE fromNode='ClockfromField='fraction_changedtoNode='TwistInterpolatortoField='set_fraction'/>
<!-- Hat -->
<Transform translation='0 3.6 0'>
<Shape>
<Appearance>
<Material diffuseColor='0.003922 0.003922 0.003922'/>
</Appearance>
<Cylinder height='1radius='0.5'/>
</Shape>
</Transform>
<Transform translation='0 3.2 0'>
<Shape>
<Appearance>
<Material diffuseColor='0.003922 0.003922 0.003922'/>
</Appearance>
<Cylinder height='0.2'/>
</Shape>
</Transform>
<!-- Head -->
<Transform translation='0 2.6 0'>
<Shape>
<Appearance>
<PixelTexture DEF='PixelColorsimage='2 4 3 0xff0000 0xffff00 0x007700 0xff0077 0x0000ff 0xff7700 0x00ff77 0x888888repeatS='falserepeatT='false'/>
</Appearance>
<Sphere radius='.75'/>
</Shape>
</Transform>
<!-- Eyes -->
<Transform translation='0.3 2.7 .55'>
<Shape>
<Appearance>
<Material diffuseColor='0 0 0'/>
</Appearance>
<Sphere radius='.18'/>
</Shape>
</Transform>
<Transform translation='-0.3 2.7 .55'>
<Shape>
<Appearance>
<Material diffuseColor='0 0 0'/>
</Appearance>
<Sphere radius='.18'/>
</Shape>
</Transform>
<!-- Nose -->
<Transform rotation='1 0 0 1.57translation='0 2.5 0.55'>
<Shape>
<Appearance>
<Material diffuseColor='0.901961 0.403922 0emissiveColor='1 0.145098 0.058824specularColor='1 0.454902 0.360784'/>
</Appearance>
<Cone bottomRadius='0.3height='1.75'/>
</Shape>
</Transform>
<!-- Scarf -->
<Transform translation='0 1.975 0'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Cylinder height='0.175radius='0.8'/>
</Shape>
</Transform>
<Transform translation='.7 1.1 .8'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='.725 1.2 .85'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='.7 1.3 .8'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='.7 1.4 .75'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='.7 1.5 .75'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='.7 1.6 .7'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='.7 1.7 .65'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='.6 1.8 .65'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='.55 1.9 .65'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='.55 2 .65'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<!-- Backside of scarf -->
<Transform translation='-.7 1.1 -.8'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='-.725 1.2 -.85'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='-.7 1.3 -.8'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='-.7 1.4 -.75'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='-.7 1.5 -.75'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='-.7 1.6 -.7'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='-.7 1.7 -.65'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='-.6 1.8 -.65'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='-.55 1.9 -.65'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='-.55 2 -.65'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<!-- Mouth -->
<!-- Middle Mouthpiece -->
<Transform translation='0 2.2 .55'>
<Shape>
<Appearance>
<Material diffuseColor='0 0 0'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='0.1 2.2 .55'>
<Shape>
<Appearance>
<Material diffuseColor='0 0 0'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='0.2 2.2 .55'>
<Shape>
<Appearance>
<Material diffuseColor='0 0 0'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='-0.1 2.2 .55'>
<Shape>
<Appearance>
<Material diffuseColor='0 0 0'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='-0.2 2.2 .55'>
<Shape>
<Appearance>
<Material diffuseColor='0 0 0'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<!-- Pipe -->
<Transform rotation='0.96225 0.19245 -0.19245 1.57translation='0.1 2.2 0.55'>
<Shape>
<Appearance>
<Material diffuseColor='0.219608 0.137255 0'/>
</Appearance>
<Cylinder radius='0.03'/>
</Shape>
</Transform>
<Transform translation='.45 2.3 1.5'>
<Shape>
<Appearance>
<Material diffuseColor='0.219608 0.137255 0'/>
</Appearance>
<Cylinder height='.2radius='.1'/>
</Shape>
</Transform>
<!-- Body -->
<Transform translation='0 1.15 0'>
<Shape>
<Appearance>
<PixelTexture USE='PixelColors'/>
</Appearance>
<Sphere radius='1.1'/>
</Shape>
</Transform>
<!-- Arms -->
<Transform rotation='0 0 1 1.57translation='0 1.5 0'>
<Shape>
<Appearance>
<Material diffuseColor='.5 .25 .05'/>
</Appearance>
<Cylinder height='4.9radius='0.1'/>
</Shape>
</Transform>
<Transform rotation='0 0.92848 0.37139 1.57translation='2 1.5 0'>
<Shape>
<Appearance>
<Material diffuseColor='.5 .25 .05'/>
</Appearance>
<Cylinder height='.9radius='0.05'/>
</Shape>
</Transform>
<Transform rotation='0.84515 -0.50709 0.16903 1.57translation='1.5 1.5 0'>
<Shape>
<Appearance>
<Material diffuseColor='.5 .25 .05'/>
</Appearance>
<Cylinder height='.7radius='0.03'/>
</Shape>
</Transform>
<Transform rotation='0 0.64018 0.76822 1.57translation='-1 1.5 0'>
<Shape>
<Appearance>
<Material diffuseColor='.5 .25 .05'/>
</Appearance>
<Cylinder height='1radius='0.05'/>
</Shape>
</Transform>
<Transform rotation='0 0.70711 -0.70711 1translation='-1.9 1.5 0'>
<Shape>
<Appearance>
<Material diffuseColor='.5 .25 .05'/>
</Appearance>
<Cylinder height='.5radius='0.04'/>
</Shape>
</Transform>
<!-- Left Glove -->
<Transform rotation='0 0 1 1.57translation='2.45 1.5 0'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Box size='0.5 0.5 0.25'/>
</Shape>
</Transform>
<Transform rotation='0.95285 0 0.30345 1.57translation='2.75 1.5 0.05'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Cylinder height='.25radius='0.25'/>
</Shape>
</Transform>
<Transform rotation='0.96352 0 0.26764 1.57translation='2.55 1.85 0'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Cylinder height='.15radius='0.15'/>
</Shape>
</Transform>
<!-- Right Glove -->
<Transform rotation='0 0 1 1.57translation='-2.45 1.5 0'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Box size='0.5 0.5 0.25'/>
</Shape>
</Transform>
<Transform rotation='-0.95285 0 0.30345 1.57translation='-2.75 1.5 0.05'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Cylinder height='.25radius='0.25'/>
</Shape>
</Transform>
<Transform rotation='-0.96352 0 0.26764 1.57translation='-2.55 1.85 0'>
<Shape>
<Appearance>
<Material diffuseColor='1 0.039216 0.243137'/>
</Appearance>
<Cylinder height='.15radius='0.15'/>
</Shape>
</Transform>
<!-- Buttons -->
<Transform translation='0 1.7 .95'>
<Shape>
<Appearance>
<Material diffuseColor='0 0 0'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='0 1.25 1.05'>
<Shape>
<Appearance>
<Material diffuseColor='0 0 0'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<Transform translation='0 .8 1.05'>
<Shape>
<Appearance>
<Material diffuseColor='0 0 0'/>
</Appearance>
<Sphere radius='.1'/>
</Shape>
</Transform>
<!-- Lower Body -->
<Transform translation='0 -1 0'>
<Shape>
<Appearance>
<PixelTexture USE='PixelColors'/>
</Appearance>
<Sphere radius='1.75'/>
</Shape>
</Transform>
</Transform>
</Scene>
</X3D>
<!--

Index for DEF nodes : Autumn11, Clock, PixelColors, SnowmanRoot, TwistInterpolator, WikipediaAnchorLink

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. -->