x_ite 10.0.1 → 10.0.3
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.
- package/README.md +5 -5
- package/dist/X3DUOM.xml +1095 -0
- package/dist/assets/components/Annotation.js +13 -13
- package/dist/assets/components/Annotation.min.js +1 -1
- package/dist/assets/components/CADGeometry.js +14 -14
- package/dist/assets/components/CADGeometry.min.js +1 -1
- package/dist/assets/components/CubeMapTexturing.js +25 -25
- package/dist/assets/components/CubeMapTexturing.min.js +1 -1
- package/dist/assets/components/DIS.js +37 -13
- package/dist/assets/components/DIS.min.js +1 -1
- package/dist/assets/components/EventUtilities.js +9 -9
- package/dist/assets/components/EventUtilities.min.js +1 -1
- package/dist/assets/components/Geometry2D.js +18 -18
- package/dist/assets/components/Geometry2D.min.js +1 -1
- package/dist/assets/components/Geospatial.js +33 -33
- package/dist/assets/components/Geospatial.min.js +1 -1
- package/dist/assets/components/HAnim.js +30 -24
- package/dist/assets/components/HAnim.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensor.js +8 -8
- package/dist/assets/components/KeyDeviceSensor.min.js +1 -1
- package/dist/assets/components/Layout.js +27 -27
- package/dist/assets/components/Layout.min.js +1 -1
- package/dist/assets/components/NURBS.js +23 -23
- package/dist/assets/components/NURBS.min.js +1 -1
- package/dist/assets/components/ParticleSystems.js +26 -26
- package/dist/assets/components/ParticleSystems.min.js +1 -1
- package/dist/assets/components/Picking.js +18 -18
- package/dist/assets/components/Picking.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysics.js +25 -17
- package/dist/assets/components/RigidBodyPhysics.min.js +1 -1
- package/dist/assets/components/Scripting.js +38 -38
- package/dist/assets/components/Scripting.min.js +1 -1
- package/dist/assets/components/Text.js +24 -24
- package/dist/assets/components/Text.min.js +1 -1
- package/dist/assets/components/TextureProjection.js +15 -15
- package/dist/assets/components/TextureProjection.min.js +1 -1
- package/dist/assets/components/Texturing3D.js +31 -27
- package/dist/assets/components/Texturing3D.min.js +1 -1
- package/dist/assets/components/VolumeRendering.js +19 -19
- package/dist/assets/components/VolumeRendering.min.js +1 -1
- package/dist/assets/components/X_ITE.js +94 -176
- package/dist/assets/components/X_ITE.min.js +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.d.ts +844 -59
- package/dist/x_ite.js +1256 -1220
- package/dist/x_ite.min.js +1 -1
- package/dist/x_ite.min.mjs +1 -1
- package/dist/x_ite.mjs +1256 -1220
- package/dist/x_ite.zip +0 -0
- package/package.json +3 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v10.0.
|
|
1
|
+
/* X_ITE v10.0.3 */(() => { // webpackBootstrap
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ // The require scope
|
|
4
4
|
/******/ var __webpack_require__ = {};
|
|
@@ -39,25 +39,25 @@ var __webpack_exports__ = {};
|
|
|
39
39
|
// UNUSED EXPORTS: default
|
|
40
40
|
|
|
41
41
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components\")"
|
|
42
|
-
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.
|
|
42
|
+
const Components_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.3")] .require ("x_ite/Components");
|
|
43
43
|
var Components_default = /*#__PURE__*/__webpack_require__.n(Components_namespaceObject);
|
|
44
44
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Fields\")"
|
|
45
|
-
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.
|
|
45
|
+
const Fields_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.3")] .require ("x_ite/Fields");
|
|
46
46
|
var Fields_default = /*#__PURE__*/__webpack_require__.n(Fields_namespaceObject);
|
|
47
47
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DFieldDefinition\")"
|
|
48
|
-
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.
|
|
48
|
+
const X3DFieldDefinition_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.3")] .require ("x_ite/Base/X3DFieldDefinition");
|
|
49
49
|
var X3DFieldDefinition_default = /*#__PURE__*/__webpack_require__.n(X3DFieldDefinition_namespaceObject);
|
|
50
50
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/FieldDefinitionArray\")"
|
|
51
|
-
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.
|
|
51
|
+
const FieldDefinitionArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.3")] .require ("x_ite/Base/FieldDefinitionArray");
|
|
52
52
|
var FieldDefinitionArray_default = /*#__PURE__*/__webpack_require__.n(FieldDefinitionArray_namespaceObject);
|
|
53
53
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Shape/X3DAppearanceChildNode\")"
|
|
54
|
-
const X3DAppearanceChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.
|
|
54
|
+
const X3DAppearanceChildNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.3")] .require ("x_ite/Components/Shape/X3DAppearanceChildNode");
|
|
55
55
|
var X3DAppearanceChildNode_default = /*#__PURE__*/__webpack_require__.n(X3DAppearanceChildNode_namespaceObject);
|
|
56
56
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DConstants\")"
|
|
57
|
-
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.
|
|
57
|
+
const X3DConstants_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.3")] .require ("x_ite/Base/X3DConstants");
|
|
58
58
|
var X3DConstants_default = /*#__PURE__*/__webpack_require__.n(X3DConstants_namespaceObject);
|
|
59
59
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Namespace\")"
|
|
60
|
-
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.
|
|
60
|
+
const Namespace_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.3")] .require ("x_ite/Namespace");
|
|
61
61
|
var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceObject);
|
|
62
62
|
;// CONCATENATED MODULE: ./src/x_ite/Components/X_ITE/BlendMode.js
|
|
63
63
|
/*******************************************************************************
|
|
@@ -113,6 +113,10 @@ var Namespace_default = /*#__PURE__*/__webpack_require__.n(Namespace_namespaceOb
|
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
|
|
116
|
+
/**
|
|
117
|
+
* THIS NODE IS STILL EXPERIMENTAL.
|
|
118
|
+
*/
|
|
119
|
+
|
|
116
120
|
function BlendMode (executionContext)
|
|
117
121
|
{
|
|
118
122
|
X3DAppearanceChildNode_default().call (this, executionContext);
|
|
@@ -171,45 +175,33 @@ Object .assign (Object .setPrototypeOf (BlendMode .prototype, (X3DAppearanceChil
|
|
|
171
175
|
},
|
|
172
176
|
set_sourceColorFactor__ ()
|
|
173
177
|
{
|
|
174
|
-
this .sourceColorFactorType = this .factorTypes .get (this ._sourceColorFactor .getValue ())
|
|
175
|
-
|
|
176
|
-
if (this .sourceColorFactorType === undefined)
|
|
177
|
-
this .sourceColorFactorType = this .factorTypes .get ("SRC_ALPHA");
|
|
178
|
+
this .sourceColorFactorType = this .factorTypes .get (this ._sourceColorFactor .getValue ())
|
|
179
|
+
?? this .factorTypes .get ("SRC_ALPHA");
|
|
178
180
|
},
|
|
179
181
|
set_sourceAlphaFactor__ ()
|
|
180
182
|
{
|
|
181
|
-
this .sourceAlphaFactorType = this .factorTypes .get (this ._sourceAlphaFactor .getValue ())
|
|
182
|
-
|
|
183
|
-
if (this .sourceAlphaFactorType === undefined)
|
|
184
|
-
this .sourceAlphaFactorType = this .factorTypes .get ("ONE");
|
|
183
|
+
this .sourceAlphaFactorType = this .factorTypes .get (this ._sourceAlphaFactor .getValue ())
|
|
184
|
+
?? this .factorTypes .get ("ONE");
|
|
185
185
|
},
|
|
186
186
|
set_destinationColorFactor__ ()
|
|
187
187
|
{
|
|
188
|
-
this .destinationColorFactorType = this .factorTypes .get (this ._destinationColorFactor .getValue ())
|
|
189
|
-
|
|
190
|
-
if (this .destinationColorFactorType === undefined)
|
|
191
|
-
this .destinationColorFactorType = this .factorTypes .get ("ONE_MINUS_SRC_ALPHA");
|
|
188
|
+
this .destinationColorFactorType = this .factorTypes .get (this ._destinationColorFactor .getValue ())
|
|
189
|
+
?? this .factorTypes .get ("ONE_MINUS_SRC_ALPHA");
|
|
192
190
|
},
|
|
193
191
|
set_destinationAlphaFactor__ ()
|
|
194
192
|
{
|
|
195
|
-
this .destinationAlphaFactorType = this .factorTypes .get (this ._destinationAlphaFactor .getValue ())
|
|
196
|
-
|
|
197
|
-
if (this .destinationAlphaFactorType === undefined)
|
|
198
|
-
this .destinationAlphaFactorType = this .factorTypes .get ("ONE_MINUS_SRC_ALPHA");
|
|
193
|
+
this .destinationAlphaFactorType = this .factorTypes .get (this ._destinationAlphaFactor .getValue ())
|
|
194
|
+
?? this .factorTypes .get ("ONE_MINUS_SRC_ALPHA");
|
|
199
195
|
},
|
|
200
196
|
set_colorEquation__ ()
|
|
201
197
|
{
|
|
202
|
-
this .colorEquationType = this .equationTypes .get (this ._colorEquation .getValue ())
|
|
203
|
-
|
|
204
|
-
if (this .colorEquationType === undefined)
|
|
205
|
-
this .colorEquationType = this .equationTypes .get ("FUNC_ADD");
|
|
198
|
+
this .colorEquationType = this .equationTypes .get (this ._colorEquation .getValue ())
|
|
199
|
+
?? this .equationTypes .get ("FUNC_ADD");
|
|
206
200
|
},
|
|
207
201
|
set_alphaEquation__ ()
|
|
208
202
|
{
|
|
209
|
-
this .alphaEquationType = this .equationTypes .get (this ._alphaEquation .getValue ())
|
|
210
|
-
|
|
211
|
-
if (this .alphaEquationType === undefined)
|
|
212
|
-
this .alphaEquationType = this .equationTypes .get ("FUNC_ADD");
|
|
203
|
+
this .alphaEquationType = this .equationTypes .get (this ._alphaEquation .getValue ())
|
|
204
|
+
?? this .equationTypes .get ("FUNC_ADD");
|
|
213
205
|
},
|
|
214
206
|
enable (gl)
|
|
215
207
|
{
|
|
@@ -323,6 +315,10 @@ Namespace_default().add ("BlendMode", "x_ite/Components/X_ITE/BlendMode", __defa
|
|
|
323
315
|
|
|
324
316
|
|
|
325
317
|
|
|
318
|
+
/**
|
|
319
|
+
* THIS NODE IS STILL EXPERIMENTAL.
|
|
320
|
+
*/
|
|
321
|
+
|
|
326
322
|
function DepthMode (executionContext)
|
|
327
323
|
{
|
|
328
324
|
X3DAppearanceChildNode_default().call (this, executionContext);
|
|
@@ -436,22 +432,22 @@ const DepthMode_default_ = DepthMode;
|
|
|
436
432
|
Namespace_default().add ("DepthMode", "x_ite/Components/X_ITE/DepthMode", DepthMode_default_);
|
|
437
433
|
/* harmony default export */ const X_ITE_DepthMode = (DepthMode_default_);
|
|
438
434
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Shape/X3DShapeNode\")"
|
|
439
|
-
const X3DShapeNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.
|
|
435
|
+
const X3DShapeNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.3")] .require ("x_ite/Components/Shape/X3DShapeNode");
|
|
440
436
|
var X3DShapeNode_default = /*#__PURE__*/__webpack_require__.n(X3DShapeNode_namespaceObject);
|
|
441
437
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/TraverseType\")"
|
|
442
|
-
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.
|
|
438
|
+
const TraverseType_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.3")] .require ("x_ite/Rendering/TraverseType");
|
|
443
439
|
var TraverseType_default = /*#__PURE__*/__webpack_require__.n(TraverseType_namespaceObject);
|
|
444
440
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Rendering/VertexArray\")"
|
|
445
|
-
const VertexArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.
|
|
441
|
+
const VertexArray_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.3")] .require ("x_ite/Rendering/VertexArray");
|
|
446
442
|
var VertexArray_default = /*#__PURE__*/__webpack_require__.n(VertexArray_namespaceObject);
|
|
447
443
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Vector3\")"
|
|
448
|
-
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.
|
|
444
|
+
const Vector3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.3")] .require ("standard/Math/Numbers/Vector3");
|
|
449
445
|
var Vector3_default = /*#__PURE__*/__webpack_require__.n(Vector3_namespaceObject);
|
|
450
446
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Numbers/Matrix4\")"
|
|
451
|
-
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.
|
|
447
|
+
const Matrix4_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.3")] .require ("standard/Math/Numbers/Matrix4");
|
|
452
448
|
var Matrix4_default = /*#__PURE__*/__webpack_require__.n(Matrix4_namespaceObject);
|
|
453
449
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Geometry/Box3\")"
|
|
454
|
-
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.
|
|
450
|
+
const Box3_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.3")] .require ("standard/Math/Geometry/Box3");
|
|
455
451
|
var Box3_default = /*#__PURE__*/__webpack_require__.n(Box3_namespaceObject);
|
|
456
452
|
;// CONCATENATED MODULE: ./src/x_ite/Components/X_ITE/InstancedShape.js
|
|
457
453
|
/*******************************************************************************
|
|
@@ -512,6 +508,10 @@ var Box3_default = /*#__PURE__*/__webpack_require__.n(Box3_namespaceObject);
|
|
|
512
508
|
|
|
513
509
|
|
|
514
510
|
|
|
511
|
+
/**
|
|
512
|
+
* THIS NODE IS STILL EXPERIMENTAL.
|
|
513
|
+
*/
|
|
514
|
+
|
|
515
515
|
function InstancedShape (executionContext)
|
|
516
516
|
{
|
|
517
517
|
X3DShapeNode_default().call (this, executionContext);
|
|
@@ -780,13 +780,13 @@ const InstancedShape_default_ = InstancedShape;
|
|
|
780
780
|
Namespace_default().add ("InstancedShape", "x_ite/Components/X_ITE/InstancedShape", InstancedShape_default_);
|
|
781
781
|
/* harmony default export */ const X_ITE_InstancedShape = (InstancedShape_default_);
|
|
782
782
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Shape/X3DOneSidedMaterialNode\")"
|
|
783
|
-
const X3DOneSidedMaterialNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.
|
|
783
|
+
const X3DOneSidedMaterialNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.3")] .require ("x_ite/Components/Shape/X3DOneSidedMaterialNode");
|
|
784
784
|
var X3DOneSidedMaterialNode_default = /*#__PURE__*/__webpack_require__.n(X3DOneSidedMaterialNode_namespaceObject);
|
|
785
785
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Base/X3DCast\")"
|
|
786
|
-
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.
|
|
786
|
+
const X3DCast_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.3")] .require ("x_ite/Base/X3DCast");
|
|
787
787
|
var X3DCast_default = /*#__PURE__*/__webpack_require__.n(X3DCast_namespaceObject);
|
|
788
788
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Math/Algorithm\")"
|
|
789
|
-
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.
|
|
789
|
+
const Algorithm_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.3")] .require ("standard/Math/Algorithm");
|
|
790
790
|
var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceObject);
|
|
791
791
|
;// CONCATENATED MODULE: ./src/x_ite/Components/X_ITE/SpecularGlossinessMaterial.js
|
|
792
792
|
/*******************************************************************************
|
|
@@ -844,8 +844,14 @@ var Algorithm_default = /*#__PURE__*/__webpack_require__.n(Algorithm_namespaceOb
|
|
|
844
844
|
|
|
845
845
|
|
|
846
846
|
|
|
847
|
+
/**
|
|
848
|
+
* THIS NODE IS DEPRECIATED.
|
|
849
|
+
*/
|
|
850
|
+
|
|
847
851
|
function SpecularGlossinessMaterial (executionContext)
|
|
848
852
|
{
|
|
853
|
+
console .warn ("SpecularGlossinessMaterial is depreciated, please use PhysicalMaterial instead.");
|
|
854
|
+
|
|
849
855
|
X3DOneSidedMaterialNode_default().call (this, executionContext);
|
|
850
856
|
|
|
851
857
|
this .addType ((X3DConstants_default()).SpecularGlossinessMaterial);
|
|
@@ -976,8 +982,7 @@ Object .assign (Object .setPrototypeOf (SpecularGlossinessMaterial .prototype, (
|
|
|
976
982
|
set_transparent__ ()
|
|
977
983
|
{
|
|
978
984
|
this .setTransparent (this .getTransparency () ||
|
|
979
|
-
this .diffuseTextureNode ?.isTransparent ()
|
|
980
|
-
this .isTransmission ());
|
|
985
|
+
this .diffuseTextureNode ?.isTransparent ());
|
|
981
986
|
},
|
|
982
987
|
set_extensions__ ()
|
|
983
988
|
{
|
|
@@ -1003,7 +1008,6 @@ Object .assign (Object .setPrototypeOf (SpecularGlossinessMaterial .prototype, (
|
|
|
1003
1008
|
|
|
1004
1009
|
this .setTransmission (extensionNodes .some (extensionNode => extensionNode .getType () .includes ((X3DConstants_default()).TransmissionMaterialExtension)));
|
|
1005
1010
|
|
|
1006
|
-
this .set_transparent__ ();
|
|
1007
1011
|
this .set_extensionsKey__ ();
|
|
1008
1012
|
},
|
|
1009
1013
|
set_extensionsKey__ ()
|
|
@@ -1025,18 +1029,6 @@ Object .assign (Object .setPrototypeOf (SpecularGlossinessMaterial .prototype, (
|
|
|
1025
1029
|
|
|
1026
1030
|
options .push ("X3D_PHYSICAL_MATERIAL", "X3D_MATERIAL_SPECULAR_GLOSSINESS");
|
|
1027
1031
|
|
|
1028
|
-
switch (browser .getBrowserOption ("ToneMapping"))
|
|
1029
|
-
{
|
|
1030
|
-
default: // NONE
|
|
1031
|
-
break;
|
|
1032
|
-
case "ACES_NARKOWICZ":
|
|
1033
|
-
case "ACES_HILL":
|
|
1034
|
-
case "ACES_HILL_EXPOSURE_BOOST":
|
|
1035
|
-
case "KHR_PBR_NEUTRAL":
|
|
1036
|
-
options .push (`X3D_TONEMAP_${browser .getBrowserOption ("ToneMapping")}`);
|
|
1037
|
-
break;
|
|
1038
|
-
}
|
|
1039
|
-
|
|
1040
1032
|
if (+this .getTextureBits ())
|
|
1041
1033
|
{
|
|
1042
1034
|
this .diffuseTextureNode ?.getShaderOptions (options, "DIFFUSE");
|
|
@@ -1044,7 +1036,7 @@ Object .assign (Object .setPrototypeOf (SpecularGlossinessMaterial .prototype, (
|
|
|
1044
1036
|
this .occlusionTextureNode ?.getShaderOptions (options, "OCCLUSION");
|
|
1045
1037
|
}
|
|
1046
1038
|
|
|
1047
|
-
const shaderNode = browser .createShader ("
|
|
1039
|
+
const shaderNode = browser .createShader ("SpecularGlossiness", "Default", "Physical", options);
|
|
1048
1040
|
|
|
1049
1041
|
browser .getShaders () .set (key, shaderNode);
|
|
1050
1042
|
|
|
@@ -1156,10 +1148,10 @@ const SpecularGlossinessMaterial_default_ = SpecularGlossinessMaterial;
|
|
|
1156
1148
|
Namespace_default().add ("SpecularGlossinessMaterial", "x_ite/Components/X_ITE/SpecularGlossinessMaterial", SpecularGlossinessMaterial_default_);
|
|
1157
1149
|
/* harmony default export */ const X_ITE_SpecularGlossinessMaterial = (SpecularGlossinessMaterial_default_);
|
|
1158
1150
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"x_ite/Components/Core/X3DNode\")"
|
|
1159
|
-
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.
|
|
1151
|
+
const X3DNode_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.3")] .require ("x_ite/Components/Core/X3DNode");
|
|
1160
1152
|
var X3DNode_default = /*#__PURE__*/__webpack_require__.n(X3DNode_namespaceObject);
|
|
1161
1153
|
;// CONCATENATED MODULE: external "window [Symbol .for (\"X_ITE.X3D\")] .require (\"standard/Utility/BitSet\")"
|
|
1162
|
-
const BitSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.
|
|
1154
|
+
const BitSet_namespaceObject = window [Symbol .for ("X_ITE.X3D-10.0.3")] .require ("standard/Utility/BitSet");
|
|
1163
1155
|
var BitSet_default = /*#__PURE__*/__webpack_require__.n(BitSet_namespaceObject);
|
|
1164
1156
|
;// CONCATENATED MODULE: ./src/x_ite/Components/X_ITE/X3DMaterialExtensionNode.js
|
|
1165
1157
|
/*******************************************************************************
|
|
@@ -1382,6 +1374,10 @@ Namespace_default().add ("ExtensionKeys", "x_ite/Browser/X_ITE/ExtensionKeys", E
|
|
|
1382
1374
|
|
|
1383
1375
|
|
|
1384
1376
|
|
|
1377
|
+
/**
|
|
1378
|
+
* THIS NODE IS STILL EXPERIMENTAL.
|
|
1379
|
+
*/
|
|
1380
|
+
|
|
1385
1381
|
function AnisotropyMaterialExtension (executionContext)
|
|
1386
1382
|
{
|
|
1387
1383
|
X_ITE_X3DMaterialExtensionNode .call (this, executionContext);
|
|
@@ -1548,6 +1544,10 @@ Namespace_default().add ("AnisotropyMaterialExtension", "x_ite/Components/X_ITE/
|
|
|
1548
1544
|
|
|
1549
1545
|
|
|
1550
1546
|
|
|
1547
|
+
/**
|
|
1548
|
+
* THIS NODE IS STILL EXPERIMENTAL.
|
|
1549
|
+
*/
|
|
1550
|
+
|
|
1551
1551
|
function ClearcoatMaterialExtension (executionContext)
|
|
1552
1552
|
{
|
|
1553
1553
|
X_ITE_X3DMaterialExtensionNode .call (this, executionContext);
|
|
@@ -1749,6 +1749,10 @@ Namespace_default().add ("ClearcoatMaterialExtension", "x_ite/Components/X_ITE/C
|
|
|
1749
1749
|
|
|
1750
1750
|
|
|
1751
1751
|
|
|
1752
|
+
/**
|
|
1753
|
+
* THIS NODE IS STILL EXPERIMENTAL.
|
|
1754
|
+
*/
|
|
1755
|
+
|
|
1752
1756
|
function DispersionMaterialExtension (executionContext)
|
|
1753
1757
|
{
|
|
1754
1758
|
X_ITE_X3DMaterialExtensionNode .call (this, executionContext);
|
|
@@ -1876,6 +1880,10 @@ Namespace_default().add ("DispersionMaterialExtension", "x_ite/Components/X_ITE/
|
|
|
1876
1880
|
|
|
1877
1881
|
|
|
1878
1882
|
|
|
1883
|
+
/**
|
|
1884
|
+
* THIS NODE IS STILL EXPERIMENTAL.
|
|
1885
|
+
*/
|
|
1886
|
+
|
|
1879
1887
|
function EmissiveStrengthMaterialExtension (executionContext)
|
|
1880
1888
|
{
|
|
1881
1889
|
X_ITE_X3DMaterialExtensionNode .call (this, executionContext);
|
|
@@ -2003,6 +2011,10 @@ Namespace_default().add ("EmissiveStrengthMaterialExtension", "x_ite/Components/
|
|
|
2003
2011
|
|
|
2004
2012
|
|
|
2005
2013
|
|
|
2014
|
+
/**
|
|
2015
|
+
* THIS NODE IS STILL EXPERIMENTAL.
|
|
2016
|
+
*/
|
|
2017
|
+
|
|
2006
2018
|
function IORMaterialExtension (executionContext)
|
|
2007
2019
|
{
|
|
2008
2020
|
X_ITE_X3DMaterialExtensionNode .call (this, executionContext);
|
|
@@ -2022,7 +2034,7 @@ Object .assign (Object .setPrototypeOf (IORMaterialExtension .prototype, X_ITE_X
|
|
|
2022
2034
|
},
|
|
2023
2035
|
set_indexOfRefraction__ ()
|
|
2024
2036
|
{
|
|
2025
|
-
this .indexOfRefraction = Math .max (this ._indexOfRefraction .getValue (),
|
|
2037
|
+
this .indexOfRefraction = Math .max (this ._indexOfRefraction .getValue (), 1);
|
|
2026
2038
|
},
|
|
2027
2039
|
getExtensionKey ()
|
|
2028
2040
|
{
|
|
@@ -2131,6 +2143,10 @@ Namespace_default().add ("IORMaterialExtension", "x_ite/Components/X_ITE/IORMate
|
|
|
2131
2143
|
|
|
2132
2144
|
|
|
2133
2145
|
|
|
2146
|
+
/**
|
|
2147
|
+
* THIS NODE IS STILL EXPERIMENTAL.
|
|
2148
|
+
*/
|
|
2149
|
+
|
|
2134
2150
|
function IridescenceMaterialExtension (executionContext)
|
|
2135
2151
|
{
|
|
2136
2152
|
X_ITE_X3DMaterialExtensionNode .call (this, executionContext);
|
|
@@ -2170,7 +2186,7 @@ Object .assign (Object .setPrototypeOf (IridescenceMaterialExtension .prototype,
|
|
|
2170
2186
|
},
|
|
2171
2187
|
set_iridescenceIndexOfRefraction__ ()
|
|
2172
2188
|
{
|
|
2173
|
-
this .iridescenceIndexOfRefraction = Math .max (this ._iridescenceIndexOfRefraction .getValue (),
|
|
2189
|
+
this .iridescenceIndexOfRefraction = Math .max (this ._iridescenceIndexOfRefraction .getValue (), 1);
|
|
2174
2190
|
},
|
|
2175
2191
|
set_iridescenceThicknessMinimum__ ()
|
|
2176
2192
|
{
|
|
@@ -2331,6 +2347,10 @@ Namespace_default().add ("IridescenceMaterialExtension", "x_ite/Components/X_ITE
|
|
|
2331
2347
|
|
|
2332
2348
|
|
|
2333
2349
|
|
|
2350
|
+
/**
|
|
2351
|
+
* THIS NODE IS STILL EXPERIMENTAL.
|
|
2352
|
+
*/
|
|
2353
|
+
|
|
2334
2354
|
function SheenMaterialExtension (executionContext)
|
|
2335
2355
|
{
|
|
2336
2356
|
X_ITE_X3DMaterialExtensionNode .call (this, executionContext);
|
|
@@ -2534,6 +2554,10 @@ Namespace_default().add ("SheenMaterialExtension", "x_ite/Components/X_ITE/Sheen
|
|
|
2534
2554
|
|
|
2535
2555
|
|
|
2536
2556
|
|
|
2557
|
+
/**
|
|
2558
|
+
* THIS NODE IS STILL EXPERIMENTAL.
|
|
2559
|
+
*/
|
|
2560
|
+
|
|
2537
2561
|
function SpecularMaterialExtension (executionContext)
|
|
2538
2562
|
{
|
|
2539
2563
|
X_ITE_X3DMaterialExtensionNode .call (this, executionContext);
|
|
@@ -2728,6 +2752,10 @@ Namespace_default().add ("SpecularMaterialExtension", "x_ite/Components/X_ITE/Sp
|
|
|
2728
2752
|
|
|
2729
2753
|
|
|
2730
2754
|
|
|
2755
|
+
/**
|
|
2756
|
+
* THIS NODE IS STILL EXPERIMENTAL.
|
|
2757
|
+
*/
|
|
2758
|
+
|
|
2731
2759
|
function TransmissionMaterialExtension (executionContext)
|
|
2732
2760
|
{
|
|
2733
2761
|
X_ITE_X3DMaterialExtensionNode .call (this, executionContext);
|
|
@@ -2838,118 +2866,6 @@ const TransmissionMaterialExtension_default_ = TransmissionMaterialExtension;
|
|
|
2838
2866
|
|
|
2839
2867
|
Namespace_default().add ("TransmissionMaterialExtension", "x_ite/Components/X_ITE/TransmissionMaterialExtension", TransmissionMaterialExtension_default_);
|
|
2840
2868
|
/* harmony default export */ const X_ITE_TransmissionMaterialExtension = (TransmissionMaterialExtension_default_);
|
|
2841
|
-
;// CONCATENATED MODULE: ./src/x_ite/Components/X_ITE/UnlitMaterialExtension.js
|
|
2842
|
-
/*******************************************************************************
|
|
2843
|
-
*
|
|
2844
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
2845
|
-
*
|
|
2846
|
-
* Copyright create3000, Scheffelstraße 31a, Leipzig, Germany 2011 - 2022.
|
|
2847
|
-
*
|
|
2848
|
-
* All rights reserved. Holger Seelig <holger.seelig@yahoo.de>.
|
|
2849
|
-
*
|
|
2850
|
-
* The copyright notice above does not evidence any actual of intended
|
|
2851
|
-
* publication of such source code, and is an unpublished work by create3000.
|
|
2852
|
-
* This material contains CONFIDENTIAL INFORMATION that is the property of
|
|
2853
|
-
* create3000.
|
|
2854
|
-
*
|
|
2855
|
-
* No permission is granted to copy, distribute, or create derivative works from
|
|
2856
|
-
* the contents of this software, in whole or in part, without the prior written
|
|
2857
|
-
* permission of create3000.
|
|
2858
|
-
*
|
|
2859
|
-
* NON-MILITARY USE ONLY
|
|
2860
|
-
*
|
|
2861
|
-
* All create3000 software are effectively free software with a non-military use
|
|
2862
|
-
* restriction. It is free. Well commented source is provided. You may reuse the
|
|
2863
|
-
* source in any way you please with the exception anything that uses it must be
|
|
2864
|
-
* marked to indicate is contains 'non-military use only' components.
|
|
2865
|
-
*
|
|
2866
|
-
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
2867
|
-
*
|
|
2868
|
-
* Copyright 2011 - 2022, Holger Seelig <holger.seelig@yahoo.de>.
|
|
2869
|
-
*
|
|
2870
|
-
* This file is part of the X_ITE Project.
|
|
2871
|
-
*
|
|
2872
|
-
* X_ITE is free software: you can redistribute it and/or modify it under the
|
|
2873
|
-
* terms of the GNU General Public License version 3 only, as published by the
|
|
2874
|
-
* Free Software Foundation.
|
|
2875
|
-
*
|
|
2876
|
-
* X_ITE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
2877
|
-
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
|
2878
|
-
* A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more
|
|
2879
|
-
* details (a copy is included in the LICENSE file that accompanied this code).
|
|
2880
|
-
*
|
|
2881
|
-
* You should have received a copy of the GNU General Public License version 3
|
|
2882
|
-
* along with X_ITE. If not, see <https://www.gnu.org/licenses/gpl.html> for a
|
|
2883
|
-
* copy of the GPLv3 License.
|
|
2884
|
-
*
|
|
2885
|
-
* For Silvio, Joy and Adi.
|
|
2886
|
-
*
|
|
2887
|
-
******************************************************************************/
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
function UnlitMaterialExtension (executionContext)
|
|
2897
|
-
{
|
|
2898
|
-
X_ITE_X3DMaterialExtensionNode .call (this, executionContext);
|
|
2899
|
-
|
|
2900
|
-
this .addType ((X3DConstants_default()).UnlitMaterialExtension);
|
|
2901
|
-
}
|
|
2902
|
-
|
|
2903
|
-
Object .assign (Object .setPrototypeOf (UnlitMaterialExtension .prototype, X_ITE_X3DMaterialExtensionNode .prototype),
|
|
2904
|
-
{
|
|
2905
|
-
getExtensionKey ()
|
|
2906
|
-
{
|
|
2907
|
-
return X_ITE_ExtensionKeys .UNLIT_MATERIAL_EXTENSION;
|
|
2908
|
-
},
|
|
2909
|
-
getShaderOptions (options)
|
|
2910
|
-
{
|
|
2911
|
-
options .push ("X3D_UNLIT_MATERIAL_EXT");
|
|
2912
|
-
},
|
|
2913
|
-
setShaderUniforms ()
|
|
2914
|
-
{ },
|
|
2915
|
-
});
|
|
2916
|
-
|
|
2917
|
-
Object .defineProperties (UnlitMaterialExtension,
|
|
2918
|
-
{
|
|
2919
|
-
typeName:
|
|
2920
|
-
{
|
|
2921
|
-
value: "UnlitMaterialExtension",
|
|
2922
|
-
enumerable: true,
|
|
2923
|
-
},
|
|
2924
|
-
componentInfo:
|
|
2925
|
-
{
|
|
2926
|
-
value: Object .freeze ({ name: "X_ITE", level: 1 }),
|
|
2927
|
-
enumerable: true,
|
|
2928
|
-
},
|
|
2929
|
-
containerField:
|
|
2930
|
-
{
|
|
2931
|
-
value: "extensions",
|
|
2932
|
-
enumerable: true,
|
|
2933
|
-
},
|
|
2934
|
-
specificationRange:
|
|
2935
|
-
{
|
|
2936
|
-
value: Object .freeze ({ from: "4.0", to: "Infinity" }),
|
|
2937
|
-
enumerable: true,
|
|
2938
|
-
},
|
|
2939
|
-
fieldDefinitions:
|
|
2940
|
-
{
|
|
2941
|
-
value: new (FieldDefinitionArray_default()) ([
|
|
2942
|
-
new (X3DFieldDefinition_default()) ((X3DConstants_default()).inputOutput, "metadata", new (Fields_default()).SFNode ()),
|
|
2943
|
-
]),
|
|
2944
|
-
enumerable: true,
|
|
2945
|
-
},
|
|
2946
|
-
});
|
|
2947
|
-
|
|
2948
|
-
const UnlitMaterialExtension_default_ = UnlitMaterialExtension;
|
|
2949
|
-
;
|
|
2950
|
-
|
|
2951
|
-
Namespace_default().add ("UnlitMaterialExtension", "x_ite/Components/X_ITE/UnlitMaterialExtension", UnlitMaterialExtension_default_);
|
|
2952
|
-
/* harmony default export */ const X_ITE_UnlitMaterialExtension = (UnlitMaterialExtension_default_);
|
|
2953
2869
|
;// CONCATENATED MODULE: ./src/x_ite/Components/X_ITE/VolumeMaterialExtension.js
|
|
2954
2870
|
/*******************************************************************************
|
|
2955
2871
|
*
|
|
@@ -3006,6 +2922,10 @@ Namespace_default().add ("UnlitMaterialExtension", "x_ite/Components/X_ITE/Unlit
|
|
|
3006
2922
|
|
|
3007
2923
|
|
|
3008
2924
|
|
|
2925
|
+
/**
|
|
2926
|
+
* THIS NODE IS STILL EXPERIMENTAL.
|
|
2927
|
+
*/
|
|
2928
|
+
|
|
3009
2929
|
function VolumeMaterialExtension (executionContext)
|
|
3010
2930
|
{
|
|
3011
2931
|
X_ITE_X3DMaterialExtensionNode .call (this, executionContext);
|
|
@@ -3077,7 +2997,7 @@ Object .assign (Object .setPrototypeOf (VolumeMaterialExtension .prototype, X_IT
|
|
|
3077
2997
|
{
|
|
3078
2998
|
gl .uniform1f (shaderObject .x3d_ThicknessEXT, this .thickness);
|
|
3079
2999
|
gl .uniform1f (shaderObject .x3d_AttenuationDistanceEXT, this .attenuationDistance);
|
|
3080
|
-
gl .uniform3fv (shaderObject .
|
|
3000
|
+
gl .uniform3fv (shaderObject .x3d_AttenuationColorEXT, this .attenuationColorArray);
|
|
3081
3001
|
|
|
3082
3002
|
if (!+this .getTextureBits ())
|
|
3083
3003
|
return;
|
|
@@ -3198,7 +3118,6 @@ Namespace_default().add ("VolumeMaterialExtension", "x_ite/Components/X_ITE/Volu
|
|
|
3198
3118
|
|
|
3199
3119
|
|
|
3200
3120
|
|
|
3201
|
-
|
|
3202
3121
|
Components_default().add ({
|
|
3203
3122
|
name: "X_ITE",
|
|
3204
3123
|
concreteNodes:
|
|
@@ -3216,7 +3135,6 @@ Components_default().add ({
|
|
|
3216
3135
|
X_ITE_SheenMaterialExtension,
|
|
3217
3136
|
X_ITE_SpecularMaterialExtension,
|
|
3218
3137
|
X_ITE_TransmissionMaterialExtension,
|
|
3219
|
-
X_ITE_UnlitMaterialExtension,
|
|
3220
3138
|
X_ITE_VolumeMaterialExtension,
|
|
3221
3139
|
],
|
|
3222
3140
|
abstractNodes:
|