<?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='MultiTextureDesignPattern.x3d'/>
<meta name='descriptioncontent='Design pattern for MultiTexture, MultiTextureCoordinate, MultiTextureTransform node correspondences'/>
<meta name='creatorcontent='Don Brutzman'/>
<meta name='createdcontent='5 March 2011'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name=' TODO content=' X3D schematron rules for quality assurance '/>
<meta name='Imagecontent='MultiTextureDesignPatternSceneGraph.png'/>
<meta name='subjectcontent='MultiTexture, MultiTextureCoordinate, MultiTextureTransform'/>
<meta name='referencecontent=' https://www.web3d.org/files/specifications/19775-1/V3.2/Part01/components/texturing.html#MultiTexture '/>
<meta name='identifiercontent=' https://x3dgraphics.com/examples/X3dForAdvancedModeling/TextureMapping/MultiTextureDesignPattern.x3d '/>
<meta name='referencecontent=' https://www.web3d.org/x3d/content/examples/X3dResources.html '/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!--

Index for Viewpoint image : Viewpoint_1
-->
<Scene>
<!-- ================================ -->
<WorldInfo title='MultiTextureDesignPattern.x3d'/>
<Background skyColor='0.72549 1 0.721569'/>
<Viewpoint description='MultiTexture design pattern'/>
<Shape>
<Text string='"Source shows design pattern for" "MultiTexture, MultiTextureCoordinate," " and MultiTextureTransform nodes"'>
<FontStyle justify='"MIDDLE" "MIDDLE"size='0.6'/>
</Text>
<Appearance>
<Material diffuseColor='0.2 0.4 0.8'/>
</Appearance>
</Shape>
<!-- ================================ -->
<Shape>
<!-- TODO add a single geometry node here -->
<IndexedFaceSet>
<MultiTextureCoordinate containerField='texCoord'>
<!-- TODO add multiple TextureCoordinate nodes here, match corresponding MultiTexture children -->
<TextureCoordinate point='0 0 1 0 1 1 0 1'/>
<TextureCoordinate point='0 0 1 0 1 1 0 1'/>
<TextureCoordinate point='0 0 1 0 1 1 0 1'/>
</MultiTextureCoordinate>
</IndexedFaceSet>
<Appearance>
<Material/>
<MultiTexture alpha='0.8color='0.9 1 0.2function='"COMPLEMENT" "ALPHAREPLICATE"mode='"MODULATE" "REPLACE" "BLENDDIFFUSEALPHA"source='"DIFFUSE" "SPECULAR" "FACTOR"'>
<!-- TODO add a multiple texture nodes here -->
<ImageTexture/>
<MovieTexture/>
<PixelTexture/>
</MultiTexture>
<MultiTextureTransform containerField='textureTransform'>
<!-- TODO add multiple TextureTransform nodes here, match corresponding MultiTexture children -->
<TextureTransform/>
<TextureTransform/>
<TextureTransform/>
</MultiTextureTransform>
</Appearance>
</Shape>
</Scene>
</X3D>
<!--

Index for Viewpoint image : Viewpoint_1
-->

<!-- Color key: <X3dNode field='value'/> matches <XmlElement 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. -->