x_ite 16.5.0 → 16.6.0
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 +6 -6
- package/dist/assets/components/AnnotationComponent.js +1 -1
- package/dist/assets/components/AnnotationComponent.min.js +1 -1
- package/dist/assets/components/CADGeometryComponent.js +1 -1
- package/dist/assets/components/CADGeometryComponent.min.js +1 -1
- package/dist/assets/components/CubeMapTexturingComponent.js +1 -1
- package/dist/assets/components/CubeMapTexturingComponent.min.js +1 -1
- package/dist/assets/components/DISComponent.js +1 -1
- package/dist/assets/components/DISComponent.min.js +1 -1
- package/dist/assets/components/EventUtilitiesComponent.js +1 -1
- package/dist/assets/components/EventUtilitiesComponent.min.js +1 -1
- package/dist/assets/components/GaussianSplatsComponent.js +1 -1
- package/dist/assets/components/GaussianSplatsComponent.min.js +1 -1
- package/dist/assets/components/Geometry2DComponent.js +1 -1
- package/dist/assets/components/Geometry2DComponent.min.js +1 -1
- package/dist/assets/components/Geometry3DComponent.js +1 -1
- package/dist/assets/components/Geometry3DComponent.min.js +1 -1
- package/dist/assets/components/GeospatialComponent.js +18 -18
- package/dist/assets/components/GeospatialComponent.min.js +2 -2
- package/dist/assets/components/HAnimComponent.js +677 -396
- package/dist/assets/components/HAnimComponent.min.js +2 -2
- package/dist/assets/components/KeyDeviceSensorComponent.js +1 -1
- package/dist/assets/components/KeyDeviceSensorComponent.min.js +1 -1
- package/dist/assets/components/LayoutComponent.js +1 -1
- package/dist/assets/components/LayoutComponent.min.js +1 -1
- package/dist/assets/components/NURBSComponent.js +1 -1
- package/dist/assets/components/NURBSComponent.min.js +1 -1
- package/dist/assets/components/ParticleSystemsComponent.js +1 -1
- package/dist/assets/components/ParticleSystemsComponent.min.js +1 -1
- package/dist/assets/components/PickingComponent.js +1 -1
- package/dist/assets/components/PickingComponent.min.js +1 -1
- package/dist/assets/components/RigidBodyPhysicsComponent.js +1 -1
- package/dist/assets/components/RigidBodyPhysicsComponent.min.js +1 -1
- package/dist/assets/components/ScriptingComponent.js +1 -1
- package/dist/assets/components/ScriptingComponent.min.js +1 -1
- package/dist/assets/components/TextComponent.js +1 -1
- package/dist/assets/components/TextComponent.min.js +1 -1
- package/dist/assets/components/TextureProjectionComponent.js +1 -1
- package/dist/assets/components/TextureProjectionComponent.min.js +1 -1
- package/dist/assets/components/Texturing3DComponent.js +9 -9
- package/dist/assets/components/Texturing3DComponent.min.js +2 -2
- package/dist/assets/components/VolumeRenderingComponent.js +1 -1
- package/dist/assets/components/VolumeRenderingComponent.min.js +1 -1
- package/dist/assets/components/WebXRComponent.js +1 -1
- package/dist/assets/components/WebXRComponent.min.js +1 -1
- package/dist/assets/components/X_ITEComponent.js +1 -1
- package/dist/assets/components/X_ITEComponent.min.js +1 -1
- package/dist/assets/lib/draco_decoder_gltf.js +1 -1
- package/dist/example.html +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.d.ts +3 -3
- package/dist/x_ite.js +130 -106
- package/dist/x_ite.min.js +2 -2
- package/dist/x_ite.min.mjs +2 -2
- package/dist/x_ite.mjs +130 -106
- package/dist/x_ite.zip +0 -0
- package/package.json +4 -3
package/dist/x_ite.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/* X_ITE v16.
|
|
1
|
+
/* X_ITE v16.6.0 */
|
|
2
2
|
var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
|
-
/***/
|
|
4
|
+
/***/ 23
|
|
5
5
|
(module, exports) {
|
|
6
6
|
|
|
7
7
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
|
|
@@ -1006,7 +1006,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
1006
1006
|
|
|
1007
1007
|
/***/ },
|
|
1008
1008
|
|
|
1009
|
-
/***/
|
|
1009
|
+
/***/ 197
|
|
1010
1010
|
(module) {
|
|
1011
1011
|
|
|
1012
1012
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -2002,7 +2002,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
2002
2002
|
|
|
2003
2003
|
/***/ },
|
|
2004
2004
|
|
|
2005
|
-
/***/
|
|
2005
|
+
/***/ 901
|
|
2006
2006
|
(module) {
|
|
2007
2007
|
|
|
2008
2008
|
/**
|
|
@@ -18874,7 +18874,7 @@ const Legacy_default_ = Legacy;
|
|
|
18874
18874
|
|
|
18875
18875
|
/* harmony default export */ const Browser_Legacy = (x_ite_Namespace .add ("Legacy", Legacy_default_));
|
|
18876
18876
|
;// ./src/x_ite/BROWSER_VERSION.js
|
|
18877
|
-
const BROWSER_VERSION_default_ = "16.
|
|
18877
|
+
const BROWSER_VERSION_default_ = "16.6.0";
|
|
18878
18878
|
;
|
|
18879
18879
|
|
|
18880
18880
|
/* harmony default export */ const BROWSER_VERSION = (x_ite_Namespace .add ("BROWSER_VERSION", BROWSER_VERSION_default_));
|
|
@@ -23978,6 +23978,57 @@ const NamedNodesArray_default_ = NamedNodesArray;
|
|
|
23978
23978
|
|
|
23979
23979
|
const _importedNode = Symbol ();
|
|
23980
23980
|
|
|
23981
|
+
const X3DImportedNodeInstance_handler =
|
|
23982
|
+
{
|
|
23983
|
+
get (target, key)
|
|
23984
|
+
{
|
|
23985
|
+
if (Reflect .has (target, key))
|
|
23986
|
+
return Reflect .get (target, key);
|
|
23987
|
+
|
|
23988
|
+
const exportedNode = helper.try (() => target [_importedNode] .getExportedNode ());
|
|
23989
|
+
|
|
23990
|
+
if (exportedNode)
|
|
23991
|
+
return Reflect .get (exportedNode, key);
|
|
23992
|
+
},
|
|
23993
|
+
set (target, key, value)
|
|
23994
|
+
{
|
|
23995
|
+
if (Reflect .has (target, key))
|
|
23996
|
+
return Reflect .set (target, key, value);
|
|
23997
|
+
|
|
23998
|
+
const exportedNode = helper.try (() => target [_importedNode] .getExportedNode ());
|
|
23999
|
+
|
|
24000
|
+
if (exportedNode)
|
|
24001
|
+
return Reflect .set (exportedNode, key, value);
|
|
24002
|
+
|
|
24003
|
+
return false;
|
|
24004
|
+
},
|
|
24005
|
+
has (target, key)
|
|
24006
|
+
{
|
|
24007
|
+
const exportedNode = helper.try (() => target [_importedNode] .getExportedNode ());
|
|
24008
|
+
|
|
24009
|
+
return Reflect .has (target, key)
|
|
24010
|
+
|| (exportedNode && Reflect .has (exportedNode, key));
|
|
24011
|
+
},
|
|
24012
|
+
ownKeys (target)
|
|
24013
|
+
{
|
|
24014
|
+
let keys = Reflect .ownKeys (target);
|
|
24015
|
+
|
|
24016
|
+
const exportedNode = helper.try (() => target [_importedNode] .getExportedNode ());
|
|
24017
|
+
|
|
24018
|
+
if (exportedNode)
|
|
24019
|
+
keys = keys .concat (Reflect .ownKeys (exportedNode));
|
|
24020
|
+
|
|
24021
|
+
return Array .from (new Set (keys));
|
|
24022
|
+
},
|
|
24023
|
+
getOwnPropertyDescriptor (target, key)
|
|
24024
|
+
{
|
|
24025
|
+
const exportedNode = helper.try (() => target [_importedNode] .getExportedNode ());
|
|
24026
|
+
|
|
24027
|
+
return Reflect .getOwnPropertyDescriptor (target, key)
|
|
24028
|
+
?? (exportedNode && Reflect .getOwnPropertyDescriptor (exportedNode, key));
|
|
24029
|
+
},
|
|
24030
|
+
};
|
|
24031
|
+
|
|
23981
24032
|
function X3DImportedNodeInstance (executionContext, importedNode)
|
|
23982
24033
|
{
|
|
23983
24034
|
Core_X3DNode .call (this, executionContext);
|
|
@@ -23987,6 +24038,10 @@ function X3DImportedNodeInstance (executionContext, importedNode)
|
|
|
23987
24038
|
// Private properties
|
|
23988
24039
|
|
|
23989
24040
|
this [_importedNode] = importedNode;
|
|
24041
|
+
|
|
24042
|
+
// Return Proxy
|
|
24043
|
+
|
|
24044
|
+
return new Proxy (this, X3DImportedNodeInstance_handler);
|
|
23990
24045
|
}
|
|
23991
24046
|
|
|
23992
24047
|
Object .assign (Object .setPrototypeOf (X3DImportedNodeInstance .prototype, Core_X3DNode .prototype),
|
|
@@ -24026,7 +24081,6 @@ Object .assign (Object .setPrototypeOf (X3DImportedNodeInstance .prototype, Core
|
|
|
24026
24081
|
},
|
|
24027
24082
|
... Object .fromEntries ([
|
|
24028
24083
|
"getTypeName",
|
|
24029
|
-
"getType",
|
|
24030
24084
|
"getComponentInfo",
|
|
24031
24085
|
"getContainerField",
|
|
24032
24086
|
"getSpecificationRange",
|
|
@@ -31161,7 +31215,7 @@ const Plane3_default_ = Plane3;
|
|
|
31161
31215
|
|
|
31162
31216
|
/* harmony default export */ const Geometry_Plane3 = (x_ite_Namespace .add ("Plane3", Plane3_default_));
|
|
31163
31217
|
;// ./src/standard/Math/Geometry/Triangle3.js
|
|
31164
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
31218
|
+
/* provided dependency */ var libtess = __webpack_require__(901);
|
|
31165
31219
|
|
|
31166
31220
|
|
|
31167
31221
|
const Triangle3 =
|
|
@@ -32276,6 +32330,8 @@ const MatrixStack_default_ = MatrixStack;
|
|
|
32276
32330
|
|
|
32277
32331
|
|
|
32278
32332
|
|
|
32333
|
+
const _hAnimNodes = Symbol .for ("X_ITE.HAnim.hAnimNodes");
|
|
32334
|
+
|
|
32279
32335
|
const DEPTH_BUFFER_SIZE = 16;
|
|
32280
32336
|
|
|
32281
32337
|
function X3DRenderObject (executionContext)
|
|
@@ -32310,7 +32366,6 @@ function X3DRenderObject (executionContext)
|
|
|
32310
32366
|
this .localFogs = [ null ];
|
|
32311
32367
|
this .layouts = [ ];
|
|
32312
32368
|
this .layoutRectangles = [ ];
|
|
32313
|
-
this .hAnimNode = [ null ];
|
|
32314
32369
|
this .invHumanoidMatrix = new Utility_MatrixStack (Numbers_Matrix4);
|
|
32315
32370
|
this .renderedTextures = new Set ();
|
|
32316
32371
|
this .collisions = [ ];
|
|
@@ -32569,10 +32624,6 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
32569
32624
|
{
|
|
32570
32625
|
return this .layoutRectangles;
|
|
32571
32626
|
},
|
|
32572
|
-
getHAnimNode ()
|
|
32573
|
-
{
|
|
32574
|
-
return this .hAnimNode;
|
|
32575
|
-
},
|
|
32576
32627
|
getInvHumanoidMatrix ()
|
|
32577
32628
|
{
|
|
32578
32629
|
return this .invHumanoidMatrix;
|
|
@@ -32849,7 +32900,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
32849
32900
|
bboxSize = new Numbers_Vector3 (),
|
|
32850
32901
|
bboxCenter = new Numbers_Vector3 ();
|
|
32851
32902
|
|
|
32852
|
-
return function (shapeNode)
|
|
32903
|
+
return function (shapeNode, geometryContext)
|
|
32853
32904
|
{
|
|
32854
32905
|
const modelViewMatrix = this .getModelViewMatrix () .get ();
|
|
32855
32906
|
|
|
@@ -32863,27 +32914,18 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
32863
32914
|
if (!viewVolume .intersectsSphere (radius, bboxCenter))
|
|
32864
32915
|
return false;
|
|
32865
32916
|
|
|
32866
|
-
const
|
|
32867
|
-
|
|
32868
|
-
|
|
32869
|
-
|
|
32870
|
-
|
|
32871
|
-
|
|
32872
|
-
|
|
32873
|
-
|
|
32874
|
-
clipPlanes: [ ],
|
|
32875
|
-
sensors: [ ],
|
|
32876
|
-
get renderContext () { return this; },
|
|
32877
|
-
};
|
|
32878
|
-
|
|
32879
|
-
this .pointingShapes .push (renderContext);
|
|
32880
|
-
}
|
|
32881
|
-
|
|
32882
|
-
const renderContext = this .pointingShapes [num];
|
|
32917
|
+
const renderContext = this .pointingShapes [this .numPointingShapes ++] ??= {
|
|
32918
|
+
renderObject: this,
|
|
32919
|
+
modelViewMatrix: new Float32Array (16),
|
|
32920
|
+
viewport: new Numbers_Vector4 (),
|
|
32921
|
+
clipPlanes: [ ],
|
|
32922
|
+
sensors: [ ],
|
|
32923
|
+
get renderContext () { return this; },
|
|
32924
|
+
};
|
|
32883
32925
|
|
|
32884
32926
|
renderContext .viewport .assign (viewVolume .getViewport ());
|
|
32885
32927
|
renderContext .modelViewMatrix .set (modelViewMatrix);
|
|
32886
|
-
renderContext .hAnimNode =
|
|
32928
|
+
renderContext .hAnimNode = geometryContext .getCoord () ?.[_hAnimNodes] ?.at (-1);
|
|
32887
32929
|
renderContext .shapeNode = shapeNode;
|
|
32888
32930
|
|
|
32889
32931
|
// Clip planes & sensors
|
|
@@ -32900,7 +32942,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
32900
32942
|
bboxSize = new Numbers_Vector3 (),
|
|
32901
32943
|
bboxCenter = new Numbers_Vector3 ();
|
|
32902
32944
|
|
|
32903
|
-
return function (shapeNode)
|
|
32945
|
+
return function (shapeNode, geometryContext)
|
|
32904
32946
|
{
|
|
32905
32947
|
const modelViewMatrix = this .getModelViewMatrix () .get ();
|
|
32906
32948
|
|
|
@@ -32914,27 +32956,18 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
32914
32956
|
if (!viewVolume .intersectsSphere (radius, bboxCenter))
|
|
32915
32957
|
return false;
|
|
32916
32958
|
|
|
32917
|
-
const
|
|
32918
|
-
|
|
32919
|
-
|
|
32920
|
-
|
|
32921
|
-
|
|
32922
|
-
|
|
32923
|
-
|
|
32924
|
-
|
|
32925
|
-
collisions: [ ],
|
|
32926
|
-
modelViewMatrix: new Float32Array (16),
|
|
32927
|
-
get renderContext () { return this; },
|
|
32928
|
-
};
|
|
32929
|
-
|
|
32930
|
-
this .collisionShapes .push (renderContext);
|
|
32931
|
-
}
|
|
32932
|
-
|
|
32933
|
-
const renderContext = this .collisionShapes [num];
|
|
32959
|
+
const renderContext = this .collisionShapes [this .numCollisionShapes ++] ??= {
|
|
32960
|
+
renderObject: this,
|
|
32961
|
+
viewport: new Numbers_Vector4 (),
|
|
32962
|
+
clipPlanes: [ ],
|
|
32963
|
+
collisions: [ ],
|
|
32964
|
+
modelViewMatrix: new Float32Array (16),
|
|
32965
|
+
get renderContext () { return this; },
|
|
32966
|
+
};
|
|
32934
32967
|
|
|
32935
32968
|
renderContext .viewport .assign (viewVolume .getViewport ());
|
|
32936
32969
|
renderContext .modelViewMatrix .set (modelViewMatrix);
|
|
32937
|
-
renderContext .hAnimNode =
|
|
32970
|
+
renderContext .hAnimNode = geometryContext .getCoord () ?.[_hAnimNodes] ?.at (-1);
|
|
32938
32971
|
renderContext .shapeNode = shapeNode;
|
|
32939
32972
|
|
|
32940
32973
|
// Clip planes & Collision nodes
|
|
@@ -32951,7 +32984,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
32951
32984
|
bboxSize = new Numbers_Vector3 (),
|
|
32952
32985
|
bboxCenter = new Numbers_Vector3 ();
|
|
32953
32986
|
|
|
32954
|
-
return function (shapeNode)
|
|
32987
|
+
return function (shapeNode, geometryContext)
|
|
32955
32988
|
{
|
|
32956
32989
|
const modelViewMatrix = this .getModelViewMatrix () .get ();
|
|
32957
32990
|
|
|
@@ -32965,26 +32998,17 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
32965
32998
|
if (!viewVolume .intersectsSphere (radius, bboxCenter))
|
|
32966
32999
|
return false;
|
|
32967
33000
|
|
|
32968
|
-
const
|
|
32969
|
-
|
|
32970
|
-
|
|
32971
|
-
|
|
32972
|
-
|
|
32973
|
-
|
|
32974
|
-
|
|
32975
|
-
clipPlanes: [ ],
|
|
32976
|
-
modelViewMatrix: new Float32Array (16),
|
|
32977
|
-
get renderContext () { return this; },
|
|
32978
|
-
};
|
|
32979
|
-
|
|
32980
|
-
this .depthShapes .push (renderContext);
|
|
32981
|
-
}
|
|
32982
|
-
|
|
32983
|
-
const renderContext = this .depthShapes [num];
|
|
33001
|
+
const renderContext = this .depthShapes [this .numDepthShapes ++] ??= {
|
|
33002
|
+
renderObject: this,
|
|
33003
|
+
viewport: new Numbers_Vector4 (),
|
|
33004
|
+
clipPlanes: [ ],
|
|
33005
|
+
modelViewMatrix: new Float32Array (16),
|
|
33006
|
+
get renderContext () { return this; },
|
|
33007
|
+
};
|
|
32984
33008
|
|
|
32985
33009
|
renderContext .viewport .assign (viewVolume .getViewport ());
|
|
32986
33010
|
renderContext .modelViewMatrix .set (modelViewMatrix);
|
|
32987
|
-
renderContext .hAnimNode =
|
|
33011
|
+
renderContext .hAnimNode = geometryContext .getCoord () ?.[_hAnimNodes] ?.at (-1);
|
|
32988
33012
|
renderContext .shapeNode = shapeNode;
|
|
32989
33013
|
|
|
32990
33014
|
// Clip planes
|
|
@@ -33000,7 +33024,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
33000
33024
|
bboxSize = new Numbers_Vector3 (),
|
|
33001
33025
|
bboxCenter = new Numbers_Vector3 ();
|
|
33002
33026
|
|
|
33003
|
-
return function (shapeNode)
|
|
33027
|
+
return function (shapeNode, geometryContext)
|
|
33004
33028
|
{
|
|
33005
33029
|
const modelViewMatrix = this .getModelViewMatrix () .get ();
|
|
33006
33030
|
|
|
@@ -33018,23 +33042,15 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
33018
33042
|
|
|
33019
33043
|
if (shapeNode .isTransparent ())
|
|
33020
33044
|
{
|
|
33021
|
-
|
|
33022
|
-
|
|
33023
|
-
if (num === this .transparentShapes .length)
|
|
33024
|
-
this .transparentShapes .push (this .createRenderContext (true));
|
|
33025
|
-
|
|
33026
|
-
renderContext = this .transparentShapes [num];
|
|
33045
|
+
renderContext = this .transparentShapes [this .numTransparentShapes ++]
|
|
33046
|
+
??= this .createRenderContext (true);
|
|
33027
33047
|
|
|
33028
33048
|
renderContext .distance = bboxCenter .z;
|
|
33029
33049
|
}
|
|
33030
33050
|
else
|
|
33031
33051
|
{
|
|
33032
|
-
|
|
33033
|
-
|
|
33034
|
-
if (num === this .opaqueShapes .length)
|
|
33035
|
-
this .opaqueShapes .push (this .createRenderContext (false));
|
|
33036
|
-
|
|
33037
|
-
renderContext = this .opaqueShapes [num];
|
|
33052
|
+
renderContext = this .opaqueShapes [this .numOpaqueShapes ++]
|
|
33053
|
+
??= this .createRenderContext (false);
|
|
33038
33054
|
}
|
|
33039
33055
|
|
|
33040
33056
|
this .renderPasses |= shapeNode .getRenderPasses ();
|
|
@@ -33044,7 +33060,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
33044
33060
|
|
|
33045
33061
|
renderContext .shadows = this .localShadows .at (-1);
|
|
33046
33062
|
renderContext .fogNode = this .localFogs .at (-1);
|
|
33047
|
-
renderContext .hAnimNode =
|
|
33063
|
+
renderContext .hAnimNode = geometryContext .getCoord () ?.[_hAnimNodes] ?.at (-1);
|
|
33048
33064
|
renderContext .shapeNode = shapeNode;
|
|
33049
33065
|
renderContext .appearanceNode = shapeNode .getAppearance ();
|
|
33050
33066
|
|
|
@@ -36511,6 +36527,10 @@ Object .assign (GeometryContext .prototype,
|
|
|
36511
36527
|
{
|
|
36512
36528
|
return this .textureCoordinateNode;
|
|
36513
36529
|
},
|
|
36530
|
+
getCoord ()
|
|
36531
|
+
{
|
|
36532
|
+
return null;
|
|
36533
|
+
},
|
|
36514
36534
|
updateGeometryKey: Rendering_X3DGeometryNode .prototype .updateGeometryKey,
|
|
36515
36535
|
});
|
|
36516
36536
|
|
|
@@ -42745,13 +42765,13 @@ function eventsProcessed ()
|
|
|
42745
42765
|
{
|
|
42746
42766
|
if (childNode .getType () .at (-1) !== Base_X3DConstants .HAnimJoint)
|
|
42747
42767
|
{
|
|
42748
|
-
const
|
|
42768
|
+
const siteNode = scene .createNode ("HAnimSite", false);
|
|
42749
42769
|
|
|
42750
|
-
|
|
42770
|
+
siteNode ._children .push (childNode);
|
|
42751
42771
|
|
|
42752
|
-
|
|
42772
|
+
siteNode .setup ();
|
|
42753
42773
|
|
|
42754
|
-
return
|
|
42774
|
+
return siteNode;
|
|
42755
42775
|
}
|
|
42756
42776
|
else
|
|
42757
42777
|
{
|
|
@@ -47883,7 +47903,7 @@ const Bezier_default_ = Bezier;
|
|
|
47883
47903
|
|
|
47884
47904
|
/* harmony default export */ const Algorithms_Bezier = (x_ite_Namespace .add ("Bezier", Bezier_default_));
|
|
47885
47905
|
;// ./src/x_ite/Parser/SVGParser.js
|
|
47886
|
-
/* provided dependency */ var SVGParser_libtess = __webpack_require__(
|
|
47906
|
+
/* provided dependency */ var SVGParser_libtess = __webpack_require__(901);
|
|
47887
47907
|
|
|
47888
47908
|
|
|
47889
47909
|
|
|
@@ -53991,7 +54011,8 @@ Object .assign (Object .setPrototypeOf (X3DScene .prototype, Execution_X3DExecut
|
|
|
53991
54011
|
},
|
|
53992
54012
|
addRootNode (node)
|
|
53993
54013
|
{
|
|
53994
|
-
node
|
|
54014
|
+
node = Base_X3DCast (Base_X3DConstants .X3DNode, node, false);
|
|
54015
|
+
node &&= Fields_SFNodeCache .get (node);
|
|
53995
54016
|
|
|
53996
54017
|
const rootNodes = this .getRootNodes ();
|
|
53997
54018
|
|
|
@@ -54002,7 +54023,8 @@ Object .assign (Object .setPrototypeOf (X3DScene .prototype, Execution_X3DExecut
|
|
|
54002
54023
|
},
|
|
54003
54024
|
removeRootNode (node)
|
|
54004
54025
|
{
|
|
54005
|
-
node
|
|
54026
|
+
node = Base_X3DCast (Base_X3DConstants .X3DNode, node, false);
|
|
54027
|
+
node &&= Fields_SFNodeCache .get (node);
|
|
54006
54028
|
|
|
54007
54029
|
const rootNodes = this .getRootNodes ();
|
|
54008
54030
|
|
|
@@ -54657,7 +54679,7 @@ function X3DCoreContext (element)
|
|
|
54657
54679
|
const link = document .createElement ("link");
|
|
54658
54680
|
|
|
54659
54681
|
if (!DEVELOPMENT)
|
|
54660
|
-
link .integrity = "sha384-
|
|
54682
|
+
link .integrity = "sha384-6OXJlHzXsf/wUqb6nZzYEmTdwO5SKkQn/PDr8Ax82LGFXKZqL7ojVZCBBNFnuYOt";
|
|
54661
54683
|
|
|
54662
54684
|
link .rel = "stylesheet";
|
|
54663
54685
|
link .crossOrigin = "anonymous";
|
|
@@ -57892,7 +57914,7 @@ Object .assign (Object .setPrototypeOf (X3DShapeNode .prototype, Core_X3DChildNo
|
|
|
57892
57914
|
{
|
|
57893
57915
|
case Rendering_TraverseType .POINTER:
|
|
57894
57916
|
{
|
|
57895
|
-
renderObject .addPointingShape (this);
|
|
57917
|
+
renderObject .addPointingShape (this, geometryContext);
|
|
57896
57918
|
break;
|
|
57897
57919
|
}
|
|
57898
57920
|
case Rendering_TraverseType .PICKING:
|
|
@@ -57902,20 +57924,20 @@ Object .assign (Object .setPrototypeOf (X3DShapeNode .prototype, Core_X3DChildNo
|
|
|
57902
57924
|
}
|
|
57903
57925
|
case Rendering_TraverseType .COLLISION:
|
|
57904
57926
|
{
|
|
57905
|
-
renderObject .addCollisionShape (this);
|
|
57927
|
+
renderObject .addCollisionShape (this, geometryContext);
|
|
57906
57928
|
break;
|
|
57907
57929
|
}
|
|
57908
57930
|
case Rendering_TraverseType .DEPTH:
|
|
57909
57931
|
case Rendering_TraverseType .SHADOW:
|
|
57910
57932
|
{
|
|
57911
|
-
renderObject .addDepthShape (this);
|
|
57933
|
+
renderObject .addDepthShape (this, geometryContext);
|
|
57912
57934
|
break;
|
|
57913
57935
|
}
|
|
57914
57936
|
case Rendering_TraverseType .DISPLAY:
|
|
57915
57937
|
{
|
|
57916
57938
|
// X3DAppearanceNode traverse is needed for rendered textures.
|
|
57917
57939
|
|
|
57918
|
-
if (renderObject .addDisplayShape (this))
|
|
57940
|
+
if (renderObject .addDisplayShape (this, geometryContext))
|
|
57919
57941
|
this .appearanceNode .traverse (type, renderObject);
|
|
57920
57942
|
|
|
57921
57943
|
break;
|
|
@@ -83879,13 +83901,14 @@ Object .assign (Object .setPrototypeOf (Inline .prototype, Core_X3DChildNode .pr
|
|
|
83879
83901
|
else
|
|
83880
83902
|
{
|
|
83881
83903
|
const
|
|
83882
|
-
globalLights
|
|
83883
|
-
|
|
83884
|
-
|
|
83885
|
-
|
|
83886
|
-
|
|
83887
|
-
|
|
83888
|
-
|
|
83904
|
+
globalLights = renderObject .getGlobalLights (),
|
|
83905
|
+
globalLightsKeys = renderObject .getGlobalLightsKeys (),
|
|
83906
|
+
globalShadows = renderObject .getGlobalShadows (),
|
|
83907
|
+
globalsBegin = globalLights .length,
|
|
83908
|
+
shadowsBegin = globalShadows .length,
|
|
83909
|
+
localLights = this .localLights,
|
|
83910
|
+
numLocalObjects = localLights .length,
|
|
83911
|
+
lightsKeys = localLights .map (c => c .lightNode .getLightKey ());
|
|
83889
83912
|
|
|
83890
83913
|
if (numLocalObjects)
|
|
83891
83914
|
{
|
|
@@ -83930,8 +83953,9 @@ Object .assign (Object .setPrototypeOf (Inline .prototype, Core_X3DChildNode .pr
|
|
|
83930
83953
|
localLights .length = numGlobalLights;
|
|
83931
83954
|
this .localShadows = globalShadows .at (-1);
|
|
83932
83955
|
|
|
83933
|
-
globalLights
|
|
83934
|
-
|
|
83956
|
+
globalLights .length = globalsBegin;
|
|
83957
|
+
globalLightsKeys .length = globalsBegin;
|
|
83958
|
+
globalShadows .length = shadowsBegin;
|
|
83935
83959
|
}
|
|
83936
83960
|
|
|
83937
83961
|
return;
|
|
@@ -91532,8 +91556,8 @@ const PNGMedia_default_ = PNGMedia;
|
|
|
91532
91556
|
|
|
91533
91557
|
/* harmony default export */ const Texturing_PNGMedia = (x_ite_Namespace .add ("PNGMedia", PNGMedia_default_));
|
|
91534
91558
|
;// ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
91535
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
91536
|
-
/* provided dependency */ var APNG = __webpack_require__(
|
|
91559
|
+
/* provided dependency */ var SuperGif = __webpack_require__(23);
|
|
91560
|
+
/* provided dependency */ var APNG = __webpack_require__(197);
|
|
91537
91561
|
|
|
91538
91562
|
|
|
91539
91563
|
|
|
@@ -94177,7 +94201,7 @@ const QuickSort_default_ = QuickSort;
|
|
|
94177
94201
|
|
|
94178
94202
|
/* harmony default export */ const Algorithms_QuickSort = (x_ite_Namespace .add ("QuickSort", QuickSort_default_));
|
|
94179
94203
|
;// ./src/lib/libtess.js
|
|
94180
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
94204
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(901);
|
|
94181
94205
|
const libtess_default_ = libtess_libtess;
|
|
94182
94206
|
;
|
|
94183
94207
|
|
package/dist/x_ite.zip
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x_ite",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.6.0",
|
|
4
4
|
"description": "X_ITE X3D Browser and VRML Viewer — View and Manipulate X3D, VRML, glTF and Other 3D Sources in HTML",
|
|
5
5
|
"main": "dist/x_ite.js",
|
|
6
6
|
"module": "dist/x_ite.mjs",
|
|
@@ -122,7 +122,8 @@
|
|
|
122
122
|
"apng-js": "^1.1.5",
|
|
123
123
|
"CharLS.js": "^2.0.1",
|
|
124
124
|
"dicom-parser": "^1.8.21",
|
|
125
|
-
"
|
|
125
|
+
"draco3d": "^1.5.9",
|
|
126
|
+
"eslint": "^10.13.0",
|
|
126
127
|
"fast-xml-parser": "^5.11.2",
|
|
127
128
|
"globals": "^17.13.0",
|
|
128
129
|
"jpeg-js": "^0.4.4",
|
|
@@ -138,7 +139,7 @@
|
|
|
138
139
|
"string-replace-webpack-plugin": "^0.1.3",
|
|
139
140
|
"terser": "5.51.2",
|
|
140
141
|
"terser-webpack-plugin": "^5.6.1",
|
|
141
|
-
"webpack": "^5.
|
|
142
|
+
"webpack": "^5.112.0",
|
|
142
143
|
"webpack-cli": "^7.2.3",
|
|
143
144
|
"webpack-shell-plugin-next": "^2.3.3",
|
|
144
145
|
"woff2-encoder": "^2.0.0",
|