X3D Model Documentation: r_thigh.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.0//EN" "https://www.web3d.org/specifications/x3d-4.0.dtd">
  3  <X3D profile='Interactive' version='4.0 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-4.0.xsd'>
  4       <head>
  5            <meta name='titlecontent=' r_thigh.x3d '/>
  6            <meta name='descriptioncontent='r_thigh includes r_femur'/>
  7            <meta name='creatorcontent='Don Brutzman, Joe Williams'/>
  8            <meta name='createdcontent='15 March 2026'/>
  9            <meta name='modifiedcontent='22 March 2026'/>
 10            <meta name='referencecontent='https://en.wikipedia.org/wiki/Thigh'/>
 11            <meta name='referencecontent='https://en.wikipedia.org/wiki/Human_leg'/>
 12            <meta name='referencecontent=' https://en.wikipedia.org/wiki/Human_leg#/media/File:Human_leg_bones_labeled.svg '/>
 13            <meta name='referencecontent='usage examples https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Medical'/>
 14            <meta name='generatorcontent='X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 15            <meta name='generatorcontent=' X3D Tidy, https://www.web3d.org/x3d/stylesheets/X3dTidy.html '/>
 16            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Bones/r_thigh.x3d '/>
 17            <meta name='licensecontent='../license.html'/>
 18       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: HiddenLight, r_femur, r_thigh, UserTouchSensor

Index for Viewpoint and ViewpointGroup nodes: HiddenViewpoint, ViewFromAbove, ViewFromBehind, ViewFromBelow, ViewFromFront, ViewFromLeft, ViewFromRight, ViewpointGroup_r_thigh
-->
 19       <Scene>
 20            <WorldInfo title='r_thigh.x3d'/>
 21            <!-- user hover lights bone and reveals description, user selection/deselection temporarily binds/unbinds close-up hidden viewpoint -->
 22 
          <!-- ROUTE information for UserTouchSensor node:  [from isActive to HiddenViewpoint.set_bind ] [from isOver to HiddenLight.on ] -->
          <TouchSensor DEF='UserTouchSensordescription='r_thigh is r_femur bone'/>
 23            <!-- vertical offset to max height of r_hip_bone -->
 24            <Transform DEF='r_thightranslation='-0.0955 0.6988 -0.0384'>
 25                 <ViewpointGroup DEF='ViewpointGroup_r_thighdescription='r_thigh modelretainUserOffsets='truecontainerField='children'>
 26                      <Viewpoint DEF='ViewFromFrontdescription='r_thigh frontnearDistance='0.001position='0 0 0.8retainUserOffsets='true'/>
 27                      <Viewpoint DEF='ViewFromBehinddescription='r_thigh from left sidenearDistance='0.001orientation='0 1 0 1.5708position='0.8 0 0retainUserOffsets='true'/>
 28                      <Viewpoint DEF='ViewFromLeftdescription='r_thigh from behindnearDistance='0.001orientation='0 1 0 3.1416position='0 0 -0.8retainUserOffsets='true'/>
 29                      <Viewpoint DEF='ViewFromRightdescription='r_thigh from right sidenearDistance='0.001orientation='0 1 0 -1.5708position='-0.8 0 0retainUserOffsets='true'/>
 30                      <Viewpoint DEF='ViewFromAbovedescription='r_thigh from abovenearDistance='0.001orientation='1 0 0 -1.5708position='0 0.8 0retainUserOffsets='true'/>
 31                      <Viewpoint DEF='ViewFromBelowdescription='r_thigh from belownearDistance='0.001orientation='1 0 0 1.5708position='0 -0.8 0retainUserOffsets='true'/>
 32                 </ViewpointGroup>
 33                 <!-- nevertheless, TouchSensor interfaces from each of the Inline models are closer, taking priority and overriding this interface -->
 34 
               <!-- ROUTE information for HiddenViewpoint node:  [from UserTouchSensor.isActive to set_bind ] -->
               <Viewpoint DEF='HiddenViewpointnearDistance='0.001position='0 0 0.8retainUserOffsets='true'>
 35                      <NavigationInfo containerField='navigationInfotransitionType='"ANIMATE"type='"EXAMINE"'/>
 36                 </Viewpoint>
 37                 < ROUTE  fromNode='UserTouchSensor' fromField='isActive' toNode='HiddenViewpoint' toField='set_bind'/>
 38 
               <!-- ROUTE information for HiddenLight node:  [from UserTouchSensor.isOver to on ] -->
               <DirectionalLight DEF='HiddenLightambientIntensity='1color='0.1 0.1 1on='false'/>
 39                 < ROUTE  fromNode='UserTouchSensor' fromField='isOver' toNode='HiddenLight' toField='on'/>
 40            </Transform>
 41            <Inline DEF='r_femur'   url=' "r_femur.x3d" "https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Bones/r_femur.x3d" "r_femur.wrl" "https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Bones/r_femur.wrl" '/>
 42       </Scene>
 43  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: HiddenLight, r_femur, r_thigh, UserTouchSensor

Index for Viewpoint and ViewpointGroup nodes: HiddenViewpoint, ViewFromAbove, ViewFromBehind, ViewFromBelow, ViewFromFront, ViewFromLeft, ViewFromRight, ViewpointGroup_r_thigh
-->
X3D Tooltips element index: DirectionalLight, head, Inline, meta, NavigationInfo, ROUTE, Scene, TouchSensor, Transform, Viewpoint, ViewpointGroup, WorldInfo, X3D,
plus documentation for accessType definitions, type definitions, XML data types, and field types

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

UserTouchSensor
TouchSensor
isActive
SFBool

ROUTE
event to
(1)
HiddenViewpoint
Viewpoint
set_bind
SFBool
UserTouchSensor
TouchSensor
isOver
SFBool

ROUTE
event to
(1)
HiddenLight
DirectionalLight
on
SFBool

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/HumanoidAnimation/Bones/r_thighIndex.html -->
<!-- SourceForge version control Version control at    
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/HumanoidAnimation/Bones/r_thigh.x3d -->

<!-- Color-coding legend: X3D terminology <X3dNode DEF='idNamefield='value'/> matches XML terminology <XmlElement DEF='idNameattribute='value'/>
(Light-blue background: event-based behavior node or statement) (Grey background inside box: inserted documentation) (Magenta background: X3D Extensibility)
-->

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