<?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='TexturePlane.x3d'/>
<meta name='descriptioncontent='Animating textured plane: this world illustrates the use of the TexturePlane prototype node defined in an external file. That node creates a textured square whose texture changes based upon an input fraction. This world animates that fraction to cause the texture to animate.'/>
<meta name='creatorcontent='David R. Nadeau'/>
<meta name='translatorcontent='Don Brutzman'/>
<meta name='createdcontent='1 July 1998'/>
<meta name='translatedcontent='2 February 2014'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name='Imagecontent='TexturePlane.png' />
<meta name='referencecontent='originals/texplane.wrl'/>
<meta name='referencecontent=' http://www.siggraph.org/s98 '/>
<meta name='referencecontent=' http://www.siggraph.org/s98/conference/courses/18.html '/>
<meta name='referencecontent=' http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/slides/mt0497.htm '/>
<meta name='referencecontent=' http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/vrml97.htm '/>
<meta name='referencecontent=' https://www.web3d.org/x3d/content/examples/X3dResources.html '/>
<meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/TexturePlane.x3d '/>
<meta name='generatorcontent='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/>
<meta name='generatorcontent='X3D-Edit, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!--

to top <!-- Event Graph ROUTE Table shows event connections -->
 
<!-- Index for DEF nodes: Clock, Plane

Index for Viewpoint node: Viewpoint_1 Index for ExternProtoDeclare definition: TexturePlane
-->
<Scene>
<ExternProtoDeclare name='TexturePlane'
  url=' "Cut.x3d#TexturePlane" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Cut.x3d#TexturePlane" "Cut.wrl#TexturePlane" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Cut.wrl#TexturePlane" ' >
<field name='texturestype='MFNodeaccessType='initializeOnly'/>
<field name='set_fractiontype='SFFloataccessType='inputOnly'/>
</ExternProtoDeclare>
<WorldInfo info='"Copyright (c) 1997, David R. Nadeau"title='Animating textured plane'/>
<Viewpoint description='Entry viewposition='0.0 0.0 3.0'/>
<NavigationInfo/>
<Background skyAngle='1.57 1.87skyColor='0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.1 0.3'/>
<Shape>
<Appearance>
<TextureTransform translation='0.5 0.5'/>
<ImageTexture
  url=' "grill.png " "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/grill.png " ' />
</Appearance>
<IndexedFaceSet solid='falsecoordIndex='0 1 2 3 -1texCoordIndex='0 1 2 3 -1'>
<TextureCoordinate point='0.0 0.0 4.0 0.0 4.0 4.0 0.0 4.0'/>
<Coordinate point='-1.0 -1.0 -0.05 1.0 -1.0 -0.05 1.0 1.0 -0.05 -1.0 1.0 -0.05'/>
</IndexedFaceSet>
</Shape>
<!-- ROUTE information for Plane node:  [from Clock.fraction_changed to set_fraction ] -->
<ProtoInstance name='TexturePlaneDEF='Plane'>
</ProtoInstance>
<!-- ROUTE information for Clock node:  [from fraction_changed to Plane.set_fraction ] -->
<TimeSensor DEF='ClockcycleInterval='3.0loop='truestartTime='1.0'/>

< ROUTE  fromNode=' Clock' fromField='fraction_changed' toNode=' Plane' toField='set_fraction'/>
</Scene>
</X3D>
<!--

to top <!-- Event Graph ROUTE Table shows event connections -->
 
<!-- Index for DEF nodes: Clock, Plane

Index for Viewpoint node: Viewpoint_1 Index for ExternProtoDeclare definition: TexturePlane
-->

Event Graph ROUTE Table with 1 ROUTE connections total, showing X3D event-model relationships for this scene.

Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.

Clock
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(1)
Plane
ProtoInstance
set_fraction
SFFloat


      Plane
ProtoInstance
TexturePlane
No ROUTE connection found for output from this node.
Contains SFNode/MFNode field with indirect access to other nodes. 


-->

<!-- Online at
https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/TexturePlaneIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/TexturePlane.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)
    <ProtoInstance name='ProtoName'> <field name='fieldName'/> </ProtoInstance> -->

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