| 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='Full' 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='title' content=' HAnimPoseExternProtoDeclare.x3d '/> |
| 6 | <meta name='description' content='Define ExternProtoDeclare for an experimental new node to simply capture a single pose for an HAnimHumanoid model. Expected usage is to allow HAnimHumanoid to contain multiple Pose nodes which can be activated and composed.'/> |
| 7 | <meta name='created' content='1 November 2025'/> |
| 8 | <meta name='modified' content='2 November 2025'/> |
| 9 | <meta name='creator' content='Don Brutzman'/> |
| 10 | <meta name='creator' content='Joe Williams'/> |
| 11 | <meta name='contributor' content='Holger Seelig for X_ITE, Sunrize on Windows, scripting guidance, and Inline IMPORT functionality as node-reference equivalent to USE'/> |
| 12 | <meta name='specificationSection' content='HAnim Architecture volume 1 version 2.1 draft, clause 6 Object interfaces, section 6.4 Pose'/> |
| 13 | <meta name='specificationUrl' content='https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19774/ISO-IEC19774-1/ISO-IEC19774-1v2.1/ISO-IEC19774-1v2.1-WD/Architecture/ObjectInterfaces.html#Pose'/> |
| 14 | <meta name='specificationSection' content='HAnim Architecture volume 1 version 2.1 draft, clause 4 Concepts, section 4.8.2 Modelling of human-like HAnim figures'/> |
| 15 | <meta name='specificationUrl' content='https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19774/ISO-IEC19774-1/ISO-IEC19774-1v2.1/ISO-IEC19774-1v2.1-WD/Architecture/concepts.html#ModellingHumanLikeHAnimFigures'/> |
| 16 | <meta name='specificationSection' content='HAnim Architecture volume 1 version 2.1 draft, clause 4 Concepts, section 4.8.3 Poses'/> |
| 17 | <meta name='specificationUrl' content='https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19774/ISO-IEC19774-1/ISO-IEC19774-1v2.1/ISO-IEC19774-1v2.1-WD/Architecture/concepts.html#Poses'/> |
| 18 | <meta name='reference' content='Direct scene manipulations with Javascript, https://doc.instantreality.org/tutorial/direct-scene-manipulations-with-javascript'/> |
| 19 | <meta name='generator' content='X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 20 | <meta name='generator' content='Sunrize X3D Editor V1.11.1, https://create3000.github.io/sunrize'/> |
| 21 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Poses/HAnimPoseExternProtoDeclare.x3d '/> |
| 22 | <meta name='license' content=' https://www.web3d.org/x3d/content/examples/license.html '/> |
| 23 | </head> |
| 24 | <Scene> |
| 25 | <WorldInfo DEF='ModelInfo' info='"Design to illustrate a potential HAnimPose node"' title='HAnimPoseExternProtoDeclare'/> |
| 26 | <Background skyColor='0.6 0.6 0.8'/> |
| 27 | <NavigationInfo/> |
| 28 | <ExternProtoDeclare name='HAnimPose' appinfo='Experimental node to support HAnimPosePrototype.x3d usage.' url=' "HAnimPosePrototype.x3d#HAnimPose" "https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Poses/HAnimPosePrototype.x3d#HAnimPose" '> |
| 29 | <field name='name' type='SFString' accessType='inputOutput' appinfo='name of this pose'/> |
| 30 | <field name='parentHAnimHumanoid' type='SFNode' accessType='initializeOnly' appinfo='Humanoid for this Pose to act upon'/> |
| 31 | <field name='loa' type='SFInt32' accessType='initializeOnly' appinfo='default is no loa'/> |
| 32 | <field name='description' type='SFString' accessType='inputOutput' appinfo='explanation of purpose'/> |
| 33 | <field name='enabled' type='SFBool' accessType='inputOutput' appinfo='default value true'/> |
| 34 | <field name='resetAllJoints' type='SFBool' accessType='inputOnly' appinfo='reset the skeleton to I pose with all joints zeroed'/> |
| 35 | <field name='poseJoints' type='MFNode' accessType='inputOutput' appinfo='joint values to apply to HAnimHumanoid'/> |
| 36 | <field name='transitionDuration' type='SFTime' accessType='inputOutput' appinfo='how many seconds to achieve the pose'/> |
| 37 | <field name='isActive' type='SFBool' accessType='outputOnly' appinfo='event indicating when pose transition is active'/> |
| 38 | <field name='commencePose' type='SFBool' accessType='inputOnly' appinfo='this event tells the HAnimPose node to fully transition, equivalent to set_fraction=1'/> |
| 39 | <field name='set_startTime' type='SFTime' accessType='inputOnly' appinfo='starts the animation clock'/> |
| 40 | <field name='set_fraction' type='SFFloat' accessType='inputOnly' appinfo='allows transition to proceed incrementally from fraction [0..10'/> |
| 41 | <field name='isLoaded' type='SFBool' accessType='inputOnly' appinfo='possible notification from LoadSensor if using HAnimHumanoid Inline/IMPORT AS/USE'/> |
| 42 | <field name='traceEnabled' type='SFBool' accessType='inputOutput' appinfo='debug trace to Browser output console'/> |
| 43 | </ExternProtoDeclare> |
| 44 | <Viewpoint description='HAnimPoseExternProtoDeclare description' position='0 1 4'/> |
| 45 | <Transform DEF='DisplayHeader1' translation='0 1.5 0'> |
| 46 | <Anchor description='go to HAnimPoseExternProtoDeclareIndex page' parameter='"target=_blank"' url=' "https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Poses/HAnimPoseExternProtoDeclareIndex.html" '> |
| 47 | <Shape> |
| 48 | <Text string='"Utility scene" "HAnimPoseExternProtoDeclare.x3d"'> |
| 49 |
<!-- FontStyle
HeaderFont is a DEF node that has 1 USE node: USE_1 --> <FontStyle DEF='HeaderFont' family='"SANS"' justify='"MIDDLE" "MIDDLE"' size='0.15' style='BOLD'/> |
| 50 | </Text> |
| 51 |
<!-- Appearance
PoseTextAppearance is a DEF node that has 1 USE node: USE_1 -->
<Appearance DEF='PoseTextAppearance'> |
| 52 | <Material diffuseColor='0.1 0.3 0.5'/> |
| 53 | </Appearance> |
| 54 | </Shape> |
| 55 | <Shape> |
| 56 | <Box size='3.5 0.5 .001'/> |
| 57 |
<!-- Appearance
TransparentAppearance is a DEF node that has 1 USE node: USE_1 -->
<Appearance DEF='TransparentAppearance'> |
| 58 | <Material transparency='1'/> |
| 59 | </Appearance> |
| 60 | </Shape> |
| 61 | </Anchor> |
| 62 | </Transform> |
| 63 | <Transform DEF='DisplayHeader2' translation='0 0.5 0'> |
| 64 | <Anchor description='go to HAnimPosePrototypeIndex page' parameter='"target=_blank"' url=' "https://www.web3d.org/x3d/content/examples/HumanoidAnimation/Poses/HAnimPosePrototypeIndex.html" '> |
| 65 | <Shape> |
| 66 | <Text string='"This model supports" "HAnimPosePrototype.x3d"'> |
| 67 | <FontStyle USE='HeaderFont'/> |
| 68 | </Text> |
| 69 | <Appearance USE='PoseTextAppearance'/> |
| 70 | </Shape> |
| 71 | </Anchor> |
| 72 | <Shape> |
| 73 | <Box size='2.6 0.5 .001'/> |
| 74 | <Appearance USE='TransparentAppearance'/> |
| 75 | </Shape> |
| 76 | </Transform> |
| 77 | </Scene> |
| 78 | </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.
| line 46
Anchor |
description='go to HAnimPoseExternProtoDeclareIndex page' User-interaction hint for this node. |
| line 64
Anchor |
description='go to HAnimPosePrototypeIndex page' User-interaction hint for this node. |
<!--
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)
<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.
-->