| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
|
| 3 | <X3D profile='Immersive' version='3.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.xsd'> |
| 4 | <head> |
| 5 | <meta name='title' content=' ExampleCamouflageCobra.x3d '/> |
| 6 | <meta name='description' content="Instantiates an example of the Super Cobra AH-1Z Helicopter's prototype."/> |
| 7 | <meta name='creator' content='Jane Wu'/> |
| 8 | <meta name='created' content='16 January 2001'/> |
| 9 | <meta name='modified' content='20 October 2019'/> |
| 10 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/AH1SuperCobraUnitedStates/ExampleCamouflageCobra.x3d '/> |
| 11 | <meta name='reference' content=' https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/AH1SuperCobraUnitedStates/SuperCobraPrototype.x3d '/> |
| 12 | <meta name='reference' content=' https://www.fas.org/man/dod-101/sys/ac/ah-1.htm '/> |
| 13 |
<meta name='reference' content='https://www.fas.org/man/dod-101/sys/land/camo-wood.jpg' />
|
| 14 | <meta name='generator' content='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 15 | <meta name='license' content='../../license.html'/> |
| 16 | </head> |
| 17 | <Scene> |
| 18 | <WorldInfo title='ExampleCamouflageCobra.x3d'/> |
| 19 | <ExternProtoDeclare name='SuperCobra' appinfo='Prototype declaration for SuperCobra helicopter' url=' "SuperCobraPrototype.x3d#SuperCobra" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/AH1SuperCobraUnitedStates/SuperCobraPrototype.x3d#SuperCobra" "SuperCobraPrototype.wrl#SuperCobra" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/AH1SuperCobraUnitedStates/SuperCobraPrototype.wrl#SuperCobra" '> |
| 20 |
<field name='tailBoomColor' type='SFNode' accessType='initializeOnly'
appinfo='color of tail boom'/> |
| 21 |
<field name='tailRotorDriveShaftColor' type='SFNode' accessType='initializeOnly'
appinfo='color of tail boom drive shaft'/> |
| 22 |
<field name='horizontalStabilizerColor' type='SFNode' accessType='initializeOnly'
appinfo='color of horizontal stabilizer'/> |
| 23 |
<field name='fuselageColor' type='SFNode' accessType='initializeOnly'
appinfo='color of fuselage'/> |
| 24 |
<field name='cockpitColor' type='SFNode' accessType='initializeOnly'
appinfo='color of cockpit'/> |
| 25 |
<field name='cowlingColor' type='SFNode' accessType='initializeOnly'
appinfo='color of cowling'/> |
| 26 |
<field name='helicopterName' type='SFString' accessType='initializeOnly'
appinfo='name of specific helicopter'/> |
| 27 |
<field name='inFlight' type='SFBool' accessType='inputOnly'
appinfo='input event indicating that the aircraft is in flight'/> |
| 28 | </ExternProtoDeclare> |
| 29 | <Transform> |
| 30 |
<!-- ROUTE information for Sensor node:
[from isOver to ExampleHelicopter.inFlight
]
-->
<TouchSensor DEF='Sensor' description='touch to animate rotors'/> |
| 31 |
<!-- ROUTE information for ExampleHelicopter node:
[from Sensor.isOver to inFlight
]
-->
<ProtoInstance name='SuperCobra' DEF='ExampleHelicopter'> |
| 32 | <fieldValue name='tailBoomColor'> |
| 33 | <Appearance> |
| 34 |
<!-- ImageTexture
CamoWoodTexture is a DEF node that has 5 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5 --> <ImageTexture DEF='CamoWoodTexture' url=' "camo-wood.jpg
" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/AH1SuperCobraUnitedStates/camo-wood.jpg
" '/>
|
| 35 | </Appearance> |
| 36 | </fieldValue> |
| 37 | <fieldValue name='tailRotorDriveShaftColor'> |
| 38 | <Appearance> |
| 39 | <ImageTexture USE='CamoWoodTexture'/> |
| 40 | </Appearance> |
| 41 | </fieldValue> |
| 42 | <fieldValue name='horizontalStabilizerColor'> |
| 43 | <Appearance> |
| 44 | <ImageTexture USE='CamoWoodTexture'/> |
| 45 | </Appearance> |
| 46 | </fieldValue> |
| 47 | <fieldValue name='fuselageColor'> |
| 48 | <Appearance> |
| 49 | <ImageTexture USE='CamoWoodTexture'/> |
| 50 | </Appearance> |
| 51 | </fieldValue> |
| 52 | <fieldValue name='cockpitColor'> |
| 53 | <Appearance> |
| 54 | <ImageTexture USE='CamoWoodTexture'/> |
| 55 | </Appearance> |
| 56 | </fieldValue> |
| 57 | <fieldValue name='cowlingColor'> |
| 58 | <Appearance> |
| 59 | <ImageTexture USE='CamoWoodTexture'/> |
| 60 | </Appearance> |
| 61 | </fieldValue> |
| 62 | <fieldValue name='helicopterName' value='Camouflage Cobra'/> |
| 63 | </ProtoInstance> |
| 64 | </Transform> |
| 65 | < ROUTE fromNode='Sensor' fromField='isOver' toNode='ExampleHelicopter' toField='inFlight'/> |
| 66 | </Scene> |
| 67 | </X3D> |
Event Graph ROUTE Table with 1 ROUTE connection 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.
|
Sensor
TouchSensor isOver SFBool |
ExampleHelicopter
ProtoInstance inFlight SFBool |
|
ExampleHelicopter
ProtoInstance SuperCobra |
No direct ROUTE connection found for events to/from this node. This ProtoInstance contains SFNode/MFNode fieldValue declarations with direct access to other nodes, and thus has potential to produce run-time animation. |
<!--
Color-coding 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>
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->