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='title' content='aTorch.x3d'/> |
6 | <meta name='description' content='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='creator' content='David R. Nadeau'/> |
8 | <meta name='translator' content='Don Brutzman'/> |
9 | <meta name='created' content='1 July 1998'/> |
10 | <meta name='translated' content='2 February 2014'/> |
11 | <meta name='modified' content='3 September 2023'/> |
12 | <meta name='reference' content='Columns.x3d'/> |
13 | <meta name='reference' content='originals/aTorch.wrl'/> |
14 | <meta name='reference' content='http://www.siggraph.org/s98'/> |
15 | <meta name='reference' content='http://www.siggraph.org/s98/conference/courses/18.html'/> |
16 | <meta name='reference' content='http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/slides/mt0500.htm'/> |
17 | <meta name='reference' content='http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/vrml97.htm'/> |
18 | <meta name='reference' content='https://www.web3d.org/x3d/content/examples/X3dResources.html'/> |
19 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/aTorch.x3d'/> |
20 | <meta name='generator' content='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/> |
21 | <meta name='generator' content='X3D-Edit, https://savage.nps.edu/X3D-Edit'/> |
22 | <meta name='license' content='../license.html'/> |
23 | </head> |
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> |
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. |
<!--
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>
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->