x_ite 4.6.8 → 4.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (532) hide show
  1. package/README.md +13 -145
  2. package/build/bin/dist.pl +1 -0
  3. package/build/bin/version-number.pl +1 -0
  4. package/build/bin/version.pl +48 -21
  5. package/dist/assets/components/annotation.js +11 -5
  6. package/dist/assets/components/annotation.min.js +1 -1
  7. package/dist/assets/components/cad-geometry.js +121 -59
  8. package/dist/assets/components/cad-geometry.min.js +1 -1
  9. package/dist/assets/components/cube-map-texturing.js +138 -162
  10. package/dist/assets/components/cube-map-texturing.min.js +1 -1
  11. package/dist/assets/components/dis.js +16 -16
  12. package/dist/assets/components/dis.min.js +1 -1
  13. package/dist/assets/components/geometry2d.js +51 -75
  14. package/dist/assets/components/geometry2d.min.js +1 -1
  15. package/dist/assets/components/geospatial.js +179 -178
  16. package/dist/assets/components/geospatial.min.js +2 -2
  17. package/dist/assets/components/h-anim.js +35 -35
  18. package/dist/assets/components/h-anim.min.js +1 -1
  19. package/dist/assets/components/key-device-sensor.js +2 -4
  20. package/dist/assets/components/layout.js +90 -115
  21. package/dist/assets/components/layout.min.js +1 -1
  22. package/dist/assets/components/nurbs.js +30 -19
  23. package/dist/assets/components/nurbs.min.js +2 -2
  24. package/dist/assets/components/particle-systems.js +178 -182
  25. package/dist/assets/components/particle-systems.min.js +2 -2
  26. package/dist/assets/components/picking.js +48 -44
  27. package/dist/assets/components/picking.min.js +1 -1
  28. package/dist/assets/components/projective-texture-mapping.js +19 -49
  29. package/dist/assets/components/projective-texture-mapping.min.js +1 -1
  30. package/dist/assets/components/rigid-body-physics.js +416 -235
  31. package/dist/assets/components/rigid-body-physics.min.js +58 -58
  32. package/dist/assets/components/scripting.js +108 -90
  33. package/dist/assets/components/scripting.min.js +1 -1
  34. package/dist/assets/components/texturing-3d.js +1058 -15322
  35. package/dist/assets/components/texturing-3d.min.js +45 -49
  36. package/dist/assets/components/volume-rendering.js +19 -33
  37. package/dist/assets/components/volume-rendering.min.js +3 -3
  38. package/dist/assets/images/go-next.png +0 -0
  39. package/dist/assets/shaders/webgl1/Background.fs +2 -2
  40. package/dist/assets/shaders/webgl1/Background.vs +2 -2
  41. package/dist/assets/shaders/webgl1/Depth.fs +2 -2
  42. package/dist/assets/shaders/webgl1/Depth.vs +2 -2
  43. package/dist/assets/shaders/webgl1/Fallback.fs +8 -17
  44. package/dist/assets/shaders/webgl1/Fallback.vs +2 -2
  45. package/dist/assets/shaders/webgl1/FallbackUnlit.fs +16 -0
  46. package/dist/assets/shaders/webgl1/FallbackUnlit.vs +18 -0
  47. package/dist/assets/shaders/webgl1/Gouraud.fs +41 -40
  48. package/dist/assets/shaders/webgl1/Gouraud.vs +7 -28
  49. package/dist/assets/shaders/webgl1/Phong.fs +57 -81
  50. package/dist/assets/shaders/webgl1/Phong.vs +2 -3
  51. package/dist/assets/shaders/webgl1/PointSet.fs +41 -22
  52. package/dist/assets/shaders/webgl1/PointSet.vs +5 -16
  53. package/dist/assets/shaders/webgl1/Unlit.fs +541 -0
  54. package/dist/assets/shaders/webgl1/Unlit.vs +52 -0
  55. package/dist/assets/shaders/webgl1/Wireframe.fs +11 -4
  56. package/dist/assets/shaders/webgl1/Wireframe.vs +5 -16
  57. package/dist/assets/shaders/webgl2/Background.fs +0 -5
  58. package/dist/assets/shaders/webgl2/Background.vs +0 -5
  59. package/dist/assets/shaders/webgl2/Depth.fs +0 -5
  60. package/dist/assets/shaders/webgl2/Depth.vs +0 -5
  61. package/dist/assets/shaders/webgl2/Gouraud.fs +40 -36
  62. package/dist/assets/shaders/webgl2/Gouraud.vs +5 -31
  63. package/dist/assets/shaders/webgl2/Phong.fs +55 -76
  64. package/dist/assets/shaders/webgl2/Phong.vs +0 -6
  65. package/dist/assets/shaders/webgl2/PointSet.fs +39 -17
  66. package/dist/assets/shaders/webgl2/PointSet.vs +3 -19
  67. package/dist/assets/shaders/webgl2/Unlit.fs +696 -0
  68. package/dist/assets/shaders/webgl2/Unlit.vs +53 -0
  69. package/dist/assets/shaders/webgl2/Wireframe.fs +9 -7
  70. package/dist/assets/shaders/webgl2/Wireframe.vs +3 -19
  71. package/dist/example.html +8 -7
  72. package/dist/x_ite.css +135 -27
  73. package/dist/x_ite.js +60036 -60032
  74. package/dist/x_ite.min.js +41 -42
  75. package/dist/x_ite.zip +0 -0
  76. package/docs/404.md +5 -0
  77. package/docs/Accessing-the-External-Browser.md +290 -0
  78. package/docs/Browser-Support.md +47 -0
  79. package/docs/Custom-Shaders.md +905 -0
  80. package/docs/Features.md +49 -0
  81. package/docs/Glossary.md +339 -0
  82. package/docs/How-To-Configure-Your-Web-Server.md +56 -0
  83. package/docs/Supported-Nodes.md +370 -0
  84. package/docs/What's-New.md +1240 -0
  85. package/docs/XHTML-DOM-Integration.md +82 -0
  86. package/docs/_config.yml +140 -0
  87. package/docs/_data/navigation.yml +137 -0
  88. package/docs/assets/css/main.scss +100 -0
  89. package/docs/assets/images/logo.png +0 -0
  90. package/docs/google3696ee938394d7b6.html +1 -0
  91. package/docs/index.md +1026 -0
  92. package/docs/reference/Browser-Services.md +333 -0
  93. package/docs/reference/Constants-Services.md +376 -0
  94. package/docs/reference/ECMAScript-Object-and-Function-Definitions.md +128 -0
  95. package/docs/reference/Field-Services-and-Objects.md +1006 -0
  96. package/docs/reference/Prototype-Services.md +121 -0
  97. package/docs/reference/Route-Services.md +49 -0
  98. package/docs/reference/Scene-Services.md +360 -0
  99. package/docs/reference/Script-Node-Authoring-Interface.md +334 -0
  100. package/docs/tutorials/Adding-backgrounds.md +268 -0
  101. package/docs/tutorials/Adding-fog.md +67 -0
  102. package/docs/tutorials/Adding-sound.md +326 -0
  103. package/docs/tutorials/Animating-transforms.md +385 -0
  104. package/docs/tutorials/Basic-Nodes.md +317 -0
  105. package/docs/tutorials/Building-a-X3D-world.md +152 -0
  106. package/docs/tutorials/Building-elevation-grids.md +170 -0
  107. package/docs/tutorials/Building-extruded-shapes.md +145 -0
  108. package/docs/tutorials/Building-primitive-shapes.md +204 -0
  109. package/docs/tutorials/Building-shapes-out-of-points,-lines,-and-faces.md +311 -0
  110. package/docs/tutorials/Controlling-appearance-with-materials.md +186 -0
  111. package/docs/tutorials/Controlling-color-on-coordinate-based-geometry.md +208 -0
  112. package/docs/tutorials/Controlling-detail.md +130 -0
  113. package/docs/tutorials/Controlling-how-textures-are-mapped.md +277 -0
  114. package/docs/tutorials/Controlling-navigation.md +70 -0
  115. package/docs/tutorials/Controlling-shading-on-coordinate-based-geometry.md +180 -0
  116. package/docs/tutorials/Controlling-the-viewpoint.md +49 -0
  117. package/docs/tutorials/Creating-new-node-types.md +313 -0
  118. package/docs/tutorials/Grouping-nodes.md +237 -0
  119. package/docs/tutorials/Hello,-World!.md +204 -0
  120. package/docs/tutorials/Improving-Performance.md +227 -0
  121. package/docs/tutorials/Increasing-Rendering-Speed.md +110 -0
  122. package/docs/tutorials/Introducing-X3D.md +94 -0
  123. package/docs/tutorials/Introducing-animation.md +211 -0
  124. package/docs/tutorials/Introducing-script-use.md +127 -0
  125. package/docs/tutorials/Lighting-your-world.md +139 -0
  126. package/docs/tutorials/Mapping-textures.md +212 -0
  127. package/docs/tutorials/Naming-nodes.md +161 -0
  128. package/docs/tutorials/Providing-information-about-your-world.md +30 -0
  129. package/docs/tutorials/Sensing-the-viewer.md +205 -0
  130. package/docs/tutorials/Sensing-viewer-actions.md +214 -0
  131. package/docs/tutorials/Transforming-Shapes.md +270 -0
  132. package/docs/tutorials/Writing-program-scripts-with-ECMAScript.md +631 -0
  133. package/docs/tutorials/index.md +78 -0
  134. package/meta/logo/logo.png +0 -0
  135. package/meta/logo/logo.svg +216 -217
  136. package/package.json +29 -29
  137. package/src/assets/components/h-anim.js +7 -7
  138. package/src/assets/components/rigid-body-physics.js +1 -2
  139. package/src/assets/components/volume-rendering.js +0 -1
  140. package/src/assets/images/go-next.png +0 -0
  141. package/src/assets/shaders/{Types.h → Types.glsl} +1 -2
  142. package/src/assets/shaders/webgl1/Background.fs +2 -2
  143. package/src/assets/shaders/webgl1/Background.vs +2 -2
  144. package/src/assets/shaders/webgl1/Depth.fs +2 -2
  145. package/src/assets/shaders/webgl1/Depth.vs +2 -2
  146. package/src/assets/shaders/webgl1/Fallback.fs +19 -28
  147. package/src/assets/shaders/webgl1/Fallback.vs +2 -2
  148. package/src/assets/shaders/webgl1/FallbackUnlit.fs +22 -0
  149. package/src/assets/shaders/webgl1/FallbackUnlit.vs +24 -0
  150. package/src/assets/shaders/webgl1/Gouraud.fs +11 -23
  151. package/src/assets/shaders/webgl1/Gouraud.vs +8 -32
  152. package/src/assets/shaders/webgl1/Phong.fs +73 -108
  153. package/src/assets/shaders/webgl1/Phong.vs +2 -4
  154. package/src/assets/shaders/webgl1/PointSet.fs +9 -3
  155. package/src/assets/shaders/webgl1/PointSet.vs +10 -21
  156. package/src/assets/shaders/webgl1/Unlit.fs +89 -0
  157. package/src/assets/shaders/webgl1/Unlit.vs +67 -0
  158. package/src/assets/shaders/webgl1/Wireframe.fs +14 -4
  159. package/src/assets/shaders/webgl1/Wireframe.vs +11 -22
  160. package/src/assets/shaders/webgl1/include/Shadow.glsl +3 -1
  161. package/src/assets/shaders/webgl1/include/Texture.glsl +46 -20
  162. package/src/assets/shaders/webgl2/Background.fs +0 -5
  163. package/src/assets/shaders/webgl2/Background.vs +0 -5
  164. package/src/assets/shaders/webgl2/Depth.fs +0 -5
  165. package/src/assets/shaders/webgl2/Depth.vs +0 -5
  166. package/src/assets/shaders/webgl2/Gouraud.fs +11 -28
  167. package/src/assets/shaders/webgl2/Gouraud.vs +6 -35
  168. package/src/assets/shaders/webgl2/Phong.fs +70 -110
  169. package/src/assets/shaders/webgl2/Phong.vs +0 -7
  170. package/src/assets/shaders/webgl2/PointSet.fs +7 -6
  171. package/src/assets/shaders/webgl2/PointSet.vs +8 -24
  172. package/src/assets/shaders/webgl2/Unlit.fs +88 -0
  173. package/src/assets/shaders/webgl2/Unlit.vs +68 -0
  174. package/src/assets/shaders/webgl2/Wireframe.fs +12 -7
  175. package/src/assets/shaders/webgl2/Wireframe.vs +8 -24
  176. package/src/assets/shaders/webgl2/include/Shadow.glsl +3 -1
  177. package/src/assets/shaders/webgl2/include/Texture.glsl +38 -12
  178. package/src/bookmarks.js +16 -0
  179. package/src/dummy.js +1 -0
  180. package/src/example.html +8 -7
  181. package/src/examples.js +2 -2
  182. package/src/lib/ammojs/{Ammo.js → AmmoJS.js} +0 -2
  183. package/src/locale/de.po +3 -2
  184. package/src/locale/fr.po +4 -3
  185. package/src/standard/Geospatial/Geodetic.js +43 -43
  186. package/src/standard/Geospatial/ReferenceEllipsoids.js +1 -1
  187. package/src/standard/Geospatial/UniversalTransverseMercator.js +42 -42
  188. package/src/standard/Math/Algorithm.js +15 -40
  189. package/src/standard/Math/Algorithms/Bezier.js +147 -0
  190. package/src/standard/Math/Algorithms/MergeSort.js +2 -2
  191. package/src/standard/Math/Algorithms/PartialSort.js +6 -6
  192. package/src/standard/Math/Algorithms/QuickSort.js +8 -6
  193. package/src/standard/Math/Algorithms/SAT.js +4 -8
  194. package/src/standard/Math/Algorithms/eigendecomposition.js +5 -5
  195. package/src/standard/Math/Geometry/Box2.js +27 -27
  196. package/src/standard/Math/Geometry/Box3.js +160 -187
  197. package/src/standard/Math/Geometry/Camera.js +10 -10
  198. package/src/standard/Math/Geometry/Cylinder3.js +13 -13
  199. package/src/standard/Math/Geometry/Line3.js +34 -34
  200. package/src/standard/Math/Geometry/Plane3.js +15 -15
  201. package/src/standard/Math/Geometry/Sphere3.js +12 -12
  202. package/src/standard/Math/Geometry/Spheroid3.js +1 -1
  203. package/src/standard/Math/Geometry/Triangle2.js +5 -5
  204. package/src/standard/Math/Geometry/Triangle3.js +11 -13
  205. package/src/standard/Math/Geometry/ViewVolume.js +62 -62
  206. package/src/standard/Math/Numbers/Color3.js +26 -23
  207. package/src/standard/Math/Numbers/Color4.js +9 -9
  208. package/src/standard/Math/Numbers/Complex.js +11 -16
  209. package/src/standard/Math/Numbers/Matrix2.js +18 -13
  210. package/src/standard/Math/Numbers/Matrix3.js +64 -151
  211. package/src/standard/Math/Numbers/Matrix4.js +50 -183
  212. package/src/standard/Math/Numbers/Quaternion.js +49 -138
  213. package/src/standard/Math/Numbers/Rotation4.js +42 -55
  214. package/src/standard/Math/Numbers/Vector2.js +32 -115
  215. package/src/standard/Math/Numbers/Vector3.js +46 -151
  216. package/src/standard/Math/Numbers/Vector4.js +37 -162
  217. package/src/standard/Math/Utility/BVH.js +21 -20
  218. package/src/standard/Math/Utility/MatrixStack.js +4 -4
  219. package/src/standard/Networking/BinaryTransport.js +8 -8
  220. package/src/standard/Time/MicroTime.js +79 -0
  221. package/src/standard/Utility/DataStorage.js +4 -4
  222. package/src/standard/Utility/MapUtilities.js +1 -1
  223. package/src/standard/Utility/ObjectCache.js +2 -3
  224. package/src/standard/Utility/Shuffle.js +5 -6
  225. package/src/tests.js +10 -6
  226. package/src/x_ite/Base/Events.js +9 -10
  227. package/src/x_ite/Base/X3DChildObject.js +14 -10
  228. package/src/x_ite/Base/X3DEventObject.js +3 -7
  229. package/src/x_ite/Base/X3DObject.js +19 -14
  230. package/src/x_ite/Basic/FieldDefinitionArray.js +4 -13
  231. package/src/x_ite/Basic/X3DBaseNode.js +168 -202
  232. package/src/x_ite/Basic/X3DField.js +12 -41
  233. package/src/x_ite/Basic/X3DFieldDefinition.js +0 -4
  234. package/src/x_ite/Basic/X3DObjectArrayField.js +94 -114
  235. package/src/x_ite/Basic/X3DTypedArrayField.js +180 -161
  236. package/src/x_ite/Bits/TraverseType.js +1 -5
  237. package/src/x_ite/Browser/Core/BrowserOptions.js +9 -6
  238. package/src/x_ite/Browser/Core/BrowserTimings.js +1 -1
  239. package/src/x_ite/Browser/Core/ContextMenu.js +121 -56
  240. package/src/x_ite/Browser/Core/Notification.js +3 -3
  241. package/src/x_ite/Browser/Core/PrimitiveQuality.js +3 -7
  242. package/src/x_ite/Browser/Core/Shading.js +3 -7
  243. package/src/x_ite/Browser/Core/TextureQuality.js +3 -7
  244. package/src/x_ite/Browser/Core/X3DCoreContext.js +54 -34
  245. package/src/x_ite/Browser/EnvironmentalEffects/X3DEnvironmentalEffectsContext.js +5 -8
  246. package/src/x_ite/Browser/Geometry2D/X3DGeometry2DContext.js +9 -10
  247. package/src/x_ite/Browser/Geometry3D/X3DGeometry3DContext.js +8 -9
  248. package/src/x_ite/Browser/Grouping/X3DGroupingContext.js +98 -0
  249. package/src/x_ite/Browser/KeyDeviceSensor/X3DKeyDeviceSensorContext.js +1 -1
  250. package/src/x_ite/Browser/Layout/ScreenText.js +55 -72
  251. package/src/x_ite/Browser/Layout/X3DLayoutContext.js +4 -5
  252. package/src/x_ite/Browser/NURBS/NURBS.js +1 -1
  253. package/src/x_ite/Browser/Navigation/ExamineViewer.js +104 -83
  254. package/src/x_ite/Browser/Navigation/FlyViewer.js +2 -8
  255. package/src/x_ite/Browser/Navigation/LookAtViewer.js +41 -39
  256. package/src/x_ite/Browser/Navigation/PlaneViewer.js +18 -18
  257. package/src/x_ite/Browser/Navigation/WalkViewer.js +9 -5
  258. package/src/x_ite/Browser/Navigation/X3DFlyViewer.js +78 -63
  259. package/src/x_ite/Browser/Navigation/X3DViewer.js +64 -38
  260. package/src/x_ite/Browser/Networking/X3DNetworkingContext.js +6 -7
  261. package/src/x_ite/Browser/Networking/urls.js +8 -25
  262. package/src/x_ite/Browser/ParticleSystems/X3DParticleSystemsContext.js +3 -4
  263. package/src/x_ite/Browser/Picking/VolumePicker.js +17 -10
  264. package/src/x_ite/Browser/PointingDeviceSensor/PointingDevice.js +11 -10
  265. package/src/x_ite/Browser/PointingDeviceSensor/X3DPointingDeviceSensorContext.js +9 -8
  266. package/src/x_ite/Browser/Rendering/X3DRenderingContext.js +23 -26
  267. package/src/x_ite/Browser/Shaders/Shader.js +24 -45
  268. package/src/x_ite/Browser/Shaders/ShaderSource.js +31 -34
  269. package/src/x_ite/Browser/Shaders/ShaderTest.js +13 -13
  270. package/src/x_ite/Browser/Shaders/X3DShadersContext.js +51 -38
  271. package/src/x_ite/Browser/Shape/AlphaMode.js +65 -0
  272. package/src/x_ite/Browser/Shape/X3DShapeContext.js +22 -18
  273. package/src/x_ite/Browser/Text/PolygonText.js +13 -13
  274. package/src/x_ite/Browser/Text/TextAlignment.js +3 -7
  275. package/src/x_ite/Browser/Text/X3DTextContext.js +2 -4
  276. package/src/x_ite/Browser/Text/X3DTextGeometry.js +1 -3
  277. package/src/x_ite/Browser/Texturing/X3DTexturingContext.js +6 -11
  278. package/src/x_ite/Browser/Time/X3DTimeContext.js +20 -17
  279. package/src/x_ite/Browser/VERSION.js +1 -1
  280. package/src/x_ite/Browser/VolumeRendering/VolumeStyle.fs +0 -6
  281. package/src/x_ite/Browser/VolumeRendering/VolumeStyle.vs +0 -5
  282. package/src/x_ite/Browser/VolumeRendering/X3DVolumeRenderingContext.js +6 -9
  283. package/src/x_ite/Browser/X3DBrowser.js +147 -195
  284. package/src/x_ite/Browser/X3DBrowserContext.js +20 -15
  285. package/src/x_ite/Components/Annotation/GroupAnnotation.js +2 -0
  286. package/src/x_ite/Components/Annotation/IconAnnotation.js +9 -5
  287. package/src/x_ite/Components/CADGeometry/CADAssembly.js +4 -4
  288. package/src/x_ite/Components/CADGeometry/CADFace.js +110 -33
  289. package/src/x_ite/Components/CADGeometry/CADLayer.js +3 -18
  290. package/src/x_ite/Components/CADGeometry/CADPart.js +4 -4
  291. package/src/x_ite/Components/Core/WorldInfo.js +16 -6
  292. package/src/x_ite/Components/Core/X3DBindableNode.js +4 -31
  293. package/src/x_ite/Components/Core/X3DNode.js +0 -63
  294. package/src/x_ite/Components/Core/X3DPrototypeInstance.js +120 -180
  295. package/src/x_ite/Components/Core.js +7 -8
  296. package/src/x_ite/Components/CubeMapTexturing/ComposedCubeMapTexture.js +35 -32
  297. package/src/x_ite/Components/CubeMapTexturing/GeneratedCubeMapTexture.js +28 -25
  298. package/src/x_ite/Components/CubeMapTexturing/ImageCubeMapTexture.js +41 -53
  299. package/src/x_ite/Components/CubeMapTexturing/X3DEnvironmentTextureNode.js +30 -41
  300. package/src/x_ite/Components/DIS/EspduTransform.js +4 -4
  301. package/src/x_ite/Components/DIS/ReceiverPdu.js +4 -4
  302. package/src/x_ite/Components/DIS/SignalPdu.js +4 -4
  303. package/src/x_ite/Components/DIS/TransmitterPdu.js +4 -4
  304. package/src/x_ite/Components/EnvironmentalEffects/Fog.js +5 -16
  305. package/src/x_ite/Components/EnvironmentalEffects/FogCoordinate.js +10 -4
  306. package/src/x_ite/Components/EnvironmentalEffects/X3DBackgroundNode.js +23 -31
  307. package/src/x_ite/Components/EnvironmentalEffects.js +7 -8
  308. package/src/x_ite/Components/EnvironmentalSensor/ProximitySensor.js +10 -14
  309. package/src/x_ite/Components/EnvironmentalSensor/TransformSensor.js +90 -57
  310. package/src/x_ite/Components/EnvironmentalSensor/VisibilitySensor.js +6 -8
  311. package/src/x_ite/Components/EnvironmentalSensor/X3DEnvironmentalSensorNode.js +2 -4
  312. package/src/x_ite/Components/EnvironmentalSensor.js +7 -8
  313. package/src/x_ite/Components/Followers/OrientationChaser.js +6 -0
  314. package/src/x_ite/Components/Followers/OrientationDamper.js +6 -0
  315. package/src/x_ite/Components/Followers.js +7 -8
  316. package/src/x_ite/Components/Geometry2D/Arc2D.js +0 -2
  317. package/src/x_ite/Components/Geometry2D/Circle2D.js +1 -3
  318. package/src/x_ite/Components/Geometry2D/Disk2D.js +36 -49
  319. package/src/x_ite/Components/Geometry2D/Polyline2D.js +1 -3
  320. package/src/x_ite/Components/Geometry2D/Polypoint2D.js +2 -4
  321. package/src/x_ite/Components/Geometry2D/TriangleSet2D.js +2 -4
  322. package/src/x_ite/Components/Geometry3D/Cone.js +1 -3
  323. package/src/x_ite/Components/Geometry3D/Cylinder.js +3 -5
  324. package/src/x_ite/Components/Geometry3D/Extrusion.js +10 -3
  325. package/src/x_ite/Components/Geometry3D/Sphere.js +3 -5
  326. package/src/x_ite/Components/Geometry3D.js +7 -8
  327. package/src/x_ite/Components/Geospatial/GeoLOD.js +50 -49
  328. package/src/x_ite/Components/Geospatial/GeoLocation.js +6 -6
  329. package/src/x_ite/Components/Geospatial/GeoTransform.js +9 -9
  330. package/src/x_ite/Components/Geospatial/GeoViewpoint.js +27 -27
  331. package/src/x_ite/Components/Grouping/Group.js +3 -3
  332. package/src/x_ite/Components/Grouping/StaticGroup.js +39 -50
  333. package/src/x_ite/Components/Grouping/Switch.js +148 -49
  334. package/src/x_ite/Components/Grouping/Transform.js +3 -3
  335. package/src/x_ite/Components/Grouping/X3DBoundedObject.js +34 -9
  336. package/src/x_ite/Components/Grouping/X3DGroupingNode.js +262 -245
  337. package/src/x_ite/Components/Grouping/X3DTransformMatrix3DNode.js +29 -19
  338. package/src/x_ite/Components/Grouping/X3DTransformNode.js +2 -4
  339. package/src/x_ite/Components/Grouping.js +7 -8
  340. package/src/x_ite/Components/{H-Anim → HAnim}/HAnimDisplacer.js +2 -4
  341. package/src/x_ite/Components/{H-Anim → HAnim}/HAnimHumanoid.js +5 -3
  342. package/src/x_ite/Components/{H-Anim → HAnim}/HAnimJoint.js +7 -7
  343. package/src/x_ite/Components/{H-Anim → HAnim}/HAnimMotion.js +0 -0
  344. package/src/x_ite/Components/{H-Anim → HAnim}/HAnimSegment.js +4 -4
  345. package/src/x_ite/Components/{H-Anim → HAnim}/HAnimSite.js +4 -4
  346. package/src/x_ite/Components/Interpolation/OrientationInterpolator.js +8 -7
  347. package/src/x_ite/Components/Interpolation/SquadOrientationInterpolator.js +4 -3
  348. package/src/x_ite/Components/Interpolation.js +7 -8
  349. package/src/x_ite/Components/KeyDeviceSensor/X3DKeyDeviceSensorNode.js +1 -3
  350. package/src/x_ite/Components/Layering/LayerSet.js +4 -6
  351. package/src/x_ite/Components/Layering/Viewport.js +8 -8
  352. package/src/x_ite/Components/Layering/X3DLayerNode.js +45 -50
  353. package/src/x_ite/Components/Layering.js +7 -8
  354. package/src/x_ite/Components/Layout/LayoutGroup.js +7 -7
  355. package/src/x_ite/Components/Layout/ScreenGroup.js +24 -31
  356. package/src/x_ite/Components/Lighting/DirectionalLight.js +11 -11
  357. package/src/x_ite/Components/Lighting/PointLight.js +13 -16
  358. package/src/x_ite/Components/Lighting/SpotLight.js +15 -16
  359. package/src/x_ite/Components/Lighting/X3DLightNode.js +77 -59
  360. package/src/x_ite/Components/Lighting.js +7 -8
  361. package/src/x_ite/Components/NURBS/NurbsCurve.js +1 -1
  362. package/src/x_ite/Components/NURBS/NurbsCurve2D.js +1 -1
  363. package/src/x_ite/Components/NURBS/NurbsOrientationInterpolator.js +1 -1
  364. package/src/x_ite/Components/NURBS/NurbsPositionInterpolator.js +1 -1
  365. package/src/x_ite/Components/NURBS/NurbsSet.js +17 -6
  366. package/src/x_ite/Components/NURBS/X3DNurbsSurfaceGeometryNode.js +3 -3
  367. package/src/x_ite/Components/Navigation/Billboard.js +11 -11
  368. package/src/x_ite/Components/Navigation/Collision.js +5 -5
  369. package/src/x_ite/Components/Navigation/LOD.js +151 -59
  370. package/src/x_ite/Components/Navigation/NavigationInfo.js +26 -38
  371. package/src/x_ite/Components/Navigation/OrthoViewpoint.js +87 -34
  372. package/src/x_ite/Components/Navigation/Viewpoint.js +15 -15
  373. package/src/x_ite/Components/Navigation/ViewpointGroup.js +1 -1
  374. package/src/x_ite/Components/Navigation/X3DViewpointNode.js +106 -118
  375. package/src/x_ite/Components/Navigation.js +7 -8
  376. package/src/x_ite/Components/Networking/Anchor.js +22 -24
  377. package/src/x_ite/Components/Networking/Inline.js +23 -33
  378. package/src/x_ite/Components/Networking/X3DUrlObject.js +88 -8
  379. package/src/x_ite/Components/Networking.js +7 -8
  380. package/src/x_ite/Components/ParticleSystems/ParticleSystem.js +79 -75
  381. package/src/x_ite/Components/ParticleSystems/PolylineEmitter.js +10 -12
  382. package/src/x_ite/Components/ParticleSystems/SurfaceEmitter.js +10 -12
  383. package/src/x_ite/Components/ParticleSystems/VolumeEmitter.js +35 -37
  384. package/src/x_ite/Components/ParticleSystems/X3DParticleEmitterNode.js +20 -22
  385. package/src/x_ite/Components/Picking/PickableGroup.js +27 -28
  386. package/src/x_ite/Components/Picking/X3DPickSensorNode.js +4 -6
  387. package/src/x_ite/Components/PointingDeviceSensor.js +7 -8
  388. package/src/x_ite/Components/ProjectiveTextureMapping/TextureProjectorParallel.js +4 -6
  389. package/src/x_ite/Components/ProjectiveTextureMapping/TextureProjectorPerspective.js +4 -6
  390. package/src/x_ite/Components/ProjectiveTextureMapping/X3DTextureProjectorNode.js +12 -38
  391. package/src/x_ite/Components/Rendering/ClipPlane.js +4 -4
  392. package/src/x_ite/Components/Rendering/Color.js +22 -9
  393. package/src/x_ite/Components/Rendering/ColorRGBA.js +26 -12
  394. package/src/x_ite/Components/Rendering/IndexedLineSet.js +10 -11
  395. package/src/x_ite/Components/Rendering/IndexedTriangleFanSet.js +6 -3
  396. package/src/x_ite/Components/Rendering/IndexedTriangleStripSet.js +2 -2
  397. package/src/x_ite/Components/Rendering/LineSet.js +7 -8
  398. package/src/x_ite/Components/Rendering/Normal.js +20 -4
  399. package/src/x_ite/Components/Rendering/PointSet.js +6 -6
  400. package/src/x_ite/Components/Rendering/TriangleFanSet.js +7 -9
  401. package/src/x_ite/Components/Rendering/TriangleStripSet.js +6 -8
  402. package/src/x_ite/Components/Rendering/X3DComposedGeometryNode.js +24 -25
  403. package/src/x_ite/Components/Rendering/X3DCoordinateNode.js +11 -13
  404. package/src/x_ite/Components/Rendering/X3DGeometryNode.js +278 -222
  405. package/src/x_ite/Components/Rendering/X3DLineGeometryNode.js +63 -93
  406. package/src/x_ite/Components/Rendering.js +7 -8
  407. package/src/x_ite/Components/RigidBodyPhysics/BallJoint.js +8 -10
  408. package/src/x_ite/Components/RigidBodyPhysics/CollidableOffset.js +102 -16
  409. package/src/x_ite/Components/RigidBodyPhysics/CollidableShape.js +136 -53
  410. package/src/x_ite/Components/RigidBodyPhysics/CollisionSensor.js +11 -13
  411. package/src/x_ite/Components/RigidBodyPhysics/CollisionSpace.js +12 -4
  412. package/src/x_ite/Components/RigidBodyPhysics/DoubleAxisHingeJoint.js +49 -37
  413. package/src/x_ite/Components/RigidBodyPhysics/RigidBody.js +27 -29
  414. package/src/x_ite/Components/RigidBodyPhysics/RigidBodyCollection.js +26 -25
  415. package/src/x_ite/Components/RigidBodyPhysics/SingleAxisHingeJoint.js +25 -20
  416. package/src/x_ite/Components/RigidBodyPhysics/SliderJoint.js +8 -10
  417. package/src/x_ite/Components/RigidBodyPhysics/X3DNBodyCollidableNode.js +8 -9
  418. package/src/x_ite/Components/RigidBodyPhysics/X3DNBodyCollisionSpaceNode.js +2 -4
  419. package/src/x_ite/Components/Scripting/Script.js +106 -86
  420. package/src/x_ite/Components/Scripting/X3DScriptNode.js +2 -4
  421. package/src/x_ite/Components/Shaders/ComposedShader.js +1 -7
  422. package/src/x_ite/Components/Shaders/FloatVertexAttribute.js +9 -3
  423. package/src/x_ite/Components/Shaders/Matrix3VertexAttribute.js +10 -3
  424. package/src/x_ite/Components/Shaders/Matrix4VertexAttribute.js +10 -3
  425. package/src/x_ite/Components/Shaders/PackagedShader.js +10 -6
  426. package/src/x_ite/Components/Shaders/ShaderPart.js +8 -5
  427. package/src/x_ite/Components/Shaders/ShaderProgram.js +10 -8
  428. package/src/x_ite/Components/Shaders/X3DProgrammableShaderObject.js +162 -182
  429. package/src/x_ite/Components/Shaders/X3DShaderNode.js +18 -6
  430. package/src/x_ite/Components/Shaders.js +7 -8
  431. package/src/x_ite/Components/Shape/Appearance.js +123 -78
  432. package/src/x_ite/Components/Shape/FillProperties.js +3 -5
  433. package/src/x_ite/Components/Shape/LineProperties.js +1 -1
  434. package/src/x_ite/Components/Shape/Material.js +45 -54
  435. package/src/x_ite/Components/Shape/PointProperties.js +3 -3
  436. package/src/x_ite/Components/Shape/Shape.js +38 -45
  437. package/src/x_ite/Components/Shape/TwoSidedMaterial.js +40 -41
  438. package/src/x_ite/Components/Shape/UnlitMaterial.js +109 -0
  439. package/src/x_ite/Components/Shape/X3DAppearanceNode.js +2 -8
  440. package/src/x_ite/Components/Shape/X3DMaterialNode.js +1 -3
  441. package/src/x_ite/Components/Shape/X3DOneSidedMaterialNode.js +111 -0
  442. package/src/x_ite/Components/Shape/X3DShapeNode.js +38 -14
  443. package/src/x_ite/Components/Shape.js +14 -8
  444. package/src/x_ite/Components/Sound/AudioClip.js +28 -37
  445. package/src/x_ite/Components/Sound/Sound.js +6 -6
  446. package/src/x_ite/Components/Sound.js +7 -8
  447. package/src/x_ite/Components/Text/Text.js +2 -4
  448. package/src/x_ite/Components/Text/X3DFontStyleNode.js +26 -37
  449. package/src/x_ite/Components/Text.js +7 -8
  450. package/src/x_ite/Components/Texturing/ImageTexture.js +30 -42
  451. package/src/x_ite/Components/Texturing/MovieTexture.js +34 -43
  452. package/src/x_ite/Components/Texturing/MultiTexture.js +12 -15
  453. package/src/x_ite/Components/Texturing/MultiTextureCoordinate.js +22 -40
  454. package/src/x_ite/Components/Texturing/MultiTextureTransform.js +9 -21
  455. package/src/x_ite/Components/Texturing/PixelTexture.js +33 -4
  456. package/src/x_ite/Components/Texturing/TextureCoordinate.js +32 -17
  457. package/src/x_ite/Components/Texturing/TextureCoordinateGenerator.js +10 -13
  458. package/src/x_ite/Components/Texturing/TextureTransform.js +55 -47
  459. package/src/x_ite/Components/Texturing/X3DSingleTextureCoordinateNode.js +91 -0
  460. package/src/x_ite/Components/Texturing/X3DSingleTextureNode.js +183 -0
  461. package/src/x_ite/Components/Texturing/X3DSingleTextureTransformNode.js +77 -0
  462. package/src/x_ite/Components/Texturing/X3DTexture2DNode.js +24 -44
  463. package/src/x_ite/Components/Texturing/X3DTextureCoordinateNode.js +1 -22
  464. package/src/x_ite/Components/Texturing/X3DTextureNode.js +1 -89
  465. package/src/x_ite/Components/Texturing/X3DTextureTransformNode.js +2 -14
  466. package/src/x_ite/Components/Texturing.js +20 -12
  467. package/src/x_ite/Components/Texturing3D/ComposedTexture3D.js +1 -0
  468. package/src/x_ite/Components/Texturing3D/ImageTexture3D.js +12 -8
  469. package/src/x_ite/Components/Texturing3D/PixelTexture3D.js +1 -0
  470. package/src/x_ite/Components/Texturing3D/TextureCoordinate3D.js +35 -18
  471. package/src/x_ite/Components/Texturing3D/TextureCoordinate4D.js +35 -18
  472. package/src/x_ite/Components/Texturing3D/TextureTransform3D.js +41 -31
  473. package/src/x_ite/Components/Texturing3D/TextureTransformMatrix3D.js +13 -12
  474. package/src/x_ite/Components/Texturing3D/X3DTexture3DNode.js +26 -44
  475. package/src/x_ite/Components/Time/TimeSensor.js +2 -2
  476. package/src/x_ite/Components/Time.js +7 -8
  477. package/src/x_ite/Components/VolumeRendering/IsoSurfaceVolumeData.js +4 -6
  478. package/src/x_ite/Components/VolumeRendering/SegmentedVolumeData.js +3 -5
  479. package/src/x_ite/Components/VolumeRendering/VolumeData.js +2 -4
  480. package/src/x_ite/Components/VolumeRendering/X3DVolumeDataNode.js +2 -6
  481. package/src/x_ite/Components.js +3 -3
  482. package/src/x_ite/Configuration/ComponentInfo.js +1 -5
  483. package/src/x_ite/Configuration/ComponentInfoArray.js +4 -7
  484. package/src/x_ite/Configuration/ProfileInfo.js +1 -5
  485. package/src/x_ite/Configuration/SupportedComponents.js +7 -5
  486. package/src/x_ite/Configuration/SupportedNodes.js +22 -6
  487. package/src/x_ite/Configuration/SupportedProfiles.js +2 -2
  488. package/src/x_ite/Configuration/UnitInfo.js +1 -1
  489. package/src/x_ite/Configuration/X3DInfoArray.js +8 -13
  490. package/src/x_ite/Execution/BindableList.js +62 -37
  491. package/src/x_ite/Execution/BindableStack.js +61 -69
  492. package/src/x_ite/Execution/ExportedNode.js +2 -2
  493. package/src/x_ite/Execution/ImportedNode.js +50 -33
  494. package/src/x_ite/Execution/Scene.js +22 -16
  495. package/src/x_ite/Execution/World.js +21 -17
  496. package/src/x_ite/Execution/X3DExecutionContext.js +186 -159
  497. package/src/x_ite/Execution/X3DScene.js +42 -50
  498. package/src/x_ite/{Error.js → Fallback.js} +26 -29
  499. package/src/x_ite/Fields/ArrayFields.js +56 -39
  500. package/src/x_ite/Fields/SFMatrixPrototypeTemplate.js +6 -2
  501. package/src/x_ite/Fields/SFNode.js +2 -16
  502. package/src/x_ite/Fields/SFString.js +2 -2
  503. package/src/x_ite/Fields.js +2 -6
  504. package/src/x_ite/InputOutput/FileLoader.js +129 -187
  505. package/src/x_ite/InputOutput/Generator.js +3 -5
  506. package/src/x_ite/Parser/HTMLSupport.js +3 -596
  507. package/src/x_ite/Parser/JSONParser.js +348 -245
  508. package/src/x_ite/Parser/Parser.js +79 -62
  509. package/src/x_ite/Parser/X3DParser.js +27 -14
  510. package/src/x_ite/Parser/XMLParser.js +49 -34
  511. package/src/x_ite/Prototype/X3DExternProtoDeclaration.js +40 -46
  512. package/src/x_ite/Prototype/X3DProtoDeclaration.js +32 -32
  513. package/src/x_ite/Prototype/X3DProtoDeclarationNode.js +8 -10
  514. package/src/x_ite/Rendering/DependentRenderer.js +4 -11
  515. package/src/x_ite/Rendering/TextureBuffer.js +20 -18
  516. package/src/x_ite/Rendering/X3DRenderObject.js +126 -148
  517. package/src/x_ite/Routing/RouteArray.js +6 -15
  518. package/src/x_ite/Routing/X3DRoute.js +2 -3
  519. package/src/x_ite/Routing/X3DRoutingContext.js +6 -6
  520. package/src/x_ite/X3D.js +20 -41
  521. package/src/x_ite.config.js +5 -5
  522. package/src/x_ite.css +148 -28
  523. package/src/x_ite.html +18 -10
  524. package/src/x_ite.js +62 -16
  525. package/x_ite.min.html +18 -10
  526. package/.bzrignore +0 -4
  527. package/AUTHORS.md +0 -7
  528. package/STYLE_GUIDE.md +0 -51
  529. package/src/locale/de.mo +0 -0
  530. package/src/locale/fr.mo +0 -0
  531. package/src/standard/Networking/URI.js +0 -798
  532. package/src/test.x3d +0 -225
package/README.md CHANGED
@@ -1,159 +1,27 @@
1
- <img alt="X_ITE" src="https://rawgit.com/create3000/x_ite/master/meta/logo/logo.svg" width="60" height="60"/>
2
-
3
- [X_ITE](http://create3000.de/x_ite/) — X_ITE WebGL Browser
1
+ [X_ITE](https://create3000.github.io/x_ite/) X_ITE X3D Browser
4
2
  ==================================================
5
3
 
6
-
7
- Introduction
8
- --------------------------------------
9
-
10
- X_ITE is a work in progress. The goal is a full standard WebGL X3D browser for all major web browsers.
11
-
12
- For more information and live preview please visit [http://create3000.de/x_ite/](http://create3000.de/x_ite/).
13
-
14
-
15
- Links
16
- --------------------------------------
17
- * [Getting Started](http://create3000.de/x_ite/getting-started/)
18
- * [What’s New](http://create3000.de/x_ite/whats-new/)
19
- * [Supported Nodes](http://create3000.de/x_ite/supported-nodes/)
20
- * [Accessing the External Browser](http://create3000.de/x_ite/accessing-the-external-browser/)
21
- * [XHTML DOM Integration](http://create3000.de/x_ite/xhtml-dom-integration/)
22
- * [Custom Shaders](http://create3000.de/x_ite/shaders/)
23
-
24
- Embedding X_ITE within a Web Page
25
- --------------------------------------
26
-
27
- To display your X3D scene in a HTML5 page first save your scene as X3D XML Encoded file or as X3D Classic Encoded file, i.e. create a file with the extension .x3d ,.x3dv or .wrl.
28
-
29
- The HTML5 page is quite easy to create, the HTML5 code below shows you the minimum requirements. The path to the X3D scene is specified in the src attribute of the <X3DCanvas> tag.
30
-
31
- <!DOCTYPE html>
32
- <html>
33
- <head>
34
- <meta charset="utf-8"/>
35
- <link rel="stylesheet" type="text/css" href="http://code.create3000.de/x_ite/latest/dist/x_ite.css"/>
36
- <script type="text/javascript" src="http://code.create3000.de/x_ite/latest/dist/x_ite.min.js"></script>
37
- <style>
38
- X3DCanvas {
39
- width: 768px;
40
- height: 432px;
41
- }
42
- </style>
43
- </head>
44
- <body>
45
- <X3DCanvas src="path/to/your/X3D/world.x3d">
46
- <p>Your browser may not support all features required by X_ITE!</p>
47
- </X3DCanvas>
48
- </body>
49
- </html>
50
-
51
- To get X_ITE working you must include the CSS file »x_ite.css« and the JavaScript file »x_ite.min.js «. After x_ite is successfully loaded a new HTML tag <X3DCanvas> is available on your page.
52
-
53
- You can style the <X3DCanvas> tag as every HTML tag with CSS as well as you can place it everywhere within the DOM tree.
54
-
55
-
56
- ### Supported File Formats
57
-
58
- As of version 1.19, X_ITE can now parse either X3D XML Encoding or X3D Classic Encoding. This gives authors the capability to display their existing projects like .wrl worlds, too.
59
-
60
- Additionally files can be compressed using GZip compression.
61
-
62
-
63
- ### Fallback Content
64
-
65
- The <X3DCanvas> element is equal to the <canvas> element in that, it is easy to define some fallback content, to be displayed in older browsers not supporting it, like currently all other browsers than the recent version of Firefox or older versions of that. You should always provide fallback content to be displayed by those browsers.
66
-
67
- Providing fallback content is very straightforward: just insert the alternate content inside the <X3DCanvas> element. Browsers that don't support <X3DCanvas> will ignore the container and render the fallback content inside it. Browsers that do support <X3DCanvas> will ignore the content inside the container, and just render the canvas normally.
68
-
69
- For example, we could provide a text description of the X3D element or provide a static image of the dynamically rendered content. This can look something like this:
70
-
71
- <X3DCanvas src="world.x3d">
72
- <p>Current stock price: $3.15 +0.15</p>
73
- </X3DCanvas>
74
-
75
- <X3DCanvas src="world.x3dv">
76
- <img src="images/clock.png"/>
77
- </X3DCanvas>
78
-
79
-
80
- Attributes of the X3DCanvas Tag
4
+ 🛑 Attention!
81
5
  --------------------------------------
82
6
 
83
- The HTML **X3DCanvas tag** defines the main content of the X3D document. The X3DCanvas tag has two attributes that define different behaviours. All of these attributes are optional.
84
-
85
-
86
- ### cache
87
-
88
- A Boolean value (true or false) to indicate whether files transferred over the internet should be cached on the local computer. The default value for the cache attribute is true. It works by appending „_={timestamp}“ to the GET parameters of every request.
89
-
90
-
91
- ### contextMenu
7
+ 👉 X_ITE is now hosted on create3000.github.io, see https://create3000.github.io/x_ite/#github-cdn. The domain http://create3000.de will be shutdown 2022 in May 😱.
92
8
 
93
- A Boolean value (true or false) to indicate whether a context menu should be displayed on right click. The default value for the contextMenu attribute is true.
94
-
95
-
96
- ### notifications
97
-
98
- A Boolean value (true or false) to indicate whether the notification bubble should be displayed. The default value for the notifications attribute is true.
99
-
100
-
101
- ### onerror
102
-
103
- Type: script code. This event is sent to an X3DCanvas element when an error occurs loading a scene.
104
-
105
-
106
- ### onload
107
-
108
- Type: script code. This event handler will be called on the X3DCanvas element when a scene has finished loading. This applies whether the scene is applied via the src attribute or when a scene is loaded or replaced by another world. If you change the scene, the event will fire again when the new scene loads. This event will not bubble up the element tree.
109
-
110
-
111
- ### onshutdown
112
-
113
- Type: script code. This event handler will be called on the X3DCanvas element when a scene is unloaded or replaced by another world.
114
-
115
-
116
- ### src
117
-
118
- A String value with the URL that should be loaded on page load. If no src attribute is specified or the src attribute is empty an empty scene is displayed.
119
-
120
-
121
- ### splashScreen
122
-
123
- A Boolean value (true or false) to indicate whether the splash screen should be displayed. The default value for the splashScreen attribute is true. The display of Learn more about how HTML and X3D can operate together.the splash screen can also be toggled via the browser option »SplashScreen« in JavaScript. Call Browser.setBrowserOption(„SplashScreen“, booleanValue) to toggle the display of the splash screen.
124
-
125
-
126
- ### timings
127
-
128
- A Boolean value (true or false) to indicate whether the browser timings bubble should be displayed if the context menu option is enabled. The default value for the timings attribute is true. This attribute changes the facility if browsers timings can be displayed, if browser timings are really displayed is in the hand of the user if he toggles the context menu option to true.
129
-
130
-
131
- ### url
132
-
133
- A MFString value with urls that should be loaded on page load. If no url attribute is specified or the attribute is empty an empty scene is displayed. If both src and url attribute are specified the src attribute takes precedence.
134
-
135
-
136
- ## Example
137
-
138
- `<X3DCanvas cache="true" src="path/to/your/X3D/world.x3d"></X3DCanvas>`
139
-
140
-
141
- Programmer's Style Guide
9
+ Introduction
142
10
  --------------------------------------
143
- Programmers who want to work on X_ITE shall first read the [Style Guide](STYLE_GUIDE.md).
144
-
145
11
 
146
- Tests
147
- --------------------------------------
148
- [X_ITE Test Page](http://rawgit.com/create3000/x_ite/master/x_ite.min.html)
12
+ X_ITE is an X3D JavaScript WebGL Browser. It is a full standard X3D WebGL browser for all major web browsers.
149
13
 
14
+ For more information and live preview please have a look at the [Home Page](https://create3000.github.io/x_ite/).
150
15
 
151
- Authors
16
+ Quick Links
152
17
  --------------------------------------
153
- All authors contributed to this project can be found in the [list of authors](AUTHORS.md).
154
-
18
+ * [Getting Started](https://create3000.github.io/x_ite/)
19
+ * [Supported Nodes](https://create3000.github.io/x_ite/Supported-Nodes.html)
20
+ * [Accessing the External Browser](https://create3000.github.io/x_ite/Accessing-the-External-Browser.html)
21
+ * [XHTML DOM Integration](https://create3000.github.io/x_ite/XHTML-DOM-Integration.html)
22
+ * [Custom Shaders](https://create3000.github.io/x_ite/Custom-Shaders.html)
155
23
 
156
24
  License
157
25
  --------------------------------------
158
- X_ITE is free software: you can redistribute it and/or modify it under the terms of
26
+ X_ITE is free software: you can redistribute it and/or modify it under the terms of
159
27
  the [GNU General Public License version 3](LICENSE.md) only, as published by the Free Software Foundation.
package/build/bin/dist.pl CHANGED
@@ -4,6 +4,7 @@
4
4
  use strict;
5
5
  use warnings;
6
6
  use v5.10.0;
7
+ use utf8;
7
8
  use open qw/:std :utf8/;
8
9
 
9
10
  use File::Basename qw (dirname basename);
@@ -4,6 +4,7 @@
4
4
  use strict;
5
5
  use warnings;
6
6
  use v5.10.0;
7
+ use utf8;
7
8
  use open qw/:std :utf8/;
8
9
 
9
10
  sub check_version {
@@ -4,11 +4,12 @@
4
4
  use strict;
5
5
  use warnings;
6
6
  use v5.10.0;
7
+ use utf8;
7
8
  use open qw/:std :utf8/;
8
9
 
9
- my $CWD = `pwd`;
10
- chomp $CWD;
10
+ use Cwd;
11
11
 
12
+ my $CWD = cwd;
12
13
  say $CWD;
13
14
 
14
15
  my $VERSION;
@@ -43,31 +44,51 @@ sub publish
43
44
  system "git", "push", "origin", "--tags";
44
45
  }
45
46
 
46
- sub rsync
47
+ sub update
47
48
  {
48
49
  my $release = shift;
49
- my $local = "/home/holger/Projekte/X_ITE/dist";
50
- my $ftp = "/html/create3000.de/code/htdocs/x_ite";
51
- my $host = "alfa3008.alfahosting-server.de";
52
- my $user = netuser ($host);
50
+ my $dist = "$CWD/dist";
51
+ my $code = "$CWD/../code/docs/x_ite/$release";
53
52
 
54
53
  say "Uploading $release";
55
54
 
56
- #system "mkdir", "-p", "$ftp/$release/dist/";
57
- #system "rsync", "-r", "-x", "-c", "-v", "--progress", "--delete", "$local/", "$ftp/$release/dist/";
55
+ system "rm", "-r", "$code/dist";
58
56
 
59
- system "lftp", "-e", "mkdir -p $ftp/$release/dist; bye", "ftp://$user\@$host";
60
- system "lftp", "-e", "mirror --reverse --delete --overwrite --use-cache --verbose $local $ftp/$release/dist; bye", "ftp://$user\@$host";
57
+ system "mkdir", "-p", $code;
58
+ system "cp", "-r", $dist, "$code/dist";
61
59
  }
62
60
 
63
- sub netuser
61
+ sub upload
64
62
  {
65
- my $host = shift;
66
- my $netrc = `cat ~/.netrc`;
63
+ my $code = "$CWD/../code";
67
64
 
68
- $netrc =~ /machine\s+$host\s+login\s+(\w+)/;
65
+ chdir $code;
69
66
 
70
- return $1;
67
+ system "git", "add", "-A";
68
+ system "git", "commit", "-am", "Published version $VERSION-$REVISION";
69
+ system "git", "push";
70
+ system "git", "push", "origin";
71
+ }
72
+
73
+ sub docs
74
+ {
75
+ my $VERSION = shift;
76
+
77
+ my $config = `cat '$CWD/docs/_config.yml'`;
78
+
79
+ $config =~ s|"Version\s+.*?"|"Version $VERSION"|sgo;
80
+
81
+ open CONFIG, ">", "$CWD/docs/_config.yml";
82
+ print CONFIG $config;
83
+ close CONFIG;
84
+
85
+ my $home = `cat '$CWD/docs/index.md'`;
86
+
87
+ $home =~ s|/x_ite/\d+\.\d+\.\d+/dist/|/x_ite/$VERSION/dist/|sgo;
88
+
89
+ open HOME, ">", "$CWD/docs/index.md";
90
+ print HOME $home;
91
+ close HOME;
71
92
  }
72
93
 
73
94
  my $result = system "zenity", "--question", "--text=Do you really want to publish X_ITE X3D v$VERSION-$REVISION now?", "--ok-label=Yes", "--cancel-label=No";
@@ -79,23 +100,29 @@ if ($result == 0)
79
100
  # Increment revision number.
80
101
  system "perl", "-pi", "-e", "s|\"revision\":\\s*\"(.*?)\"|\"revision\": \"$REVISION\"|sg", "package.json";
81
102
 
103
+ # docs
104
+
105
+ docs ($VERSION) unless $ALPHA;
106
+
82
107
  # GitHub
83
108
 
84
109
  commit;
85
110
 
86
111
  unless ($ALPHA)
87
112
  {
88
- publish ("$VERSION");
113
+ publish ($VERSION);
89
114
  publish ("latest");
90
115
  }
91
116
 
92
- # FTP
117
+ # code
93
118
 
94
- rsync ("alpha");
119
+ update ("alpha");
95
120
 
96
121
  unless ($ALPHA)
97
122
  {
98
- rsync ("latest");
99
- rsync ($VERSION);
123
+ update ("latest");
124
+ update ($VERSION);
100
125
  }
126
+
127
+ upload;
101
128
  }
@@ -375,6 +375,8 @@ function (Fields,
375
375
  new X3DFieldDefinition (X3DConstants .inputOutput, "enabled", new Fields .SFBool (true)),
376
376
  new X3DFieldDefinition (X3DConstants .inputOutput, "annotationGroupID", new Fields .SFString ()),
377
377
  new X3DFieldDefinition (X3DConstants .inputOutput, "displayPolicy", new Fields .SFString ("NEVER")),
378
+ new X3DFieldDefinition (X3DConstants .inputOutput, "visible", new Fields .SFBool (true)),
379
+ new X3DFieldDefinition (X3DConstants .inputOutput, "bboxDisplay", new Fields .SFBool ()),
378
380
  new X3DFieldDefinition (X3DConstants .initializeOnly, "bboxCenter", new Fields .SFVec3f (0, 0, 0)),
379
381
  new X3DFieldDefinition (X3DConstants .initializeOnly, "bboxSize", new Fields .SFVec3f (-1, -1, -1)),
380
382
  new X3DFieldDefinition (X3DConstants .inputOnly, "addChildren", new Fields .MFNode ()),
@@ -482,11 +484,13 @@ function (Fields,
482
484
  {
483
485
  constructor: IconAnnotation,
484
486
  fieldDefinitions: new FieldDefinitionArray ([
485
- new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
486
- new X3DFieldDefinition (X3DConstants .inputOutput, "enabled", new Fields .SFBool (true)),
487
- new X3DFieldDefinition (X3DConstants .inputOutput, "annotationGroupID", new Fields .SFString ()),
488
- new X3DFieldDefinition (X3DConstants .inputOutput, "displayPolicy", new Fields .SFString ("NEVER")),
489
- new X3DFieldDefinition (X3DConstants .inputOutput, "url", new Fields .MFString ()),
487
+ new X3DFieldDefinition (X3DConstants .inputOutput, "metadata", new Fields .SFNode ()),
488
+ new X3DFieldDefinition (X3DConstants .inputOutput, "enabled", new Fields .SFBool (true)),
489
+ new X3DFieldDefinition (X3DConstants .inputOutput, "annotationGroupID", new Fields .SFString ()),
490
+ new X3DFieldDefinition (X3DConstants .inputOutput, "displayPolicy", new Fields .SFString ("NEVER")),
491
+ new X3DFieldDefinition (X3DConstants .inputOutput, "url", new Fields .MFString ()),
492
+ new X3DFieldDefinition (X3DConstants .inputOutput, "autoRefresh", new Fields .SFTime ()),
493
+ new X3DFieldDefinition (X3DConstants .inputOutput, "autoRefreshTimeLimit", new Fields .SFTime (3600)),
490
494
  ]),
491
495
  getTypeName: function ()
492
496
  {
@@ -505,6 +509,8 @@ function (Fields,
505
509
  X3DAnnotationNode .prototype .initialize .call (this);
506
510
  X3DUrlObject .prototype .initialize .call (this);
507
511
  },
512
+ requestImmediateLoad: function (cache = true)
513
+ { },
508
514
  });
509
515
 
510
516
  return IconAnnotation;
@@ -1 +1 @@
1
- !function(){var t=X3D.define;X3D.require;t("x_ite/Components/Annotation/AnnotationLayer",["x_ite/Fields","x_ite/Basic/X3DFieldDefinition","x_ite/Basic/FieldDefinitionArray","x_ite/Components/Layering/X3DLayerNode","x_ite/Components/Navigation/Viewpoint","x_ite/Components/Grouping/Group","x_ite/Bits/X3DConstants"],function(t,n,i,e,o,a,u){"use strict";function r(t){e.call(this,t,new o(t),new a(t)),this.addType(u.AnnotationLayer)}return r.prototype=Object.assign(Object.create(e.prototype),{constructor:r,fieldDefinitions:new i([new n(u.inputOutput,"metadata",new t.SFNode),new n(u.inputOutput,"isPickable",new t.SFBool(!0)),new n(u.inputOutput,"layoutPolicy",new t.MFString),new n(u.inputOutput,"shownGroupID",new t.MFString),new n(u.inputOutput,"viewport",new t.SFNode)]),getTypeName:function(){return"AnnotationLayer"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"layers"},initialize:function(){e.prototype.initialize.call(this)}}),r}),t("x_ite/Components/Annotation/AnnotationTarget",["x_ite/Fields","x_ite/Basic/X3DFieldDefinition","x_ite/Basic/FieldDefinitionArray","x_ite/Components/Core/X3DChildNode","x_ite/Bits/X3DConstants"],function(t,n,i,e,o){"use strict";function a(t){e.call(this,t),this.addType(o.AnnotationTarget)}return a.prototype=Object.assign(Object.create(e.prototype),{constructor:a,fieldDefinitions:new i([new n(o.inputOutput,"metadata",new t.SFNode),new n(o.inputOutput,"referencePoint",new t.SFVec3f(0,0,0)),new n(o.inputOutput,"leadLineStyle",new t.SFNode),new n(o.inputOutput,"marker",new t.SFNode),new n(o.inputOutput,"annotations",new t.MFNode)]),getTypeName:function(){return"AnnotationTarget"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){e.prototype.initialize.call(this)}}),a}),t("x_ite/Components/Annotation/X3DAnnotationNode",["x_ite/Components/Core/X3DChildNode","x_ite/Bits/X3DConstants"],function(t,n){"use strict";function i(i){t.call(this,i),this.addType(n.X3DAnnotationNode)}return i.prototype=Object.assign(Object.create(t.prototype),{constructor:i,initialize:function(){t.prototype.initialize.call(this)}}),i}),t("x_ite/Components/Annotation/GroupAnnotation",["x_ite/Fields","x_ite/Basic/X3DFieldDefinition","x_ite/Basic/FieldDefinitionArray","x_ite/Components/Grouping/X3DGroupingNode","x_ite/Components/Annotation/X3DAnnotationNode","x_ite/Bits/X3DConstants"],function(t,n,i,e,o,a){"use strict";function u(t){e.call(this,t),o.call(this,t),this.addType(a.GroupAnnotation)}return u.prototype=Object.assign(Object.create(e.prototype),o.prototype,{constructor:u,fieldDefinitions:new i([new n(a.inputOutput,"metadata",new t.SFNode),new n(a.inputOutput,"enabled",new t.SFBool(!0)),new n(a.inputOutput,"annotationGroupID",new t.SFString),new n(a.inputOutput,"displayPolicy",new t.SFString("NEVER")),new n(a.initializeOnly,"bboxCenter",new t.SFVec3f(0,0,0)),new n(a.initializeOnly,"bboxSize",new t.SFVec3f(-1,-1,-1)),new n(a.inputOnly,"addChildren",new t.MFNode),new n(a.inputOnly,"removeChildren",new t.MFNode),new n(a.inputOutput,"children",new t.MFNode)]),getTypeName:function(){return"GroupAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){e.prototype.initialize.call(this),o.prototype.initialize.call(this)}}),u}),t("x_ite/Components/Annotation/IconAnnotation",["x_ite/Fields","x_ite/Basic/X3DFieldDefinition","x_ite/Basic/FieldDefinitionArray","x_ite/Components/Annotation/X3DAnnotationNode","x_ite/Components/Networking/X3DUrlObject","x_ite/Bits/X3DConstants"],function(t,n,i,e,o,a){"use strict";function u(t){e.call(this,t),o.call(this,t),this.addType(a.IconAnnotation)}return u.prototype=Object.assign(Object.create(e.prototype),o.prototype,{constructor:u,fieldDefinitions:new i([new n(a.inputOutput,"metadata",new t.SFNode),new n(a.inputOutput,"enabled",new t.SFBool(!0)),new n(a.inputOutput,"annotationGroupID",new t.SFString),new n(a.inputOutput,"displayPolicy",new t.SFString("NEVER")),new n(a.inputOutput,"url",new t.MFString)]),getTypeName:function(){return"IconAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){e.prototype.initialize.call(this),o.prototype.initialize.call(this)}}),u}),t("x_ite/Components/Annotation/TextAnnotation",["x_ite/Fields","x_ite/Basic/X3DFieldDefinition","x_ite/Basic/FieldDefinitionArray","x_ite/Components/Annotation/X3DAnnotationNode","x_ite/Bits/X3DConstants"],function(t,n,i,e,o){"use strict";function a(t){e.call(this,t),this.addType(o.TextAnnotation)}return a.prototype=Object.assign(Object.create(e.prototype),{constructor:a,fieldDefinitions:new i([new n(o.inputOutput,"metadata",new t.SFNode),new n(o.inputOutput,"enabled",new t.SFBool(!0)),new n(o.inputOutput,"annotationGroupID",new t.SFString),new n(o.inputOutput,"displayPolicy",new t.SFString("NEVER")),new n(o.inputOutput,"contentType",new t.SFString("text/plain")),new n(o.inputOutput,"text",new t.SFString)]),getTypeName:function(){return"TextAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){e.prototype.initialize.call(this)}}),a}),t("x_ite/Components/Annotation/URLAnnotation",["x_ite/Fields","x_ite/Basic/X3DFieldDefinition","x_ite/Basic/FieldDefinitionArray","x_ite/Components/Annotation/X3DAnnotationNode","x_ite/Bits/X3DConstants"],function(t,n,i,e,o){"use strict";function a(t){e.call(this,t),this.addType(o.URLAnnotation)}return a.prototype=Object.assign(Object.create(e.prototype),{constructor:a,fieldDefinitions:new i([new n(o.inputOutput,"metadata",new t.SFNode),new n(o.inputOutput,"enabled",new t.SFBool(!0)),new n(o.inputOutput,"annotationGroupID",new t.SFString),new n(o.inputOutput,"displayPolicy",new t.SFString("NEVER")),new n(o.inputOutput,"url",new t.MFString)]),getTypeName:function(){return"URLAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){e.prototype.initialize.call(this)}}),a}),t(["x_ite/Components","x_ite/Components/Annotation/AnnotationLayer","x_ite/Components/Annotation/AnnotationTarget","x_ite/Components/Annotation/GroupAnnotation","x_ite/Components/Annotation/IconAnnotation","x_ite/Components/Annotation/TextAnnotation","x_ite/Components/Annotation/URLAnnotation","x_ite/Components/Annotation/X3DAnnotationNode"],function(t,n,i,e,o,a,u,r){"use strict";t.addComponent({name:"Annotation",types:{AnnotationLayer:n,AnnotationTarget:i,GroupAnnotation:e,IconAnnotation:o,TextAnnotation:a,URLAnnotation:u},abstractTypes:{X3DAnnotationNode:r}})})}();
1
+ !function(){var t=X3D.define;X3D.require;t("x_ite/Components/Annotation/AnnotationLayer",["x_ite/Fields","x_ite/Basic/X3DFieldDefinition","x_ite/Basic/FieldDefinitionArray","x_ite/Components/Layering/X3DLayerNode","x_ite/Components/Navigation/Viewpoint","x_ite/Components/Grouping/Group","x_ite/Bits/X3DConstants"],function(t,n,e,i,o,a,u){"use strict";function p(t){i.call(this,t,new o(t),new a(t)),this.addType(u.AnnotationLayer)}return p.prototype=Object.assign(Object.create(i.prototype),{constructor:p,fieldDefinitions:new e([new n(u.inputOutput,"metadata",new t.SFNode),new n(u.inputOutput,"isPickable",new t.SFBool(!0)),new n(u.inputOutput,"layoutPolicy",new t.MFString),new n(u.inputOutput,"shownGroupID",new t.MFString),new n(u.inputOutput,"viewport",new t.SFNode)]),getTypeName:function(){return"AnnotationLayer"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"layers"},initialize:function(){i.prototype.initialize.call(this)}}),p}),t("x_ite/Components/Annotation/AnnotationTarget",["x_ite/Fields","x_ite/Basic/X3DFieldDefinition","x_ite/Basic/FieldDefinitionArray","x_ite/Components/Core/X3DChildNode","x_ite/Bits/X3DConstants"],function(t,n,e,i,o){"use strict";function a(t){i.call(this,t),this.addType(o.AnnotationTarget)}return a.prototype=Object.assign(Object.create(i.prototype),{constructor:a,fieldDefinitions:new e([new n(o.inputOutput,"metadata",new t.SFNode),new n(o.inputOutput,"referencePoint",new t.SFVec3f(0,0,0)),new n(o.inputOutput,"leadLineStyle",new t.SFNode),new n(o.inputOutput,"marker",new t.SFNode),new n(o.inputOutput,"annotations",new t.MFNode)]),getTypeName:function(){return"AnnotationTarget"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){i.prototype.initialize.call(this)}}),a}),t("x_ite/Components/Annotation/X3DAnnotationNode",["x_ite/Components/Core/X3DChildNode","x_ite/Bits/X3DConstants"],function(t,n){"use strict";function e(e){t.call(this,e),this.addType(n.X3DAnnotationNode)}return e.prototype=Object.assign(Object.create(t.prototype),{constructor:e,initialize:function(){t.prototype.initialize.call(this)}}),e}),t("x_ite/Components/Annotation/GroupAnnotation",["x_ite/Fields","x_ite/Basic/X3DFieldDefinition","x_ite/Basic/FieldDefinitionArray","x_ite/Components/Grouping/X3DGroupingNode","x_ite/Components/Annotation/X3DAnnotationNode","x_ite/Bits/X3DConstants"],function(t,n,e,i,o,a){"use strict";function u(t){i.call(this,t),o.call(this,t),this.addType(a.GroupAnnotation)}return u.prototype=Object.assign(Object.create(i.prototype),o.prototype,{constructor:u,fieldDefinitions:new e([new n(a.inputOutput,"metadata",new t.SFNode),new n(a.inputOutput,"enabled",new t.SFBool(!0)),new n(a.inputOutput,"annotationGroupID",new t.SFString),new n(a.inputOutput,"displayPolicy",new t.SFString("NEVER")),new n(a.inputOutput,"visible",new t.SFBool(!0)),new n(a.inputOutput,"bboxDisplay",new t.SFBool),new n(a.initializeOnly,"bboxCenter",new t.SFVec3f(0,0,0)),new n(a.initializeOnly,"bboxSize",new t.SFVec3f(-1,-1,-1)),new n(a.inputOnly,"addChildren",new t.MFNode),new n(a.inputOnly,"removeChildren",new t.MFNode),new n(a.inputOutput,"children",new t.MFNode)]),getTypeName:function(){return"GroupAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){i.prototype.initialize.call(this),o.prototype.initialize.call(this)}}),u}),t("x_ite/Components/Annotation/IconAnnotation",["x_ite/Fields","x_ite/Basic/X3DFieldDefinition","x_ite/Basic/FieldDefinitionArray","x_ite/Components/Annotation/X3DAnnotationNode","x_ite/Components/Networking/X3DUrlObject","x_ite/Bits/X3DConstants"],function(t,n,e,i,o,a){"use strict";function u(t){i.call(this,t),o.call(this,t),this.addType(a.IconAnnotation)}return u.prototype=Object.assign(Object.create(i.prototype),o.prototype,{constructor:u,fieldDefinitions:new e([new n(a.inputOutput,"metadata",new t.SFNode),new n(a.inputOutput,"enabled",new t.SFBool(!0)),new n(a.inputOutput,"annotationGroupID",new t.SFString),new n(a.inputOutput,"displayPolicy",new t.SFString("NEVER")),new n(a.inputOutput,"url",new t.MFString),new n(a.inputOutput,"autoRefresh",new t.SFTime),new n(a.inputOutput,"autoRefreshTimeLimit",new t.SFTime(3600))]),getTypeName:function(){return"IconAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){i.prototype.initialize.call(this),o.prototype.initialize.call(this)},requestImmediateLoad:function(t=!0){}}),u}),t("x_ite/Components/Annotation/TextAnnotation",["x_ite/Fields","x_ite/Basic/X3DFieldDefinition","x_ite/Basic/FieldDefinitionArray","x_ite/Components/Annotation/X3DAnnotationNode","x_ite/Bits/X3DConstants"],function(t,n,e,i,o){"use strict";function a(t){i.call(this,t),this.addType(o.TextAnnotation)}return a.prototype=Object.assign(Object.create(i.prototype),{constructor:a,fieldDefinitions:new e([new n(o.inputOutput,"metadata",new t.SFNode),new n(o.inputOutput,"enabled",new t.SFBool(!0)),new n(o.inputOutput,"annotationGroupID",new t.SFString),new n(o.inputOutput,"displayPolicy",new t.SFString("NEVER")),new n(o.inputOutput,"contentType",new t.SFString("text/plain")),new n(o.inputOutput,"text",new t.SFString)]),getTypeName:function(){return"TextAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){i.prototype.initialize.call(this)}}),a}),t("x_ite/Components/Annotation/URLAnnotation",["x_ite/Fields","x_ite/Basic/X3DFieldDefinition","x_ite/Basic/FieldDefinitionArray","x_ite/Components/Annotation/X3DAnnotationNode","x_ite/Bits/X3DConstants"],function(t,n,e,i,o){"use strict";function a(t){i.call(this,t),this.addType(o.URLAnnotation)}return a.prototype=Object.assign(Object.create(i.prototype),{constructor:a,fieldDefinitions:new e([new n(o.inputOutput,"metadata",new t.SFNode),new n(o.inputOutput,"enabled",new t.SFBool(!0)),new n(o.inputOutput,"annotationGroupID",new t.SFString),new n(o.inputOutput,"displayPolicy",new t.SFString("NEVER")),new n(o.inputOutput,"url",new t.MFString)]),getTypeName:function(){return"URLAnnotation"},getComponentName:function(){return"Annotation"},getContainerField:function(){return"children"},initialize:function(){i.prototype.initialize.call(this)}}),a}),t(["x_ite/Components","x_ite/Components/Annotation/AnnotationLayer","x_ite/Components/Annotation/AnnotationTarget","x_ite/Components/Annotation/GroupAnnotation","x_ite/Components/Annotation/IconAnnotation","x_ite/Components/Annotation/TextAnnotation","x_ite/Components/Annotation/URLAnnotation","x_ite/Components/Annotation/X3DAnnotationNode"],function(t,n,e,i,o,a,u,p){"use strict";t.addComponent({name:"Annotation",types:{AnnotationLayer:n,AnnotationTarget:e,GroupAnnotation:i,IconAnnotation:o,TextAnnotation:a,URLAnnotation:u},abstractTypes:{X3DAnnotationNode:p}})})}();