X3D Model Documentation: aTorch.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
  3  <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'>
  4       <head>
  5            <meta name='titlecontent='aTorch.x3d'/>
  6            <meta name='descriptioncontent='Torch with animated flames: this file illustrates creation of a Torch prototype node via the Prototype declaration syntax. The torch uses an LOD to select among three torch variants, each designed to work as part of this animated torch.'/>
  7            <meta name='creatorcontent='David R. Nadeau'/>
  8            <meta name='translatorcontent='Don Brutzman'/>
  9            <meta name='createdcontent='1 July 1998'/>
 10            <meta name='translatedcontent='2 February 2014'/>
 11            <meta name='modifiedcontent='3 September 2023'/>
 12            <meta name='referencecontent='Columns.x3d'/>
 13            <meta name='referencecontent='originals/aTorch.wrl'/>
 14            <meta name='referencecontent='http://www.siggraph.org/s98'/>
 15            <meta name='referencecontent='http://www.siggraph.org/s98/conference/courses/18.html'/>
 16            <meta name='referencecontent='http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/slides/mt0500.htm'/>
 17            <meta name='referencecontent='http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/vrml97.htm'/>
 18            <meta name='referencecontent='https://www.web3d.org/x3d/content/examples/X3dResources.html'/>
 19            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/aTorch.x3d'/>
 20            <meta name='generatorcontent='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/>
 21            <meta name='generatorcontent='X3D-Edit, https://savage.nps.edu/X3D-Edit'/>
 22            <meta name='licensecontent='../license.html'/>
 23       </head>
<!--

<!-- to top Index for DEF node: Index for ProtoDeclare definition: Torch
-->
 24       <Scene>
 25            <WorldInfo info='"Copyright (c) 1997, David R. Nadeau"title='Torch with animated flames'/>
 26            <ProtoDeclare name='Torch'>
 27                 <!-- <ProtoInterface/> not necessary -->
 28                 <ProtoBody>
 29                      <LOD range='19.0 25.0'>
 30                           <Inline   url=' "aTorch1.x3d" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/aTorch1.x3d" "aTorch1.wrl" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/aTorch1.wrl" '/>
 31                           <Inline   url=' "aTorch2.x3d" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/aTorch2.x3d" "aTorch2.wrl" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/aTorch2.wrl" '/>
 32                           <Inline   url=' "aTorch3.x3d" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/aTorch3.x3d" "aTorch3.wrl" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/aTorch3.wrl" '/>
 33                      </LOD>
 34                 </ProtoBody>
 35            </ProtoDeclare>
 36            <!-- Display scene instructions for viewing an example scene with a corresponding prototype instance -->
 37            <Background skyColor='0 0.333333 0.66667'/>
 38            <Anchor description='select text to view parent scene'   url=' "Columns.x3d" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Columns.x3d" "Columns.wrl" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Columns.wrl" '>
 39                 <Shape>
 40                      <Text string='"The aTorch.x3d scene holds" "a prototype declaration" "" "Select this text to view example usage" "in Columns.x3d scene"'>
 41                           <FontStyle justify='"MIDDLE" "MIDDLE"style='BOLD'/>
 42                      </Text>
 43                      <Appearance>
 44                           <Material diffuseColor='1 0.9 0.4'/>
 45                      </Appearance>
 46                 </Shape>
 47                 <!-- Invisible box behind text makes selection easier -->
 48                 <Shape>
 49                      <Box size='12 5 0.1'/>
 50                      <Appearance>
 51                           <Material transparency='1'/>
 52                      </Appearance>
 53                 </Shape>
 54            </Anchor>
 55       </Scene>
 56  </X3D>
<!--

<!-- to top Index for DEF node: Index for ProtoDeclare definition: Torch
-->
X3D Tooltips element index: Anchor, Appearance, Background, Box, FontStyle, head, Inline, LOD, Material, meta, ProtoBody, ProtoDeclare, Scene, Shape, Text, WorldInfo, X3D, accessType and type, XML data types, field types

Event Graph ROUTE Table with 0 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.


Anchor
description='select text to view parent scene' 
User-interaction hint for this node. 
Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets. Have fun with X3D! 😀

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/aTorchIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/aTorch.x3d -->

<!-- Color legend: X3D terminology <X3dNode field='value'/> matches XML terminology <XmlElement attribute='value'/>
(Light-blue background: event-based behavior node or statement) (Grey background inside box: inserted documentation) (Magenta background: X3D Extensibility)
    <ProtoDeclare name='ProtoName'> <field name='fieldName'/> </ProtoDeclare> -->

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