x_ite 16.5.1 → 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 +652 -385
- 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.js +71 -108
- package/dist/x_ite.min.js +2 -2
- package/dist/x_ite.min.mjs +2 -2
- package/dist/x_ite.mjs +71 -108
- 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_));
|
|
@@ -24081,7 +24081,6 @@ Object .assign (Object .setPrototypeOf (X3DImportedNodeInstance .prototype, Core
|
|
|
24081
24081
|
},
|
|
24082
24082
|
... Object .fromEntries ([
|
|
24083
24083
|
"getTypeName",
|
|
24084
|
-
"getType",
|
|
24085
24084
|
"getComponentInfo",
|
|
24086
24085
|
"getContainerField",
|
|
24087
24086
|
"getSpecificationRange",
|
|
@@ -31216,7 +31215,7 @@ const Plane3_default_ = Plane3;
|
|
|
31216
31215
|
|
|
31217
31216
|
/* harmony default export */ const Geometry_Plane3 = (x_ite_Namespace .add ("Plane3", Plane3_default_));
|
|
31218
31217
|
;// ./src/standard/Math/Geometry/Triangle3.js
|
|
31219
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
31218
|
+
/* provided dependency */ var libtess = __webpack_require__(901);
|
|
31220
31219
|
|
|
31221
31220
|
|
|
31222
31221
|
const Triangle3 =
|
|
@@ -32331,6 +32330,8 @@ const MatrixStack_default_ = MatrixStack;
|
|
|
32331
32330
|
|
|
32332
32331
|
|
|
32333
32332
|
|
|
32333
|
+
const _hAnimNodes = Symbol .for ("X_ITE.HAnim.hAnimNodes");
|
|
32334
|
+
|
|
32334
32335
|
const DEPTH_BUFFER_SIZE = 16;
|
|
32335
32336
|
|
|
32336
32337
|
function X3DRenderObject (executionContext)
|
|
@@ -32365,7 +32366,6 @@ function X3DRenderObject (executionContext)
|
|
|
32365
32366
|
this .localFogs = [ null ];
|
|
32366
32367
|
this .layouts = [ ];
|
|
32367
32368
|
this .layoutRectangles = [ ];
|
|
32368
|
-
this .hAnimNode = [ null ];
|
|
32369
32369
|
this .invHumanoidMatrix = new Utility_MatrixStack (Numbers_Matrix4);
|
|
32370
32370
|
this .renderedTextures = new Set ();
|
|
32371
32371
|
this .collisions = [ ];
|
|
@@ -32624,10 +32624,6 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
32624
32624
|
{
|
|
32625
32625
|
return this .layoutRectangles;
|
|
32626
32626
|
},
|
|
32627
|
-
getHAnimNode ()
|
|
32628
|
-
{
|
|
32629
|
-
return this .hAnimNode;
|
|
32630
|
-
},
|
|
32631
32627
|
getInvHumanoidMatrix ()
|
|
32632
32628
|
{
|
|
32633
32629
|
return this .invHumanoidMatrix;
|
|
@@ -32904,7 +32900,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
32904
32900
|
bboxSize = new Numbers_Vector3 (),
|
|
32905
32901
|
bboxCenter = new Numbers_Vector3 ();
|
|
32906
32902
|
|
|
32907
|
-
return function (shapeNode)
|
|
32903
|
+
return function (shapeNode, geometryContext)
|
|
32908
32904
|
{
|
|
32909
32905
|
const modelViewMatrix = this .getModelViewMatrix () .get ();
|
|
32910
32906
|
|
|
@@ -32918,27 +32914,18 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
32918
32914
|
if (!viewVolume .intersectsSphere (radius, bboxCenter))
|
|
32919
32915
|
return false;
|
|
32920
32916
|
|
|
32921
|
-
const
|
|
32922
|
-
|
|
32923
|
-
|
|
32924
|
-
|
|
32925
|
-
|
|
32926
|
-
|
|
32927
|
-
|
|
32928
|
-
|
|
32929
|
-
clipPlanes: [ ],
|
|
32930
|
-
sensors: [ ],
|
|
32931
|
-
get renderContext () { return this; },
|
|
32932
|
-
};
|
|
32933
|
-
|
|
32934
|
-
this .pointingShapes .push (renderContext);
|
|
32935
|
-
}
|
|
32936
|
-
|
|
32937
|
-
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
|
+
};
|
|
32938
32925
|
|
|
32939
32926
|
renderContext .viewport .assign (viewVolume .getViewport ());
|
|
32940
32927
|
renderContext .modelViewMatrix .set (modelViewMatrix);
|
|
32941
|
-
renderContext .hAnimNode =
|
|
32928
|
+
renderContext .hAnimNode = geometryContext .getCoord () ?.[_hAnimNodes] ?.at (-1);
|
|
32942
32929
|
renderContext .shapeNode = shapeNode;
|
|
32943
32930
|
|
|
32944
32931
|
// Clip planes & sensors
|
|
@@ -32955,7 +32942,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
32955
32942
|
bboxSize = new Numbers_Vector3 (),
|
|
32956
32943
|
bboxCenter = new Numbers_Vector3 ();
|
|
32957
32944
|
|
|
32958
|
-
return function (shapeNode)
|
|
32945
|
+
return function (shapeNode, geometryContext)
|
|
32959
32946
|
{
|
|
32960
32947
|
const modelViewMatrix = this .getModelViewMatrix () .get ();
|
|
32961
32948
|
|
|
@@ -32969,27 +32956,18 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
32969
32956
|
if (!viewVolume .intersectsSphere (radius, bboxCenter))
|
|
32970
32957
|
return false;
|
|
32971
32958
|
|
|
32972
|
-
const
|
|
32973
|
-
|
|
32974
|
-
|
|
32975
|
-
|
|
32976
|
-
|
|
32977
|
-
|
|
32978
|
-
|
|
32979
|
-
|
|
32980
|
-
collisions: [ ],
|
|
32981
|
-
modelViewMatrix: new Float32Array (16),
|
|
32982
|
-
get renderContext () { return this; },
|
|
32983
|
-
};
|
|
32984
|
-
|
|
32985
|
-
this .collisionShapes .push (renderContext);
|
|
32986
|
-
}
|
|
32987
|
-
|
|
32988
|
-
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
|
+
};
|
|
32989
32967
|
|
|
32990
32968
|
renderContext .viewport .assign (viewVolume .getViewport ());
|
|
32991
32969
|
renderContext .modelViewMatrix .set (modelViewMatrix);
|
|
32992
|
-
renderContext .hAnimNode =
|
|
32970
|
+
renderContext .hAnimNode = geometryContext .getCoord () ?.[_hAnimNodes] ?.at (-1);
|
|
32993
32971
|
renderContext .shapeNode = shapeNode;
|
|
32994
32972
|
|
|
32995
32973
|
// Clip planes & Collision nodes
|
|
@@ -33006,7 +32984,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
33006
32984
|
bboxSize = new Numbers_Vector3 (),
|
|
33007
32985
|
bboxCenter = new Numbers_Vector3 ();
|
|
33008
32986
|
|
|
33009
|
-
return function (shapeNode)
|
|
32987
|
+
return function (shapeNode, geometryContext)
|
|
33010
32988
|
{
|
|
33011
32989
|
const modelViewMatrix = this .getModelViewMatrix () .get ();
|
|
33012
32990
|
|
|
@@ -33020,26 +32998,17 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
33020
32998
|
if (!viewVolume .intersectsSphere (radius, bboxCenter))
|
|
33021
32999
|
return false;
|
|
33022
33000
|
|
|
33023
|
-
const
|
|
33024
|
-
|
|
33025
|
-
|
|
33026
|
-
|
|
33027
|
-
|
|
33028
|
-
|
|
33029
|
-
|
|
33030
|
-
clipPlanes: [ ],
|
|
33031
|
-
modelViewMatrix: new Float32Array (16),
|
|
33032
|
-
get renderContext () { return this; },
|
|
33033
|
-
};
|
|
33034
|
-
|
|
33035
|
-
this .depthShapes .push (renderContext);
|
|
33036
|
-
}
|
|
33037
|
-
|
|
33038
|
-
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
|
+
};
|
|
33039
33008
|
|
|
33040
33009
|
renderContext .viewport .assign (viewVolume .getViewport ());
|
|
33041
33010
|
renderContext .modelViewMatrix .set (modelViewMatrix);
|
|
33042
|
-
renderContext .hAnimNode =
|
|
33011
|
+
renderContext .hAnimNode = geometryContext .getCoord () ?.[_hAnimNodes] ?.at (-1);
|
|
33043
33012
|
renderContext .shapeNode = shapeNode;
|
|
33044
33013
|
|
|
33045
33014
|
// Clip planes
|
|
@@ -33055,7 +33024,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
33055
33024
|
bboxSize = new Numbers_Vector3 (),
|
|
33056
33025
|
bboxCenter = new Numbers_Vector3 ();
|
|
33057
33026
|
|
|
33058
|
-
return function (shapeNode)
|
|
33027
|
+
return function (shapeNode, geometryContext)
|
|
33059
33028
|
{
|
|
33060
33029
|
const modelViewMatrix = this .getModelViewMatrix () .get ();
|
|
33061
33030
|
|
|
@@ -33073,23 +33042,15 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
33073
33042
|
|
|
33074
33043
|
if (shapeNode .isTransparent ())
|
|
33075
33044
|
{
|
|
33076
|
-
|
|
33077
|
-
|
|
33078
|
-
if (num === this .transparentShapes .length)
|
|
33079
|
-
this .transparentShapes .push (this .createRenderContext (true));
|
|
33080
|
-
|
|
33081
|
-
renderContext = this .transparentShapes [num];
|
|
33045
|
+
renderContext = this .transparentShapes [this .numTransparentShapes ++]
|
|
33046
|
+
??= this .createRenderContext (true);
|
|
33082
33047
|
|
|
33083
33048
|
renderContext .distance = bboxCenter .z;
|
|
33084
33049
|
}
|
|
33085
33050
|
else
|
|
33086
33051
|
{
|
|
33087
|
-
|
|
33088
|
-
|
|
33089
|
-
if (num === this .opaqueShapes .length)
|
|
33090
|
-
this .opaqueShapes .push (this .createRenderContext (false));
|
|
33091
|
-
|
|
33092
|
-
renderContext = this .opaqueShapes [num];
|
|
33052
|
+
renderContext = this .opaqueShapes [this .numOpaqueShapes ++]
|
|
33053
|
+
??= this .createRenderContext (false);
|
|
33093
33054
|
}
|
|
33094
33055
|
|
|
33095
33056
|
this .renderPasses |= shapeNode .getRenderPasses ();
|
|
@@ -33099,7 +33060,7 @@ Object .assign (X3DRenderObject .prototype,
|
|
|
33099
33060
|
|
|
33100
33061
|
renderContext .shadows = this .localShadows .at (-1);
|
|
33101
33062
|
renderContext .fogNode = this .localFogs .at (-1);
|
|
33102
|
-
renderContext .hAnimNode =
|
|
33063
|
+
renderContext .hAnimNode = geometryContext .getCoord () ?.[_hAnimNodes] ?.at (-1);
|
|
33103
33064
|
renderContext .shapeNode = shapeNode;
|
|
33104
33065
|
renderContext .appearanceNode = shapeNode .getAppearance ();
|
|
33105
33066
|
|
|
@@ -36566,6 +36527,10 @@ Object .assign (GeometryContext .prototype,
|
|
|
36566
36527
|
{
|
|
36567
36528
|
return this .textureCoordinateNode;
|
|
36568
36529
|
},
|
|
36530
|
+
getCoord ()
|
|
36531
|
+
{
|
|
36532
|
+
return null;
|
|
36533
|
+
},
|
|
36569
36534
|
updateGeometryKey: Rendering_X3DGeometryNode .prototype .updateGeometryKey,
|
|
36570
36535
|
});
|
|
36571
36536
|
|
|
@@ -42800,17 +42765,13 @@ function eventsProcessed ()
|
|
|
42800
42765
|
{
|
|
42801
42766
|
if (childNode .getType () .at (-1) !== Base_X3DConstants .HAnimJoint)
|
|
42802
42767
|
{
|
|
42803
|
-
const
|
|
42804
|
-
siteNode = scene .createNode ("HAnimSite", false),
|
|
42805
|
-
segmentNode = scene .createNode ("HAnimSegment", false);
|
|
42768
|
+
const siteNode = scene .createNode ("HAnimSite", false);
|
|
42806
42769
|
|
|
42807
|
-
siteNode
|
|
42808
|
-
segmentNode ._children .push (siteNode);
|
|
42770
|
+
siteNode ._children .push (childNode);
|
|
42809
42771
|
|
|
42810
|
-
siteNode
|
|
42811
|
-
segmentNode .setup ();
|
|
42772
|
+
siteNode .setup ();
|
|
42812
42773
|
|
|
42813
|
-
return
|
|
42774
|
+
return siteNode;
|
|
42814
42775
|
}
|
|
42815
42776
|
else
|
|
42816
42777
|
{
|
|
@@ -47942,7 +47903,7 @@ const Bezier_default_ = Bezier;
|
|
|
47942
47903
|
|
|
47943
47904
|
/* harmony default export */ const Algorithms_Bezier = (x_ite_Namespace .add ("Bezier", Bezier_default_));
|
|
47944
47905
|
;// ./src/x_ite/Parser/SVGParser.js
|
|
47945
|
-
/* provided dependency */ var SVGParser_libtess = __webpack_require__(
|
|
47906
|
+
/* provided dependency */ var SVGParser_libtess = __webpack_require__(901);
|
|
47946
47907
|
|
|
47947
47908
|
|
|
47948
47909
|
|
|
@@ -54718,7 +54679,7 @@ function X3DCoreContext (element)
|
|
|
54718
54679
|
const link = document .createElement ("link");
|
|
54719
54680
|
|
|
54720
54681
|
if (!DEVELOPMENT)
|
|
54721
|
-
link .integrity = "sha384-
|
|
54682
|
+
link .integrity = "sha384-6OXJlHzXsf/wUqb6nZzYEmTdwO5SKkQn/PDr8Ax82LGFXKZqL7ojVZCBBNFnuYOt";
|
|
54722
54683
|
|
|
54723
54684
|
link .rel = "stylesheet";
|
|
54724
54685
|
link .crossOrigin = "anonymous";
|
|
@@ -57953,7 +57914,7 @@ Object .assign (Object .setPrototypeOf (X3DShapeNode .prototype, Core_X3DChildNo
|
|
|
57953
57914
|
{
|
|
57954
57915
|
case Rendering_TraverseType .POINTER:
|
|
57955
57916
|
{
|
|
57956
|
-
renderObject .addPointingShape (this);
|
|
57917
|
+
renderObject .addPointingShape (this, geometryContext);
|
|
57957
57918
|
break;
|
|
57958
57919
|
}
|
|
57959
57920
|
case Rendering_TraverseType .PICKING:
|
|
@@ -57963,20 +57924,20 @@ Object .assign (Object .setPrototypeOf (X3DShapeNode .prototype, Core_X3DChildNo
|
|
|
57963
57924
|
}
|
|
57964
57925
|
case Rendering_TraverseType .COLLISION:
|
|
57965
57926
|
{
|
|
57966
|
-
renderObject .addCollisionShape (this);
|
|
57927
|
+
renderObject .addCollisionShape (this, geometryContext);
|
|
57967
57928
|
break;
|
|
57968
57929
|
}
|
|
57969
57930
|
case Rendering_TraverseType .DEPTH:
|
|
57970
57931
|
case Rendering_TraverseType .SHADOW:
|
|
57971
57932
|
{
|
|
57972
|
-
renderObject .addDepthShape (this);
|
|
57933
|
+
renderObject .addDepthShape (this, geometryContext);
|
|
57973
57934
|
break;
|
|
57974
57935
|
}
|
|
57975
57936
|
case Rendering_TraverseType .DISPLAY:
|
|
57976
57937
|
{
|
|
57977
57938
|
// X3DAppearanceNode traverse is needed for rendered textures.
|
|
57978
57939
|
|
|
57979
|
-
if (renderObject .addDisplayShape (this))
|
|
57940
|
+
if (renderObject .addDisplayShape (this, geometryContext))
|
|
57980
57941
|
this .appearanceNode .traverse (type, renderObject);
|
|
57981
57942
|
|
|
57982
57943
|
break;
|
|
@@ -83940,13 +83901,14 @@ Object .assign (Object .setPrototypeOf (Inline .prototype, Core_X3DChildNode .pr
|
|
|
83940
83901
|
else
|
|
83941
83902
|
{
|
|
83942
83903
|
const
|
|
83943
|
-
globalLights
|
|
83944
|
-
|
|
83945
|
-
|
|
83946
|
-
|
|
83947
|
-
|
|
83948
|
-
|
|
83949
|
-
|
|
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 ());
|
|
83950
83912
|
|
|
83951
83913
|
if (numLocalObjects)
|
|
83952
83914
|
{
|
|
@@ -83991,8 +83953,9 @@ Object .assign (Object .setPrototypeOf (Inline .prototype, Core_X3DChildNode .pr
|
|
|
83991
83953
|
localLights .length = numGlobalLights;
|
|
83992
83954
|
this .localShadows = globalShadows .at (-1);
|
|
83993
83955
|
|
|
83994
|
-
globalLights
|
|
83995
|
-
|
|
83956
|
+
globalLights .length = globalsBegin;
|
|
83957
|
+
globalLightsKeys .length = globalsBegin;
|
|
83958
|
+
globalShadows .length = shadowsBegin;
|
|
83996
83959
|
}
|
|
83997
83960
|
|
|
83998
83961
|
return;
|
|
@@ -91593,8 +91556,8 @@ const PNGMedia_default_ = PNGMedia;
|
|
|
91593
91556
|
|
|
91594
91557
|
/* harmony default export */ const Texturing_PNGMedia = (x_ite_Namespace .add ("PNGMedia", PNGMedia_default_));
|
|
91595
91558
|
;// ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
91596
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
91597
|
-
/* provided dependency */ var APNG = __webpack_require__(
|
|
91559
|
+
/* provided dependency */ var SuperGif = __webpack_require__(23);
|
|
91560
|
+
/* provided dependency */ var APNG = __webpack_require__(197);
|
|
91598
91561
|
|
|
91599
91562
|
|
|
91600
91563
|
|
|
@@ -94238,7 +94201,7 @@ const QuickSort_default_ = QuickSort;
|
|
|
94238
94201
|
|
|
94239
94202
|
/* harmony default export */ const Algorithms_QuickSort = (x_ite_Namespace .add ("QuickSort", QuickSort_default_));
|
|
94240
94203
|
;// ./src/lib/libtess.js
|
|
94241
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
94204
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(901);
|
|
94242
94205
|
const libtess_default_ = libtess_libtess;
|
|
94243
94206
|
;
|
|
94244
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",
|