Skip to content
Snippets Groups Projects
Commit 257e732b authored by Brennenstuhl, Tobias FORNATL, GY's avatar Brennenstuhl, Tobias FORNATL, GY
Browse files

2 examples for X3D Interpolators added

parent fe14d226
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "http://www.web3d.org/specifications/x3d-3.3.dtd">
<X3D profile='Immersive' version='3.3' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='http://www.web3d.org/specifications/x3d-3.3.xsd'>
<head>
<meta content='BoxPositionInterpolator.x3d' name='title'/>
<meta content='BoxPositionInterpolator to display auto-generated code from OpenDIS7 X3D Interpolators' name='description'/>
<meta content='Tobias Brennenstuhl' name='creator'/>
<meta content='2 April 2020' name='created'/>
<meta content='26 June 2020' name='modified'/>
<meta content='X3D, VR Forces, OpenDIS7' name='subject'/>
<meta content='https://gitlab.nps.edu/Savage/mv3204x3dforwebauthors/blob/master/assignments/DirectedStudy/Tobias/Scenes/BoxPositionInterpolator.x3d' name='reference'/>
<meta content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit' name='generator'/>
<meta content='../license.html' name='license'/></head>
<Scene>
<Shape>
<LineSet vertexCount='35'>
<Coordinate point=' 0 0 0 -2.278 -4.659 -0.779 -2.322 -4.921 -0.616 -1.825 -19.38 15.562 -1.824 -19.447 15.633 -1.63 -50.664 48.405 -1.631 -50.734 48.476 -1.994 -76.957 74.71 -2.06 -81.724 79.478 -2.049 -84.136 82.002 -2.029 -84.238 82.157 -1.099 -84.823 85.047 -0.965 -84.759 85.311 9.861 -71.077 97.766 9.909 -71.016 97.822 47.458 -26.56 144.128 52.939 -20.165 150.983 63.708 -7.598 164.452 64.514 -6.658 165.46 66.272 -3.281 166.287 66.351 -3.009 166.201 66.45 12.101 150.812 66.45 12.17 150.742 67.595 65.893 97.981 67.67 68.108 95.873 68.172 83.008 81.693 68.228 84.669 80.112 67.218 85.978 76.275 67.082 85.91 76.013 56.369 72.819 63.221 56.32 72.76 63.162 32.784 44.414 34.636 32.733 44.354 34.572 15.74 24.523 13.318 12.973 21.295 9.859 ' />
</LineSet>
<Appearance>
<!-- Line color is defined by emissiveColor -->
<Material emissiveColor='1 1 1'/>
<!-- TODO authors can add optional LineProperties node here -->
</Appearance>
</Shape>
<Shape>
<LineSet vertexCount='191'>
<Coordinate point=' 0 0 0 0 0 0 -0.003 -0.003 -0.004 -0.009 -0.009 -0.014 -0.02 -0.02 -0.029 -0.035 -0.035 -0.051 -0.055 -0.055 -0.078 -0.078 -0.079 -0.11 -0.106 -0.107 -0.148 -0.137 -0.141 -0.191 -0.173 -0.18 -0.239 -0.214 -0.225 -0.292 -0.258 -0.276 -0.349 -0.307 -0.333 -0.409 -0.36 -0.397 -0.473 -0.417 -0.469 -0.54 -0.478 -0.548 -0.609 -0.544 -0.635 -0.68 -0.613 -0.731 -0.751 -0.686 -0.835 -0.823 -0.763 -0.948 -0.894 -0.843 -1.072 -0.963 -0.926 -1.205 -1.03 -1.013 -1.348 -1.094 -1.101 -1.503 -1.153 -1.193 -1.668 -1.206 -1.285 -1.843 -1.253 -1.38 -2.03 -1.291 -1.474 -2.227 -1.319 -1.569 -2.435 -1.337 -1.663 -2.653 -1.342 -1.755 -2.881 -1.334 -1.845 -3.117 -1.311 -1.932 -3.361 -1.271 -2.014 -3.612 -1.213 -2.091 -3.869 -1.136 -2.161 -4.13 -1.039 -2.224 -4.393 -0.921 -2.278 -4.659 -0.779 -2.322 -4.921 -0.616 -2.354 -5.179 -0.429 -2.374 -5.43 -0.218 -2.38 -5.672 0.017 -2.372 -5.901 0.274 -2.353 -6.087 0.513 -2.338 -6.317 0.789 -2.337 -6.352 0.828 -1.825 -19.38 15.562 -1.824 -19.447 15.633 -1.823 -19.513 15.705 -1.789 -21.612 17.96 -1.67 -28.946 25.839 -1.659 -29.695 26.641 -1.659 -29.765 26.714 -1.63 -50.664 48.405 -1.631 -50.734 48.476 -1.632 -50.806 48.547 -1.862 -67.419 65.167 -1.971 -75.294 73.045 -1.994 -76.957 74.71 -2.06 -81.724 79.478 -2.087 -83.614 81.369 -2.086 -83.725 81.486 -2.082 -83.828 81.601 -2.075 -83.93 81.725 -2.064 -84.033 81.858 -2.049 -84.136 82.002 -2.029 -84.238 82.157 -2.003 -84.336 82.322 -1.971 -84.431 82.499 -1.933 -84.522 82.686 -1.888 -84.605 82.883 -1.835 -84.681 83.091 -1.775 -84.748 83.309 -1.706 -84.804 83.536 -1.628 -84.847 83.772 -1.541 -84.877 84.017 -1.445 -84.891 84.268 -1.339 -84.888 84.524 -1.224 -84.866 84.785 -1.099 -84.823 85.047 -0.965 -84.759 85.311 -0.822 -84.672 85.573 -0.67 -84.56 85.83 -0.51 -84.423 86.081 -0.344 -84.26 86.321 -0.169 -84.068 86.553 0.009 -83.851 86.765 0.06 -83.785 86.823 0.087 -83.751 86.852 9.861 -71.077 97.766 9.909 -71.016 97.822 10.006 -70.898 97.939 10.056 -70.839 97.999 11.802 -68.746 100.128 17.157 -62.331 106.653 30.427 -46.434 122.826 30.478 -46.375 122.889 47.458 -26.56 144.128 52.939 -20.165 150.983 58.56 -13.605 158.013 60.313 -11.56 160.205 63.708 -7.598 164.452 64.514 -6.658 165.46 64.576 -6.584 165.535 64.586 -6.571 165.548 64.661 -6.478 165.635 64.74 -6.376 165.723 64.822 -6.264 165.811 64.909 -6.142 165.897 64.999 -6.009 165.981 65.092 -5.865 166.062 65.189 -5.71 166.138 65.287 -5.545 166.208 65.387 -5.367 166.271 65.49 -5.176 166.327 65.593 -4.975 166.371 65.696 -4.762 166.405 65.799 -4.539 166.426 65.9 -4.305 166.433 65.998 -4.062 166.424 66.094 -3.809 166.397 66.186 -3.548 166.352 66.272 -3.281 166.287 66.351 -3.009 166.201 66.423 -2.733 166.092 66.485 -2.456 165.959 66.538 -2.18 165.802 66.578 -1.908 165.62 66.606 -1.642 165.412 66.619 -1.385 165.18 66.619 -1.21 164.999 66.619 -1.174 164.961 66.45 12.101 150.812 66.45 12.17 150.742 66.451 12.236 150.675 66.466 14.864 147.993 66.503 21.427 141.295 66.572 33.391 129.09 66.574 33.463 129.019 66.576 33.534 128.95 66.77 41.41 121.281 66.773 41.483 121.211 67.595 65.893 97.981 67.67 68.108 95.873 67.942 76.175 88.195 68.008 78.127 86.338 68.172 83.008 81.693 68.228 84.669 80.112 68.23 84.74 80.042 68.23 84.754 80.028 68.23 84.783 79.999 68.229 84.896 79.88 68.225 84.999 79.764 68.218 85.104 79.637 68.206 85.209 79.499 68.19 85.313 79.353 68.169 85.415 79.196 68.143 85.514 79.028 68.11 85.609 78.85 68.071 85.698 78.661 68.024 85.781 78.461 67.97 85.857 78.25 67.908 85.922 78.029 67.836 85.977 77.796 67.757 86.018 77.558 67.668 86.046 77.312 67.57 86.057 77.059 67.462 86.05 76.801 67.345 86.024 76.54 67.218 85.978 76.275 67.082 85.91 76.013 66.938 85.818 75.752 66.784 85.701 75.495 66.621 85.557 75.242 66.452 85.388 75.003 66.278 85.193 74.777 66.151 85.037 74.625 66.124 85.004 74.594 56.369 72.819 63.221 56.32 72.76 63.162 56.271 72.701 63.104 54.323 70.33 60.767 49.127 64.008 54.537 41.066 54.201 44.868 41.015 54.14 44.805 40.965 54.081 44.743 32.784 44.414 34.636 32.733 44.354 34.572 15.74 24.523 13.318 12.973 21.295 9.859 ' />
</LineSet>
<Appearance>
<!-- Line color is defined by emissiveColor -->
<Material emissiveColor='1 0 0'/>
<!-- TODO authors can add optional LineProperties node here -->
</Appearance>
</Shape>
<TimeSensor DEF='PduStreamClock' cycleInterval='83.02751636363637' loop = 'true'/>
<PositionInterpolator DEF='EntityPosition' key = '0 0.049 0.05 0.059 0.06 0.098 0.098 0.157 0.157 0.214 0.23 0.291 0.292 0.307 0.308 0.315 0.315 0.369 0.403 0.461 0.487 0.554 0.564 0.582 0.583 0.623 0.623 0.678 0.678 0.752 0.77 0.829 0.829 0.888 0.888 0.949 0.949 0.993 1 '
keyValue = ' 0 0 0 -1.569 -2.435 -1.337 -1.663 -2.653 -1.342 -2.354 -5.179 -0.429 -2.374 -5.43 -0.218 -1.825 -19.38 15.562 -1.824 -19.447 15.633 -1.63 -50.664 48.405 -1.631 -50.734 48.476 -1.971 -75.294 73.045 -1.994 -76.957 74.71 -2.087 -83.614 81.369 -2.086 -83.725 81.486 -1.339 -84.888 84.524 -1.224 -84.866 84.785 0.009 -83.851 86.765 0.06 -83.785 86.823 17.157 -62.331 106.653 30.427 -46.434 122.826 52.939 -20.165 150.983 58.56 -13.605 158.013 63.708 -7.598 164.452 64.514 -6.658 165.46 66.272 -3.281 166.287 66.351 -3.009 166.201 66.45 12.101 150.812 66.45 12.17 150.742 66.77 41.41 121.281 66.773 41.483 121.211 67.942 76.175 88.195 68.008 78.127 86.338 68.228 84.669 80.112 68.23 84.74 80.042 56.369 72.819 63.221 56.32 72.76 63.162 32.784 44.414 34.636 32.733 44.354 34.572 15.74 24.523 13.318 12.973 21.295 9.859 ' />
<OrientationInterpolator DEF='EntityOrientationZ' key = '0 0.049 0.05 0.059 0.06 0.098 0.098 0.157 0.157 0.214 0.23 0.291 0.292 0.307 0.308 0.315 0.315 0.369 0.403 0.461 0.487 0.554 0.564 0.582 0.583 0.623 0.623 0.678 0.678 0.752 0.77 0.829 0.829 0.888 0.888 0.949 0.949 0.993 1 '
keyValue = ' 0 0 1 0.347 0 0 1 0.479 0 0 1 -0.5 0 0 1 -0.272 0 0 1 -0.26 0 0 1 -0.247 0 0 1 -0.248 0 0 1 -0.25 0 0 1 -0.252 0 0 1 -0.252 0 0 1 -0.252 0 0 1 -0.252 0 0 1 -0.247 0 0 1 -0.186 0 0 1 -0.182 0 0 1 -0.136 0 0 1 -0.134 0 0 1 -0.141 0 0 1 -0.143 0 0 1 -0.143 0 0 1 -0.143 0 0 1 -0.143 0 0 1 -0.142 0 0 1 0.116 0 0 1 0.143 0 0 1 0.251 0 0 1 0.249 0 0 1 0.244 0 0 1 0.244 0 0 1 0.244 0 0 1 0.244 0 0 1 0.245 0 0 1 0.247 0 0 1 0.363 0 0 1 0.361 0 0 1 0.358 0 0 1 0.358 0 0 1 0.358 0 0 1 0.358 ' />
<OrientationInterpolator DEF='EntityOrientationY' key = '0 0.049 0.05 0.059 0.06 0.098 0.098 0.157 0.157 0.214 0.23 0.291 0.292 0.307 0.308 0.315 0.315 0.369 0.403 0.461 0.487 0.554 0.564 0.582 0.583 0.623 0.623 0.678 0.678 0.752 0.77 0.829 0.829 0.888 0.888 0.949 0.949 0.993 1 '
keyValue = ' 0 1 0 0.081 0 1 0 0.183 0 1 0 0.187 0 1 0 0.145 0 1 0 0.134 0 1 0 0.118 0 1 0 0.119 0 1 0 0.122 0 1 0 0.125 0 1 0 0.125 0 1 0 0.125 0 1 0 0.124 0 1 0 0.119 0 1 0 -0.006 0 1 0 -0.017 0 1 0 -0.111 0 1 0 -0.114 0 1 0 -0.103 0 1 0 -0.1 0 1 0 -0.1 0 1 0 -0.1 0 1 0 -0.1 0 1 0 -0.101 0 1 0 -0.188 0 1 0 -0.183 0 1 0 -0.121 0 1 0 -0.123 0 1 0 -0.129 0 1 0 -0.129 0 1 0 -0.129 0 1 0 -0.129 0 1 0 -0.128 0 1 0 -0.126 0 1 0 0.109 0 1 0 0.105 0 1 0 0.1 0 1 0 0.1 0 1 0 0.1 0 1 0 0.1 ' />
<OrientationInterpolator DEF='EntityOrientationX' key = '0 0.049 0.05 0.059 0.06 0.098 0.098 0.157 0.157 0.214 0.23 0.291 0.292 0.307 0.308 0.315 0.315 0.369 0.403 0.461 0.487 0.554 0.564 0.582 0.583 0.623 0.623 0.678 0.678 0.752 0.77 0.829 0.829 0.888 0.888 0.949 0.949 0.993 1 '
keyValue = ' 1 0 0 0.318 1 0 0 0.424 1 0 0 0.444 1 0 0 -0.351 1 0 0 -0.342 1 0 0 -0.332 1 0 0 -0.333 1 0 0 -0.334 1 0 0 -0.336 1 0 0 -0.336 1 0 0 -0.336 1 0 0 -0.336 1 0 0 -0.333 1 0 0 -0.309 1 0 0 -0.31 1 0 0 -0.329 1 0 0 -0.33 1 0 0 -0.326 1 0 0 -0.324 1 0 0 -0.324 1 0 0 -0.324 1 0 0 -0.324 1 0 0 -0.325 1 0 0 0.45 1 0 0 0.425 1 0 0 0.334 1 0 0 0.335 1 0 0 0.338 1 0 0 0.338 1 0 0 0.338 1 0 0 0.338 1 0 0 0.338 1 0 0 0.336 1 0 0 0.328 1 0 0 0.326 1 0 0 0.324 1 0 0 0.324 1 0 0 0.324 1 0 0 0.324 ' />
<ROUTE fromField='fraction_changed' fromNode='PduStreamClock' toField='set_fraction' toNode='EntityPosition'/>
<ROUTE fromField='fraction_changed' fromNode='PduStreamClock' toField='set_fraction' toNode='EntityOrientationX'/>
<ROUTE fromField='fraction_changed' fromNode='PduStreamClock' toField='set_fraction' toNode='EntityOrientationY'/>
<ROUTE fromField='fraction_changed' fromNode='PduStreamClock' toField='set_fraction' toNode='EntityOrientationZ'/>
<Transform DEF='EntityDisplayX' translation='0 1 0'>
<Transform DEF='EntityDisplayY'>
<Transform DEF='EntityDisplayZ'>
<ROUTE fromField='value_changed' fromNode='EntityPosition' toField='translation' toNode='EntityDisplayX'/>
<ROUTE fromField='value_changed' fromNode='EntityOrientationX' toField='rotation' toNode='EntityDisplayX'/>
<ROUTE fromField='value_changed' fromNode='EntityOrientationY' toField='rotation' toNode='EntityDisplayY'/>
<ROUTE fromField='value_changed' fromNode='EntityOrientationZ' toField='rotation' toNode='EntityDisplayZ'/>
<Transform DEF='HackRotationForLocalGroundPlane' rotation='1 0 0 0.67'>
<Inline DEF='JEEP' url='"Jeep.x3d" "https://savage.nps.edu/Savage/GroundVehicles/Jeep/Jeep.x3d"'/>
<Transform DEF='FlagOffset' translation='0 4 0'>
<Billboard>
<Inline url='HelloGermany.x3d'/>
</Billboard>
</Transform>
</Transform>
<Shape DEF='AxisLinesShape'>
<!-- RGB lines showing XYZ axes -->
<IndexedLineSet colorIndex='0 1 2' colorPerVertex='false' coordIndex='0 1 -1 0 2 -1 0 3 -1'>
<Coordinate point='0 0 0 2.0 0 0 0 2.0 0 0 0 2.0'/>
<Color color='1 0 0 0 0.6 0 0 0 1'/>
</IndexedLineSet>
</Shape>
<!-- <Shape> <Box size='2.5 10 2.5'/> <Appearance> <Material diffuseColor='1.0 0.0 0.1'/> </Appearance> </Shape> -->
</Transform>
</Transform>
</Transform>
<!-- Scene graph nodes are added here -->
</Scene>
</X3D>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment