<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
<![CDATA[
ecmascript: function set_translation( tran, et ) { tempCA = tran[0] / 4.0; if ( tempCA < 0.00 ) tempCA = 0.0; if ( tempCA > 1.57 ) tempCA = 1.57; fraction_changed = tempCA; // Hacks to get truncation/formatting tempCA = (Math.floor(tempCA*1000)/1000.0); if ( (tempCA > 0.1) && (tempCA < 1.0) ) tempCA = '0' + tempCA; if ( tempCA <= 0.0 ) tempCA = tempCA + '.' + '0'; label_changed[0] = tempCA; }
]]>
Event Graph ROUTE Table entries with 6 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.
PS
PlaneSensor translation_changed SFVec3f |
Scr
Script set_translation SFVec3f |
then |
Scr
Script fraction_changed SFFloat |
CI
CoordinateInterpolator set_fraction SFFloat |
then |
CI
CoordinateInterpolator value_changed MFVec3f |
Crd1
Coordinate set_point MFVec3f |
|||
then |
CI
CoordinateInterpolator value_changed MFVec3f |
Crd2
Coordinate set_point MFVec3f |
||||||||
then |
CI
CoordinateInterpolator value_changed MFVec3f |
Crd3
Coordinate set_point MFVec3f |
||||||||
then |
Scr
Script label_changed MFString |
bendAngle
Text set_string MFString |
<!--
Online at
https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/CreaseAngleIndex.html
-->
<!--
Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/CreaseAngle.x3d
-->
<!--
Color 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)
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->