x_ite 16.0.4 → 16.0.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.
- 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 +1 -1
- package/dist/assets/components/GeospatialComponent.min.js +1 -1
- package/dist/assets/components/HAnimComponent.js +1 -1
- package/dist/assets/components/HAnimComponent.min.js +1 -1
- package/dist/assets/components/KeyDeviceSensorComponent.js +1 -1
- package/dist/assets/components/KeyDeviceSensorComponent.min.js +1 -1
- package/dist/assets/components/LayoutComponent.js +1 -3
- package/dist/assets/components/LayoutComponent.min.js +2 -2
- 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 +3 -5
- package/dist/assets/components/VolumeRenderingComponent.min.js +2 -2
- 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/README.md +0 -1
- package/dist/example.html +1 -1
- package/dist/x_ite.css +1 -1
- package/dist/x_ite.d.ts +7 -7
- package/dist/x_ite.js +38 -44
- package/dist/x_ite.min.js +2 -2
- package/dist/x_ite.min.mjs +2 -2
- package/dist/x_ite.mjs +38 -44
- package/dist/x_ite.zip +0 -0
- package/package.json +1 -1
package/dist/x_ite.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/* X_ITE v16.0.4 */:host,X3DCanvas{--red:#d71f1f;--orange-filter:brightness(0) saturate(100%) invert(71%) sepia(100%) saturate(1647%) hue-rotate(335deg) brightness(101%) contrast(101%);--text-color:#fff;--text-color-dark:#fff;--text-shadow-color:#000;--link-color:#ff9230;--logo-opacity:0.6;--progress-color:hsla(0,0%,100%,.5);--color1:#232528;--color2:#0d1015;--gradient:linear-gradient(180deg,rgba(35,37,40,.553) 0%,rgba(13,16,21,.831));--border:4px solid rgba(43,45,47,.675);--tint-color:rgba(0,0,0,.382);--icon-filter:none}@media (prefers-color-scheme:light){:host(:not([theme=dark])),X3DCanvas:not([theme=dark]){--red:#e12b2b;--orange-filter:brightness(0) saturate(100%) invert(71%) sepia(100%) saturate(2647%) hue-rotate(335deg) brightness(70%) contrast(121%);--text-color:#000;--text-shadow-color:#fff;--link-color:var(--red);--logo-opacity:0.8;--progress-color:rgba(0,0,0,.6);--color1:#f7f7fc;--color2:#dedde2;--gradient:linear-gradient(180deg,rgba(247,247,252,.642) 0%,hsla(252,8%,88%,.6));--border:4px solid rgba(229,229,234,.66);--tint-color:hsla(0,0%,100%,.382);--icon-filter:invert(100%)}}:host([theme=light]),X3DCanvas[theme=light]{--red:#e12b2b;--orange-filter:brightness(0) saturate(100%) invert(71%) sepia(100%) saturate(2647%) hue-rotate(335deg) brightness(70%) contrast(121%);--text-color:#000;--text-shadow-color:#fff;--link-color:var(--red);--logo-opacity:0.8;--progress-color:rgba(0,0,0,.6);--color1:#f7f7fc;--color2:#dedde2;--gradient:linear-gradient(180deg,rgba(247,247,252,.642) 0%,hsla(252,8%,88%,.6));--border:4px solid rgba(229,229,234,.66);--tint-color:hsla(0,0%,100%,.382);--icon-filter:invert(100%)}:host,X3DCanvas{border:0;border-radius:0;display:inline-block;height:150px;margin:0;outline:none;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;width:300px}:host([hidden]){display:none}:host(.x_ite-fullscreen),X3DCanvas.x_ite-fullscreen{height:100vh!important;width:100vw!important}X3DCanvas>:not(.x_ite-private-browser,.x_ite-private-menu){display:none}.x_ite-private-browser{overflow:hidden;position:relative;-webkit-user-select:none;user-select:none;width:100%}.x_ite-private-browser,.x_ite-private-canvas,.x_ite-private-surface{border:0;border-radius:0;height:100%;margin:0;outline:none;padding:0}.x_ite-private-canvas{display:block;width:100%}.x_ite-private-notification{backdrop-filter:blur(8px);background:var(--gradient);background-clip:padding-box;border:var(--border);border-radius:5px;color:var(--text-color);font-family:X_ITE PT Sans,sans-serif;font-size:10pt;letter-spacing:unset;line-height:1;padding:5px 5px 3px;pointer-events:none;position:absolute;right:-4px;top:20px;white-space:pre}.x_ite-private-notification span{background:url(assets/images/logo.svg) no-repeat top -1px left 0;background-size:17px 17px;display:inline-block;padding:0 24px 2px 20px;position:relative;top:-1px}.x_ite-private-browser-timings{backdrop-filter:blur(8px);background:var(--gradient);background-clip:padding-box;border-radius:5px;border-right:var(--border);border-top:var(--border);bottom:-4px;color:var(--text-color);font-family:X_ITE PT Sans,sans-serif;font-size:9pt;left:-4px;padding:7px 15px 14px 14px;pointer-events:none;position:absolute;white-space:pre}.x_ite-private-browser-timings :is(table,thead,tbody,tfoot,tr,th,td){background:none;border:0;border-radius:0;box-sizing:border-box;color:var(--text-color);font-size:inherit;font-style:normal;font-weight:400;letter-spacing:unset;line-height:1;margin:0;outline:0;padding:0;text-align:left}.x_ite-private-browser-timings table{border-collapse:separate;border-spacing:2px;empty-cells:show;max-width:100%;overflow:hidden;width:100%}.x_ite-private-browser-timings thead th{background:url(assets/images/schedule.svg) no-repeat -1px -1px;background-size:17px 17px;color:var(--text-color-dark);filter:var(--icon-filter);font-weight:700;padding-bottom:5px;padding-left:20px;padding-top:3px}.x_ite-private-browser-timings td:first-child{padding-right:10px}.x_ite-private-browser-timings table.more tr.x_ite-private-more td{padding-bottom:5px}.x_ite-private-browser-timings table.less tr.x_ite-private-more~tr{display:none}.x_ite-private-browser-timings td{padding-bottom:2px}.x_ite-private-browser-timings td.pointer{pointer-events:all}.x_ite-private-browser-timings tfoot td:first-child{padding-right:0}.x_ite-private-browser-timings tfoot td{padding-top:4px}.x_ite-private-browser-timings button{background:var(--tint-color);border:0;border-radius:10px;box-sizing:border-box;color:var(--text-color);cursor:pointer;font-family:X_ITE PT Sans,sans-serif;font-size:9pt;font-style:italic;height:14pt;letter-spacing:unset;line-height:1.1;padding:0;pointer-events:all;text-align:center;width:100%}.x_ite-private-world-info-overlay{inset:0;position:absolute}.x_ite-private-world-info{backdrop-filter:blur(8px);background:var(--gradient);background-clip:padding-box;border:var(--border);border-radius:15px;inset:0;margin:21pt;overflow-y:auto;padding:0 21pt 21pt;position:absolute}.x_ite-private-world-info .x_ite-private-world-info-buttons{border-bottom:4px solid var(--tint-color);margin-bottom:12pt}.x_ite-private-world-info button{background:none;border:none;color:var(--text-color);height:21pt;width:100pt}.x_ite-private-world-info button:hover{background-color:var(--tint-color)}.x_ite-private-world-info button.active{font-weight:700}.x_ite-private-world-info :is(.x_ite-private-world-info-top,.x_ite-private-world-info-title,.x_ite-private-world-info-info,p){background:none;border:0;border-radius:0;box-sizing:border-box;color:var(--text-color);font-family:X_ITE PT Sans,sans-serif;font-size:inherit;font-style:normal;font-weight:inherit;letter-spacing:unset;line-height:1.3;margin:0;outline:0;padding:0;text-align:left}.x_ite-private-world-info .x_ite-private-world-info-top{font-size:9pt;font-style:italic;font-weight:700;margin:.3em 0}.x_ite-private-world-info .x_ite-private-world-info-title{font-size:21pt;font-weight:700;margin:.3em 0;overflow-wrap:break-word;word-break:break-word}.x_ite-private-world-info .x_ite-private-world-info-info,.x_ite-private-world-info .x_ite-private-world-info-info p{font-size:14pt;margin:.5em 0;overflow-wrap:break-word;word-break:break-word}.x_ite-private-world-info table{border-collapse:collapse;line-height:1.3;margin:.5em 0;width:100%}.x_ite-private-world-info tr:nth-child(odd){background-color:var(--tint-color)}.x_ite-private-world-info td:first-child{min-width:60px}.x_ite-private-world-info td{color:var(--text-color);font-size:12pt;overflow-wrap:break-word;padding:4pt;vertical-align:top;word-break:break-word}.x_ite-private-world-info a{color:var(--link-color)}.x_ite-private-menu.context-menu-layer{inset:0;position:fixed;z-index:10000}.x_ite-private-menu .context-menu-list,.x_ite-private-menu.context-menu-list{border:4px solid transparent;border-radius:5px;box-sizing:border-box;color:var(--text-color);font-family:X_ITE PT Sans,sans-serif;font-size:10pt;line-height:1.2;list-style-type:none;margin:0 0 0 1px;min-width:120px;overscroll-behavior:none;padding:5px 10px 4px 9px;white-space:pre}.x_ite-private-menu.context-menu-list{isolation:isolate;position:fixed;z-index:10000}.x_ite-private-menu .context-menu-list{display:none;position:absolute;top:-13px}.x_ite-private-menu .context-menu-background{backdrop-filter:blur(8px);background:var(--gradient);background-clip:padding-box;border:var(--border);border-radius:5px;box-sizing:border-box;inset:0;margin:0 0 0 1px;min-width:120px;padding:5px 10px 9px 9px;position:absolute}.x_ite-private-menu .context-menu-item{border-radius:5px;cursor:pointer;font-size:10pt;letter-spacing:unset;line-height:1;margin:0;margin:0 4px;position:relative;text-align:left}.x_ite-private-menu .context-menu-item:first-of-type{margin-top:4px}.x_ite-private-menu .context-menu-item:last-of-type{margin-bottom:4px}.x_ite-private-menu .context-menu-item:hover:not(.context-menu-not-selectable){background-color:var(--red)}.x_ite-private-menu .context-menu-item:hover>.context-menu-list{display:block}.x_ite-private-menu .context-menu-not-selectable{cursor:default}.x_ite-private-menu .context-menu-separator{border-bottom:1px solid #8a8a8a;border-top:0;cursor:default;margin:2px 0;padding-bottom:0;padding-top:0}.x_ite-private-menu .context-menu-separator+.context-menu-separator{display:none!important}.x_ite-private-menu .context-menu-submenu:after{border-color:transparent transparent transparent #e8eaed;border-style:solid;border-width:4px 0 4px 5px;content:"";display:block;filter:var(--icon-filter);height:0;margin-right:2px;position:absolute;right:0;top:8px;width:0}.x_ite-private-menu .context-menu-item>span,.x_ite-private-menu label{display:block;padding:5px 24px;width:100%}.x_ite-private-menu label{box-sizing:border-box;cursor:pointer;font-size:10pt;font-weight:400;letter-spacing:unset;line-height:1;margin:0}.x_ite-private-menu label span{color:var(--text-color-dark);filter:var(--icon-filter)}.x_ite-private-menu label:has(>input[type=radio]:checked){font-weight:700}.x_ite-private-menu label>*{font-size:10pt;letter-spacing:unset;line-height:1;vertical-align:top}.x_ite-private-menu input{all:revert;appearance:none;cursor:pointer}.x_ite-private-menu input[type=checkbox],.x_ite-private-menu input[type=radio]{background:url(assets/images/radio_button_unchecked.svg) no-repeat left 0 top 0;background-size:17px 17px;display:inline;display:inline-block;filter:var(--icon-filter);height:17px;margin:0 0 0 -22px;padding:0;position:absolute;top:3px;width:17px}.x_ite-private-menu input:checked{filter:var(--orange-filter)}.x_ite-private-menu .context-menu-input:hover input:checked{filter:var(--icon-filter)}.x_ite-private-menu input[type=checkbox]:checked{background-image:url(assets/images/check_circle.svg)}.x_ite-private-menu input[type=radio]:checked{background-image:url(assets/images/radio_button_checked.svg)}.x_ite-private-menu span{padding-left:0}.x_ite-private-menu .context-menu-title{font-weight:700}.x_ite-private-menu .context-menu-icon>span{background-position:2px 3px;background-repeat:no-repeat;background-size:17px 17px;color:var(--text-color-dark);display:block;filter:var(--icon-filter)}.x_ite-private-menu .context-menu-icon.x_ite-private-icon-logo>span{background-image:url(assets/images/logo.svg);background-position:2px 4px;color:var(--text-color);filter:none}.x_ite-private-icon-viewpoint>span{background-image:url(assets/images/eye_tracking.svg)}.x_ite-private-menu .x_ite-private-viewpoint input{background-image:none}.x_ite-private-menu .x_ite-private-viewpoint input:checked{background-image:url(assets/images/visibility.svg)}.x_ite-private-icon-viewer>span{background-image:url(assets/images/stadia_controller.svg)}.x_ite-private-menu .x_ite-private-examine-viewer :is(input,input:checked){background-image:url(assets/images/language.svg)}.x_ite-private-menu .x_ite-private-walk-viewer :is(input,input:checked){background-image:url(assets/images/directions_run.svg)}.x_ite-private-menu .x_ite-private-fly-viewer :is(input,input:checked){background-image:url(assets/images/travel.svg)}.x_ite-private-menu .x_ite-private-plane-viewer :is(input,input:checked){background-image:url(assets/images/border_all.svg)}.x_ite-private-menu .x_ite-private-lookat-viewer :is(input,input:checked){background-image:url(assets/images/point_scan.svg)}.x_ite-private-menu .x_ite-private-none-viewer :is(input,input:checked){background-image:url(assets/images/block.svg)}.x_ite-private-icon-primitive-quality>span{background-image:url(assets/images/hexagon.svg)}.x_ite-private-icon-texture-quality>span{background-image:url(assets/images/texture.svg)}.x_ite-private-icon-shading>span{background-image:url(assets/images/stroke_partial.svg)}.x_ite-private-icon-animations>span{background-image:url(assets/images/animation.svg)}.x_ite-private-icon-play>span{background-image:url(assets/images/play_circle.svg)}.x_ite-private-icon-stop>span{background-image:url(assets/images/stop_circle.svg)}.x_ite-private-icon-enter-fullscreen>span{background-image:url(assets/images/fullscreen.svg)}.x_ite-private-icon-leave-fullscreen>span{background-image:url(assets/images/fullscreen_exit.svg)}.x_ite-private-icon-world-info>span{background-image:url(assets/images/globe.svg)}.x_ite-private-icon-info>span{background-image:url(assets/images/info.svg)}.x_ite-private-splash-screen{background:radial-gradient(ellipse at center,var(--color1) 0,var(--color2) 100%);inset:0;pointer-events:none;position:absolute}.x_ite-private-spinner{--size:160px;--center-x:calc(var(--size)*0.44727);--center-y:calc(var(--size)*0.52637);animation:x_ite-spinner-animation 32s linear infinite;background:url(assets/images/logo.svg) no-repeat;background-size:var(--size) var(--size);height:var(--size);left:calc(50% - var(--size)/2 + var(--size)/2 - var(--center-x));opacity:var(--logo-opacity);position:absolute;top:calc(50% - var(--size)/2 + var(--size)/2 - var(--center-y));transform-origin:var(--center-x) var(--center-y);width:var(--size)}@keyframes x_ite-spinner-animation{to{transform:rotate(1turn)}}.x_ite-private-progress{left:calc(50% - 100px);position:absolute;top:calc(50% - 39pt);width:200px}.x_ite-private-x_ite{color:var(--text-color);font-family:X_ITE PT Sans,sans-serif;font-size:28pt;text-align:center;text-shadow:1px 1px 0 var(--text-shadow-color)}.x_ite-private-x_ite b{font-family:X_ITE PT Sans,sans-serif;font-weight:700}.x_ite-private-spinner-text{color:var(--text-color);font-family:X_ITE PT Sans,sans-serif;font-size:11pt;text-align:center;text-shadow:1px 1px 0 var(--text-shadow-color)}.x_ite-private-progressbar{border-left:2px solid var(--progress-color);border-right:2px solid var(--progress-color);margin:8px;padding:0 2px;text-align:left}.x_ite-private-progressbar div{background:var(--progress-color);height:6px;width:0}.x_ite-private-buttons{bottom:10px;display:flex;gap:8px;height:18px;position:absolute;right:10px}.x_ite-private-button{align-self:center;background:no-repeat;cursor:pointer;transition:transform .2s ease-in-out}.x_ite-private-button:hover{transform:scale(1.2)}.x_ite-private-no-sound-button{background-image:url(assets/images/no_sound.svg);background-size:32px 32px;height:32px;order:1;width:32px}.x_ite-private-xr-button{background-image:url(assets/images/xr.svg);height:18px;order:2;width:32px}.x_ite-private-hidden{opacity:0;visibility:hidden}.x_ite-private-fade-out-splash-screen{opacity:0;transition:visibility 0s .2s,opacity .2s ease-in-out;visibility:hidden}.x_ite-private-fade-in-300{opacity:1;transition:opacity .3s ease-in-out;visibility:visible}.x_ite-private-fade-out-300{opacity:0;transition:visibility 0s .3s,opacity .3s ease-in-out;visibility:hidden}
|
|
1
|
+
/* X_ITE v16.0.5 */:host,X3DCanvas{--red:#d71f1f;--orange-filter:brightness(0) saturate(100%) invert(71%) sepia(100%) saturate(1647%) hue-rotate(335deg) brightness(101%) contrast(101%);--text-color:#fff;--text-color-dark:#fff;--text-shadow-color:#000;--link-color:#ff9230;--logo-opacity:0.6;--progress-color:hsla(0,0%,100%,.5);--color1:#232528;--color2:#0d1015;--gradient:linear-gradient(180deg,rgba(35,37,40,.553) 0%,rgba(13,16,21,.831));--border:4px solid rgba(43,45,47,.675);--tint-color:rgba(0,0,0,.382);--icon-filter:none}@media (prefers-color-scheme:light){:host(:not([theme=dark])),X3DCanvas:not([theme=dark]){--red:#e12b2b;--orange-filter:brightness(0) saturate(100%) invert(71%) sepia(100%) saturate(2647%) hue-rotate(335deg) brightness(70%) contrast(121%);--text-color:#000;--text-shadow-color:#fff;--link-color:var(--red);--logo-opacity:0.8;--progress-color:rgba(0,0,0,.6);--color1:#f7f7fc;--color2:#dedde2;--gradient:linear-gradient(180deg,rgba(247,247,252,.642) 0%,hsla(252,8%,88%,.6));--border:4px solid rgba(229,229,234,.66);--tint-color:hsla(0,0%,100%,.382);--icon-filter:invert(100%)}}:host([theme=light]),X3DCanvas[theme=light]{--red:#e12b2b;--orange-filter:brightness(0) saturate(100%) invert(71%) sepia(100%) saturate(2647%) hue-rotate(335deg) brightness(70%) contrast(121%);--text-color:#000;--text-shadow-color:#fff;--link-color:var(--red);--logo-opacity:0.8;--progress-color:rgba(0,0,0,.6);--color1:#f7f7fc;--color2:#dedde2;--gradient:linear-gradient(180deg,rgba(247,247,252,.642) 0%,hsla(252,8%,88%,.6));--border:4px solid rgba(229,229,234,.66);--tint-color:hsla(0,0%,100%,.382);--icon-filter:invert(100%)}:host,X3DCanvas{border:0;border-radius:0;display:inline-block;height:150px;margin:0;outline:none;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;width:300px}:host([hidden]){display:none}:host(.x_ite-fullscreen),X3DCanvas.x_ite-fullscreen{height:100vh!important;width:100vw!important}X3DCanvas>:not(.x_ite-private-browser,.x_ite-private-menu){display:none}.x_ite-private-browser{overflow:hidden;position:relative;-webkit-user-select:none;user-select:none;width:100%}.x_ite-private-browser,.x_ite-private-canvas,.x_ite-private-surface{border:0;border-radius:0;height:100%;margin:0;outline:none;padding:0}.x_ite-private-canvas{display:block;width:100%}.x_ite-private-notification{backdrop-filter:blur(8px);background:var(--gradient);background-clip:padding-box;border:var(--border);border-radius:5px;color:var(--text-color);font-family:X_ITE PT Sans,sans-serif;font-size:10pt;letter-spacing:unset;line-height:1;padding:5px 5px 3px;pointer-events:none;position:absolute;right:-4px;top:20px;white-space:pre}.x_ite-private-notification span{background:url(assets/images/logo.svg) no-repeat top -1px left 0;background-size:17px 17px;display:inline-block;padding:0 24px 2px 20px;position:relative;top:-1px}.x_ite-private-browser-timings{backdrop-filter:blur(8px);background:var(--gradient);background-clip:padding-box;border-radius:5px;border-right:var(--border);border-top:var(--border);bottom:-4px;color:var(--text-color);font-family:X_ITE PT Sans,sans-serif;font-size:9pt;left:-4px;padding:7px 15px 14px 14px;pointer-events:none;position:absolute;white-space:pre}.x_ite-private-browser-timings :is(table,thead,tbody,tfoot,tr,th,td){background:none;border:0;border-radius:0;box-sizing:border-box;color:var(--text-color);font-size:inherit;font-style:normal;font-weight:400;letter-spacing:unset;line-height:1;margin:0;outline:0;padding:0;text-align:left}.x_ite-private-browser-timings table{border-collapse:separate;border-spacing:2px;empty-cells:show;max-width:100%;overflow:hidden;width:100%}.x_ite-private-browser-timings thead th{background:url(assets/images/schedule.svg) no-repeat -1px -1px;background-size:17px 17px;color:var(--text-color-dark);filter:var(--icon-filter);font-weight:700;padding-bottom:5px;padding-left:20px;padding-top:3px}.x_ite-private-browser-timings td:first-child{padding-right:10px}.x_ite-private-browser-timings table.more tr.x_ite-private-more td{padding-bottom:5px}.x_ite-private-browser-timings table.less tr.x_ite-private-more~tr{display:none}.x_ite-private-browser-timings td{padding-bottom:2px}.x_ite-private-browser-timings td.pointer{pointer-events:all}.x_ite-private-browser-timings tfoot td:first-child{padding-right:0}.x_ite-private-browser-timings tfoot td{padding-top:4px}.x_ite-private-browser-timings button{background:var(--tint-color);border:0;border-radius:10px;box-sizing:border-box;color:var(--text-color);cursor:pointer;font-family:X_ITE PT Sans,sans-serif;font-size:9pt;font-style:italic;height:14pt;letter-spacing:unset;line-height:1.1;padding:0;pointer-events:all;text-align:center;width:100%}.x_ite-private-world-info-overlay{inset:0;position:absolute}.x_ite-private-world-info{backdrop-filter:blur(8px);background:var(--gradient);background-clip:padding-box;border:var(--border);border-radius:15px;inset:0;margin:21pt;overflow-y:auto;padding:0 21pt 21pt;position:absolute}.x_ite-private-world-info .x_ite-private-world-info-buttons{border-bottom:4px solid var(--tint-color);margin-bottom:12pt}.x_ite-private-world-info button{background:none;border:none;color:var(--text-color);height:21pt;width:100pt}.x_ite-private-world-info button:hover{background-color:var(--tint-color)}.x_ite-private-world-info button.active{font-weight:700}.x_ite-private-world-info :is(.x_ite-private-world-info-top,.x_ite-private-world-info-title,.x_ite-private-world-info-info,p){background:none;border:0;border-radius:0;box-sizing:border-box;color:var(--text-color);font-family:X_ITE PT Sans,sans-serif;font-size:inherit;font-style:normal;font-weight:inherit;letter-spacing:unset;line-height:1.3;margin:0;outline:0;padding:0;text-align:left}.x_ite-private-world-info .x_ite-private-world-info-top{font-size:9pt;font-style:italic;font-weight:700;margin:.3em 0}.x_ite-private-world-info .x_ite-private-world-info-title{font-size:21pt;font-weight:700;margin:.3em 0;overflow-wrap:break-word;word-break:break-word}.x_ite-private-world-info .x_ite-private-world-info-info,.x_ite-private-world-info .x_ite-private-world-info-info p{font-size:14pt;margin:.5em 0;overflow-wrap:break-word;word-break:break-word}.x_ite-private-world-info table{border-collapse:collapse;line-height:1.3;margin:.5em 0;width:100%}.x_ite-private-world-info tr:nth-child(odd){background-color:var(--tint-color)}.x_ite-private-world-info td:first-child{min-width:60px}.x_ite-private-world-info td{color:var(--text-color);font-size:12pt;overflow-wrap:break-word;padding:4pt;vertical-align:top;word-break:break-word}.x_ite-private-world-info a{color:var(--link-color)}.x_ite-private-menu.context-menu-layer{inset:0;position:fixed;z-index:10000}.x_ite-private-menu .context-menu-list,.x_ite-private-menu.context-menu-list{border:4px solid transparent;border-radius:5px;box-sizing:border-box;color:var(--text-color);font-family:X_ITE PT Sans,sans-serif;font-size:10pt;line-height:1.2;list-style-type:none;margin:0 0 0 1px;min-width:120px;overscroll-behavior:none;padding:5px 10px 4px 9px;white-space:pre}.x_ite-private-menu.context-menu-list{isolation:isolate;position:fixed;z-index:10000}.x_ite-private-menu .context-menu-list{display:none;position:absolute;top:-13px}.x_ite-private-menu .context-menu-background{backdrop-filter:blur(8px);background:var(--gradient);background-clip:padding-box;border:var(--border);border-radius:5px;box-sizing:border-box;inset:0;margin:0 0 0 1px;min-width:120px;padding:5px 10px 9px 9px;position:absolute}.x_ite-private-menu .context-menu-item{border-radius:5px;cursor:pointer;font-size:10pt;letter-spacing:unset;line-height:1;margin:0;margin:0 4px;position:relative;text-align:left}.x_ite-private-menu .context-menu-item:first-of-type{margin-top:4px}.x_ite-private-menu .context-menu-item:last-of-type{margin-bottom:4px}.x_ite-private-menu .context-menu-item:hover:not(.context-menu-not-selectable){background-color:var(--red)}.x_ite-private-menu .context-menu-item:hover>.context-menu-list{display:block}.x_ite-private-menu .context-menu-not-selectable{cursor:default}.x_ite-private-menu .context-menu-separator{border-bottom:1px solid #8a8a8a;border-top:0;cursor:default;margin:2px 0;padding-bottom:0;padding-top:0}.x_ite-private-menu .context-menu-separator+.context-menu-separator{display:none!important}.x_ite-private-menu .context-menu-submenu:after{border-color:transparent transparent transparent #e8eaed;border-style:solid;border-width:4px 0 4px 5px;content:"";display:block;filter:var(--icon-filter);height:0;margin-right:2px;position:absolute;right:0;top:8px;width:0}.x_ite-private-menu .context-menu-item>span,.x_ite-private-menu label{display:block;padding:5px 24px;width:100%}.x_ite-private-menu label{box-sizing:border-box;cursor:pointer;font-size:10pt;font-weight:400;letter-spacing:unset;line-height:1;margin:0}.x_ite-private-menu label span{color:var(--text-color-dark);filter:var(--icon-filter)}.x_ite-private-menu label:has(>input[type=radio]:checked){font-weight:700}.x_ite-private-menu label>*{font-size:10pt;letter-spacing:unset;line-height:1;vertical-align:top}.x_ite-private-menu input{all:revert;appearance:none;cursor:pointer}.x_ite-private-menu input[type=checkbox],.x_ite-private-menu input[type=radio]{background:url(assets/images/radio_button_unchecked.svg) no-repeat left 0 top 0;background-size:17px 17px;display:inline;display:inline-block;filter:var(--icon-filter);height:17px;margin:0 0 0 -22px;padding:0;position:absolute;top:3px;width:17px}.x_ite-private-menu input:checked{filter:var(--orange-filter)}.x_ite-private-menu .context-menu-input:hover input:checked{filter:var(--icon-filter)}.x_ite-private-menu input[type=checkbox]:checked{background-image:url(assets/images/check_circle.svg)}.x_ite-private-menu input[type=radio]:checked{background-image:url(assets/images/radio_button_checked.svg)}.x_ite-private-menu span{padding-left:0}.x_ite-private-menu .context-menu-title{font-weight:700}.x_ite-private-menu .context-menu-icon>span{background-position:2px 3px;background-repeat:no-repeat;background-size:17px 17px;color:var(--text-color-dark);display:block;filter:var(--icon-filter)}.x_ite-private-menu .context-menu-icon.x_ite-private-icon-logo>span{background-image:url(assets/images/logo.svg);background-position:2px 4px;color:var(--text-color);filter:none}.x_ite-private-icon-viewpoint>span{background-image:url(assets/images/eye_tracking.svg)}.x_ite-private-menu .x_ite-private-viewpoint input{background-image:none}.x_ite-private-menu .x_ite-private-viewpoint input:checked{background-image:url(assets/images/visibility.svg)}.x_ite-private-icon-viewer>span{background-image:url(assets/images/stadia_controller.svg)}.x_ite-private-menu .x_ite-private-examine-viewer :is(input,input:checked){background-image:url(assets/images/language.svg)}.x_ite-private-menu .x_ite-private-walk-viewer :is(input,input:checked){background-image:url(assets/images/directions_run.svg)}.x_ite-private-menu .x_ite-private-fly-viewer :is(input,input:checked){background-image:url(assets/images/travel.svg)}.x_ite-private-menu .x_ite-private-plane-viewer :is(input,input:checked){background-image:url(assets/images/border_all.svg)}.x_ite-private-menu .x_ite-private-lookat-viewer :is(input,input:checked){background-image:url(assets/images/point_scan.svg)}.x_ite-private-menu .x_ite-private-none-viewer :is(input,input:checked){background-image:url(assets/images/block.svg)}.x_ite-private-icon-primitive-quality>span{background-image:url(assets/images/hexagon.svg)}.x_ite-private-icon-texture-quality>span{background-image:url(assets/images/texture.svg)}.x_ite-private-icon-shading>span{background-image:url(assets/images/stroke_partial.svg)}.x_ite-private-icon-animations>span{background-image:url(assets/images/animation.svg)}.x_ite-private-icon-play>span{background-image:url(assets/images/play_circle.svg)}.x_ite-private-icon-stop>span{background-image:url(assets/images/stop_circle.svg)}.x_ite-private-icon-enter-fullscreen>span{background-image:url(assets/images/fullscreen.svg)}.x_ite-private-icon-leave-fullscreen>span{background-image:url(assets/images/fullscreen_exit.svg)}.x_ite-private-icon-world-info>span{background-image:url(assets/images/globe.svg)}.x_ite-private-icon-info>span{background-image:url(assets/images/info.svg)}.x_ite-private-splash-screen{background:radial-gradient(ellipse at center,var(--color1) 0,var(--color2) 100%);inset:0;pointer-events:none;position:absolute}.x_ite-private-spinner{--size:160px;--center-x:calc(var(--size)*0.44727);--center-y:calc(var(--size)*0.52637);animation:x_ite-spinner-animation 32s linear infinite;background:url(assets/images/logo.svg) no-repeat;background-size:var(--size) var(--size);height:var(--size);left:calc(50% - var(--size)/2 + var(--size)/2 - var(--center-x));opacity:var(--logo-opacity);position:absolute;top:calc(50% - var(--size)/2 + var(--size)/2 - var(--center-y));transform-origin:var(--center-x) var(--center-y);width:var(--size)}@keyframes x_ite-spinner-animation{to{transform:rotate(1turn)}}.x_ite-private-progress{left:calc(50% - 100px);position:absolute;top:calc(50% - 39pt);width:200px}.x_ite-private-x_ite{color:var(--text-color);font-family:X_ITE PT Sans,sans-serif;font-size:28pt;text-align:center;text-shadow:1px 1px 0 var(--text-shadow-color)}.x_ite-private-x_ite b{font-family:X_ITE PT Sans,sans-serif;font-weight:700}.x_ite-private-spinner-text{color:var(--text-color);font-family:X_ITE PT Sans,sans-serif;font-size:11pt;text-align:center;text-shadow:1px 1px 0 var(--text-shadow-color)}.x_ite-private-progressbar{border-left:2px solid var(--progress-color);border-right:2px solid var(--progress-color);margin:8px;padding:0 2px;text-align:left}.x_ite-private-progressbar div{background:var(--progress-color);height:6px;width:0}.x_ite-private-buttons{bottom:10px;display:flex;gap:8px;height:18px;position:absolute;right:10px}.x_ite-private-button{align-self:center;background:no-repeat;cursor:pointer;transition:transform .2s ease-in-out}.x_ite-private-button:hover{transform:scale(1.2)}.x_ite-private-no-sound-button{background-image:url(assets/images/no_sound.svg);background-size:32px 32px;height:32px;order:1;width:32px}.x_ite-private-xr-button{background-image:url(assets/images/xr.svg);height:18px;order:2;width:32px}.x_ite-private-hidden{opacity:0;visibility:hidden}.x_ite-private-fade-out-splash-screen{opacity:0;transition:visibility 0s .2s,opacity .2s ease-in-out;visibility:hidden}.x_ite-private-fade-in-300{opacity:1;transition:opacity .3s ease-in-out;visibility:visible}.x_ite-private-fade-out-300{opacity:0;transition:visibility 0s .3s,opacity .3s ease-in-out;visibility:hidden}
|
package/dist/x_ite.d.ts
CHANGED
|
@@ -8868,7 +8868,7 @@ declare namespace X3D
|
|
|
8868
8868
|
*/
|
|
8869
8869
|
metadata: X3DMetadataObjectProxy | null;
|
|
8870
8870
|
/**
|
|
8871
|
-
* The
|
|
8871
|
+
* The opacities field defines the opacity of each individual Gaussian splat.
|
|
8872
8872
|
*
|
|
8873
8873
|
* This field is of access type 'inputOutput' and type MFFloat.
|
|
8874
8874
|
*/
|
|
@@ -12569,7 +12569,7 @@ declare namespace X3D
|
|
|
12569
12569
|
trackCurrentView: boolean;
|
|
12570
12570
|
}
|
|
12571
12571
|
|
|
12572
|
-
/** LoadSensor generates events as watchList child nodes are either loaded or fail to load. */
|
|
12572
|
+
/** LoadSensor generates events as children (watchList in X3Dv3) child nodes are either loaded or fail to load. */
|
|
12573
12573
|
interface LoadSensorProxy extends X3DNetworkSensorNodeProxy
|
|
12574
12574
|
{
|
|
12575
12575
|
/**
|
|
@@ -12597,7 +12597,7 @@ declare namespace X3D
|
|
|
12597
12597
|
*/
|
|
12598
12598
|
readonly isActive: boolean;
|
|
12599
12599
|
/**
|
|
12600
|
-
* Notify when all watchList child nodes are loaded, or at least one has failed.
|
|
12600
|
+
* Notify when all children/watchList child nodes are loaded, or at least one has failed.
|
|
12601
12601
|
*
|
|
12602
12602
|
* This field is of access type 'outputOnly' and type SFBool.
|
|
12603
12603
|
*/
|
|
@@ -13069,7 +13069,7 @@ declare namespace X3D
|
|
|
13069
13069
|
*/
|
|
13070
13070
|
reference: string;
|
|
13071
13071
|
/**
|
|
13072
|
-
* The value field provides a list of X3DMetadataObject nodes whose meaning is determined by
|
|
13072
|
+
* The value field provides a list of X3DMetadataObject nodes whose meaning is each determined by their respective name field.
|
|
13073
13073
|
*
|
|
13074
13074
|
* This field is of access type 'inputOutput' and type MFNode.
|
|
13075
13075
|
*/
|
|
@@ -13528,7 +13528,7 @@ declare namespace X3D
|
|
|
13528
13528
|
*
|
|
13529
13529
|
* This field is of access type 'inputOutput' and type MFString.
|
|
13530
13530
|
*/
|
|
13531
|
-
function: MFString <"COMPLEMENT" | "
|
|
13531
|
+
function: MFString <"COMPLEMENT" | "ALPHA_REPLICATE" | "">;
|
|
13532
13532
|
/**
|
|
13533
13533
|
* Information about this node can be contained in a MetadataBoolean, MetadataDouble, MetadataFloat, MetadataInteger, MetadataString or MetadataSet node.
|
|
13534
13534
|
*
|
|
@@ -13540,7 +13540,7 @@ declare namespace X3D
|
|
|
13540
13540
|
*
|
|
13541
13541
|
* This field is of access type 'inputOutput' and type MFString.
|
|
13542
13542
|
*/
|
|
13543
|
-
mode: MFString <"ADD" | "
|
|
13543
|
+
mode: MFString <"ADD" | "ADD_SIGNED" | "ADD_SIGNED_2X" | "ADD_SMOOTH" | "BLEND_CURRENT_ALPHA" | "BLEND_DIFFUSE_ALPHA" | "BLEND_FACTOR_ALPHA" | "BLEND_TEXTURE_ALPHA" | "DOT_PRODUCT_3" | "MODULATE" | "MODULATE_2X" | "MODULATE_4X" | "MODULATE_ALPHA_ADD_COLOR" | "MODULATE_INV_ALPHA_ADD_COLOR" | "MODULATE_INV_COLOR_ADD_ALPHA" | "OFF" | "REPLACE" | "SELECT_ARG1" | "SELECT_ARG2" | "SUBTRACT">;
|
|
13544
13544
|
/**
|
|
13545
13545
|
* source field determines whether each image source is treated as DIFFUSE, SPECULAR or a multiplicative FACTOR.
|
|
13546
13546
|
*
|
|
@@ -19490,7 +19490,7 @@ declare namespace X3D
|
|
|
19490
19490
|
*
|
|
19491
19491
|
* This field is of access type 'inputOutput' and type SFString.
|
|
19492
19492
|
*/
|
|
19493
|
-
mode: "SPHERE" | "
|
|
19493
|
+
mode: "SPHERE" | "CAMERA_SPACE_NORMAL" | "CAMERA_SPACE_POSITION" | "CAMERA_SPACE_REFLECTION_VECTOR" | "SPHERE_LOCAL" | "COORD" | "COORD_EYE" | "NOISE" | "NOISE_EYE" | "SPHERE_REFLECT" | "SPHERE_REFLECT_LOCAL";
|
|
19494
19494
|
/**
|
|
19495
19495
|
* parameter array contains scale and translation (x y z) values for Perlin NOISE mode, parameter[0] contains index of refraction for SPHERE-REFLECT mode, parameter[0] contains index of refraction and parameter[1 to 3] contains the eye point in local coordinates for SPHERE-REFLECT-LOCAL mode.
|
|
19496
19496
|
*
|
package/dist/x_ite.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* X_ITE v16.0.
|
|
1
|
+
/* X_ITE v16.0.5 */
|
|
2
2
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
3
3
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
4
4
|
module.exports = factory();
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
return /******/ (() => { // webpackBootstrap
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 998
|
|
16
16
|
(module, exports) {
|
|
17
17
|
|
|
18
18
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*
|
|
@@ -1017,7 +1017,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
|
|
|
1017
1017
|
|
|
1018
1018
|
/***/ },
|
|
1019
1019
|
|
|
1020
|
-
/***/
|
|
1020
|
+
/***/ 844
|
|
1021
1021
|
(module) {
|
|
1022
1022
|
|
|
1023
1023
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -2013,7 +2013,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
2013
2013
|
|
|
2014
2014
|
/***/ },
|
|
2015
2015
|
|
|
2016
|
-
/***/
|
|
2016
|
+
/***/ 728
|
|
2017
2017
|
(module) {
|
|
2018
2018
|
|
|
2019
2019
|
/**
|
|
@@ -18846,7 +18846,7 @@ const Legacy_default_ = Legacy;
|
|
|
18846
18846
|
|
|
18847
18847
|
/* harmony default export */ const Browser_Legacy = (x_ite_Namespace .add ("Legacy", Legacy_default_));
|
|
18848
18848
|
;// ./src/x_ite/BROWSER_VERSION.js
|
|
18849
|
-
const BROWSER_VERSION_default_ = "16.0.
|
|
18849
|
+
const BROWSER_VERSION_default_ = "16.0.5";
|
|
18850
18850
|
;
|
|
18851
18851
|
|
|
18852
18852
|
/* harmony default export */ const BROWSER_VERSION = (x_ite_Namespace .add ("BROWSER_VERSION", BROWSER_VERSION_default_));
|
|
@@ -20467,7 +20467,7 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
|
|
|
20467
20467
|
layer .addEventListener ("mousedown", () => this .hide ());
|
|
20468
20468
|
layer .addEventListener ("contextmenu", () => this .hide ());
|
|
20469
20469
|
|
|
20470
|
-
root .
|
|
20470
|
+
root .append (layer);
|
|
20471
20471
|
|
|
20472
20472
|
this [_hide] = () =>
|
|
20473
20473
|
{
|
|
@@ -20496,16 +20496,16 @@ Object .assign (Object .setPrototypeOf (ContextMenu .prototype, Base_X3DBaseNode
|
|
|
20496
20496
|
|
|
20497
20497
|
ul .addEventListener ("contextmenu", () => this .hide ());
|
|
20498
20498
|
|
|
20499
|
-
root .
|
|
20499
|
+
root .append (ul);
|
|
20500
20500
|
|
|
20501
20501
|
const background = document .createElement ("div");
|
|
20502
20502
|
|
|
20503
20503
|
background .classList .add ("context-menu-background");
|
|
20504
20504
|
|
|
20505
|
-
ul .
|
|
20505
|
+
ul .append (background);
|
|
20506
20506
|
|
|
20507
20507
|
for (const k in menu .items)
|
|
20508
|
-
ul .
|
|
20508
|
+
ul .append (this .createItem (menu .items [k], "context-menu-root", k, level + 1));
|
|
20509
20509
|
|
|
20510
20510
|
// Show
|
|
20511
20511
|
// Must animate children because of blurish background.
|
|
@@ -30339,8 +30339,8 @@ Object .assign (Object .setPrototypeOf (JSONParser .prototype, Parser_X3DParser
|
|
|
30339
30339
|
createCDATA (document, element, str)
|
|
30340
30340
|
{
|
|
30341
30341
|
const
|
|
30342
|
-
|
|
30343
|
-
cdata =
|
|
30342
|
+
root = helper.parseXML ("<xml></xml>",),
|
|
30343
|
+
cdata = root .createCDATASection (str);
|
|
30344
30344
|
|
|
30345
30345
|
element .append (cdata);
|
|
30346
30346
|
},
|
|
@@ -30385,7 +30385,6 @@ Object .assign (Object .setPrototypeOf (JSONParser .prototype, Parser_X3DParser
|
|
|
30385
30385
|
this .convertToDOM (object [key] [childkey], childkey, child);
|
|
30386
30386
|
|
|
30387
30387
|
element .append (child);
|
|
30388
|
-
element .append (document .createTextNode ("\n"));
|
|
30389
30388
|
}
|
|
30390
30389
|
}
|
|
30391
30390
|
}
|
|
@@ -30396,7 +30395,6 @@ Object .assign (Object .setPrototypeOf (JSONParser .prototype, Parser_X3DParser
|
|
|
30396
30395
|
this .convertToDOM (object [key], key, child);
|
|
30397
30396
|
|
|
30398
30397
|
element .append (child);
|
|
30399
|
-
element .append (document .createTextNode ("\n"));
|
|
30400
30398
|
}
|
|
30401
30399
|
}
|
|
30402
30400
|
},
|
|
@@ -31133,7 +31131,7 @@ const Plane3_default_ = Plane3;
|
|
|
31133
31131
|
|
|
31134
31132
|
/* harmony default export */ const Geometry_Plane3 = (x_ite_Namespace .add ("Plane3", Plane3_default_));
|
|
31135
31133
|
;// ./src/standard/Math/Geometry/Triangle3.js
|
|
31136
|
-
/* provided dependency */ var libtess = __webpack_require__(
|
|
31134
|
+
/* provided dependency */ var libtess = __webpack_require__(728);
|
|
31137
31135
|
|
|
31138
31136
|
|
|
31139
31137
|
const Triangle3 =
|
|
@@ -47763,7 +47761,7 @@ const Bezier_default_ = Bezier;
|
|
|
47763
47761
|
|
|
47764
47762
|
/* harmony default export */ const Algorithms_Bezier = (x_ite_Namespace .add ("Bezier", Bezier_default_));
|
|
47765
47763
|
;// ./src/x_ite/Parser/SVGParser.js
|
|
47766
|
-
/* provided dependency */ var SVGParser_libtess = __webpack_require__(
|
|
47764
|
+
/* provided dependency */ var SVGParser_libtess = __webpack_require__(728);
|
|
47767
47765
|
|
|
47768
47766
|
|
|
47769
47767
|
|
|
@@ -54455,7 +54453,7 @@ function X3DCoreContext (element)
|
|
|
54455
54453
|
{
|
|
54456
54454
|
const link = document .createElement ("link");
|
|
54457
54455
|
|
|
54458
|
-
link .integrity = "sha384-
|
|
54456
|
+
link .integrity = "sha384-z3n/GOGoKsMpVZSKJ93fURwkAP+Pc26L4fyoX8sqfSjRbaqYaOKMzV8xyfYFto4R";
|
|
54459
54457
|
link .rel = "stylesheet";
|
|
54460
54458
|
link .crossOrigin = "anonymous";
|
|
54461
54459
|
link .onload = resolve;
|
|
@@ -55246,13 +55244,13 @@ Object .assign (Object .setPrototypeOf (TextureProperties .prototype, Core_X3DNo
|
|
|
55246
55244
|
{
|
|
55247
55245
|
const minificationFilters = new Map ([
|
|
55248
55246
|
["AVG_PIXEL_AVG_MIPMAP", ["LINEAR", "LINEAR_MIPMAP_LINEAR"]],
|
|
55249
|
-
["AVG_PIXEL", ["LINEAR", "LINEAR"]],
|
|
55250
55247
|
["AVG_PIXEL_NEAREST_MIPMAP", ["LINEAR", "LINEAR_MIPMAP_NEAREST"]],
|
|
55251
55248
|
["NEAREST_PIXEL_AVG_MIPMAP", ["NEAREST", "NEAREST_MIPMAP_LINEAR"]],
|
|
55252
55249
|
["NEAREST_PIXEL_NEAREST_MIPMAP", ["NEAREST", "NEAREST_MIPMAP_NEAREST"]],
|
|
55250
|
+
["AVG_PIXEL", ["LINEAR", "LINEAR"]],
|
|
55253
55251
|
["NEAREST_PIXEL", ["NEAREST", "NEAREST"]],
|
|
55254
55252
|
["NICEST", ["LINEAR", "LINEAR_MIPMAP_LINEAR"]],
|
|
55255
|
-
["FASTEST", ["NEAREST", "
|
|
55253
|
+
["FASTEST", ["NEAREST", "NEAREST_MIPMAP_NEAREST"]],
|
|
55256
55254
|
]);
|
|
55257
55255
|
|
|
55258
55256
|
return function (mipMaps = true)
|
|
@@ -55349,7 +55347,7 @@ Object .assign (X3DEnvironmentalEffectsContext .prototype,
|
|
|
55349
55347
|
backgroundTextureProperties ._boundaryModeR = "CLAMP_TO_EDGE";
|
|
55350
55348
|
backgroundTextureProperties ._minificationFilter = "NICEST";
|
|
55351
55349
|
backgroundTextureProperties ._magnificationFilter = "NICEST";
|
|
55352
|
-
|
|
55350
|
+
|
|
55353
55351
|
backgroundTextureProperties .setup ();
|
|
55354
55352
|
|
|
55355
55353
|
return backgroundTextureProperties;
|
|
@@ -59360,7 +59358,6 @@ Object .assign (X3DLightingContext .prototype,
|
|
|
59360
59358
|
texture = new Texturing_ImageTexture (this .getPrivateScene ()),
|
|
59361
59359
|
textureProperties = new Texturing_TextureProperties (this .getPrivateScene ());
|
|
59362
59360
|
|
|
59363
|
-
textureProperties ._generateMipMaps = false;
|
|
59364
59361
|
textureProperties ._minificationFilter = "AVG_PIXEL";
|
|
59365
59362
|
textureProperties ._magnificationFilter = "AVG_PIXEL";
|
|
59366
59363
|
textureProperties ._boundaryModeS = "CLAMP_TO_BOUNDARY";
|
|
@@ -59427,7 +59424,7 @@ Object .assign (X3DLightingContext .prototype,
|
|
|
59427
59424
|
],
|
|
59428
59425
|
});
|
|
59429
59426
|
},
|
|
59430
|
-
filterEnvironmentTexture ({ name, texture, distribution, sampleCount,
|
|
59427
|
+
filterEnvironmentTexture ({ name, texture, distribution, sampleCount, roughnesses, flipX, cachedNode })
|
|
59431
59428
|
{
|
|
59432
59429
|
// Render the texture.
|
|
59433
59430
|
|
|
@@ -59461,7 +59458,7 @@ Object .assign (X3DLightingContext .prototype,
|
|
|
59461
59458
|
for (const target of filtered .getTargets ())
|
|
59462
59459
|
gl .texImage2D (target, 0, gl .RGBA, size, size, 0, gl .RGBA, gl .UNSIGNED_BYTE, data);
|
|
59463
59460
|
|
|
59464
|
-
if (
|
|
59461
|
+
if (roughnesses .length > 1)
|
|
59465
59462
|
{
|
|
59466
59463
|
gl .generateMipmap (filtered .getTarget ());
|
|
59467
59464
|
gl .texParameteri (filtered .getTarget (), gl .TEXTURE_MIN_FILTER, gl .LINEAR_MIPMAP_LINEAR);
|
|
@@ -59495,7 +59492,7 @@ Object .assign (X3DLightingContext .prototype,
|
|
|
59495
59492
|
gl .uniform1f (shaderNode .x3d_IntensityEXT, 1);
|
|
59496
59493
|
gl .uniform3f (shaderNode .x3d_FlipEXT, flipX ? -1 : 1, 1, 1);
|
|
59497
59494
|
|
|
59498
|
-
for (const [level,
|
|
59495
|
+
for (const [level, roughness] of roughnesses .entries ())
|
|
59499
59496
|
{
|
|
59500
59497
|
const mipSize = size >> level;
|
|
59501
59498
|
|
|
@@ -59505,7 +59502,7 @@ Object .assign (X3DLightingContext .prototype,
|
|
|
59505
59502
|
|
|
59506
59503
|
gl .viewport (0, 0, mipSize, mipSize);
|
|
59507
59504
|
gl .scissor (0, 0, mipSize, mipSize);
|
|
59508
|
-
gl .uniform1f (shaderNode .x3d_RoughnessEXT,
|
|
59505
|
+
gl .uniform1f (shaderNode .x3d_RoughnessEXT, roughness);
|
|
59509
59506
|
|
|
59510
59507
|
// Generate images.
|
|
59511
59508
|
|
|
@@ -71298,7 +71295,6 @@ Object .assign (X3DShapeContext .prototype,
|
|
|
71298
71295
|
|
|
71299
71296
|
lineFillTextureProperties ._minificationFilter = "NEAREST_PIXEL";
|
|
71300
71297
|
lineFillTextureProperties ._magnificationFilter = "NEAREST_PIXEL";
|
|
71301
|
-
lineFillTextureProperties ._textureCompression = "DEFAULT";
|
|
71302
71298
|
|
|
71303
71299
|
lineFillTextureProperties .setup ();
|
|
71304
71300
|
|
|
@@ -71329,8 +71325,7 @@ Object .assign (X3DShapeContext .prototype,
|
|
|
71329
71325
|
],
|
|
71330
71326
|
[ ],
|
|
71331
71327
|
[ ],
|
|
71332
|
-
]
|
|
71333
|
-
[pass];
|
|
71328
|
+
] [pass];
|
|
71334
71329
|
|
|
71335
71330
|
const transformFeedbackVaryings = [
|
|
71336
71331
|
[
|
|
@@ -71348,8 +71343,7 @@ Object .assign (X3DShapeContext .prototype,
|
|
|
71348
71343
|
"instanceNormalMatrix1", "tangent1", "normal1",
|
|
71349
71344
|
"instanceNormalMatrix2", "tangent2", "normal2",
|
|
71350
71345
|
],
|
|
71351
|
-
]
|
|
71352
|
-
[pass];
|
|
71346
|
+
] [pass];
|
|
71353
71347
|
|
|
71354
71348
|
return this .createShader ({
|
|
71355
71349
|
name: `LineTransform${instanced ? "Instanced" : ""}`,
|
|
@@ -72142,8 +72136,8 @@ Object .assign (X3DTexturingContext .prototype,
|
|
|
72142
72136
|
{
|
|
72143
72137
|
case TextureQuality .LOW:
|
|
72144
72138
|
{
|
|
72145
|
-
textureProperties ._magnificationFilter = "
|
|
72146
|
-
textureProperties ._minificationFilter = "
|
|
72139
|
+
textureProperties ._magnificationFilter = "FASTEST";
|
|
72140
|
+
textureProperties ._minificationFilter = "FASTEST";
|
|
72147
72141
|
textureProperties ._textureCompression = "FASTEST";
|
|
72148
72142
|
|
|
72149
72143
|
gl .hint (gl .GENERATE_MIPMAP_HINT, gl .FASTEST);
|
|
@@ -72152,7 +72146,7 @@ Object .assign (X3DTexturingContext .prototype,
|
|
|
72152
72146
|
case TextureQuality .MEDIUM:
|
|
72153
72147
|
{
|
|
72154
72148
|
textureProperties ._magnificationFilter = "NICEST";
|
|
72155
|
-
textureProperties ._minificationFilter = "
|
|
72149
|
+
textureProperties ._minificationFilter = "AVG_PIXEL_NEAREST_MIPMAP";
|
|
72156
72150
|
textureProperties ._textureCompression = "NICEST";
|
|
72157
72151
|
|
|
72158
72152
|
gl .hint (gl .GENERATE_MIPMAP_HINT, gl .FASTEST);
|
|
@@ -81486,7 +81480,7 @@ Object .assign (Object .setPrototypeOf (EnvironmentLight .prototype, Lighting_X3
|
|
|
81486
81480
|
texture: this .specularTexture,
|
|
81487
81481
|
distribution: Lighting_Distribution .LAMBERTIAN,
|
|
81488
81482
|
sampleCount: 2048,
|
|
81489
|
-
|
|
81483
|
+
roughnesses: [0],
|
|
81490
81484
|
flipX: !this .traverseSpecular,
|
|
81491
81485
|
cachedNode: this .generatedDiffuseTexture,
|
|
81492
81486
|
});
|
|
@@ -81505,15 +81499,15 @@ Object .assign (Object .setPrototypeOf (EnvironmentLight .prototype, Lighting_X3
|
|
|
81505
81499
|
console .info ("Generating specular texture for EnvironmentLight.");
|
|
81506
81500
|
|
|
81507
81501
|
const
|
|
81508
|
-
levels
|
|
81509
|
-
|
|
81502
|
+
levels = this .specularTexture .getLevels (),
|
|
81503
|
+
roughnesses = Array .from ({ length: levels + 1 }, (_, i) => i / (levels || 1));
|
|
81510
81504
|
|
|
81511
81505
|
return browser .filterEnvironmentTexture ({
|
|
81512
81506
|
name: "GeneratedSpecularTexture",
|
|
81513
81507
|
texture: this .specularTexture,
|
|
81514
81508
|
distribution: Lighting_Distribution .GGX,
|
|
81515
81509
|
sampleCount: 1024,
|
|
81516
|
-
|
|
81510
|
+
roughnesses,
|
|
81517
81511
|
flipX: !this .traverseSpecular,
|
|
81518
81512
|
cachedNode: this .generatedSpecularTexture,
|
|
81519
81513
|
});
|
|
@@ -81532,15 +81526,15 @@ Object .assign (Object .setPrototypeOf (EnvironmentLight .prototype, Lighting_X3
|
|
|
81532
81526
|
console .info ("Generating sheen texture for EnvironmentLight.");
|
|
81533
81527
|
|
|
81534
81528
|
const
|
|
81535
|
-
levels
|
|
81536
|
-
|
|
81529
|
+
levels = this .specularTexture .getLevels (),
|
|
81530
|
+
roughnesses = Array .from ({ length: levels + 1 }, (_, i) => Math .max (i / (levels || 1), 2, 0.000001));
|
|
81537
81531
|
|
|
81538
81532
|
return browser .filterEnvironmentTexture ({
|
|
81539
81533
|
name: "GeneratedSheenTexture",
|
|
81540
81534
|
texture: this .specularTexture,
|
|
81541
81535
|
distribution: Lighting_Distribution .CHARLIE,
|
|
81542
81536
|
sampleCount: 64,
|
|
81543
|
-
|
|
81537
|
+
roughnesses,
|
|
81544
81538
|
flipX: !this .traverseSpecular,
|
|
81545
81539
|
cachedNode: this .generatedSheenTexture,
|
|
81546
81540
|
});
|
|
@@ -90959,8 +90953,8 @@ const PNGMedia_default_ = PNGMedia;
|
|
|
90959
90953
|
|
|
90960
90954
|
/* harmony default export */ const Texturing_PNGMedia = (x_ite_Namespace .add ("PNGMedia", PNGMedia_default_));
|
|
90961
90955
|
;// ./src/x_ite/Components/Texturing/MovieTexture.js
|
|
90962
|
-
/* provided dependency */ var SuperGif = __webpack_require__(
|
|
90963
|
-
/* provided dependency */ var APNG = __webpack_require__(
|
|
90956
|
+
/* provided dependency */ var SuperGif = __webpack_require__(998);
|
|
90957
|
+
/* provided dependency */ var APNG = __webpack_require__(844);
|
|
90964
90958
|
|
|
90965
90959
|
|
|
90966
90960
|
|
|
@@ -93293,7 +93287,7 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
93293
93287
|
console .log (string);
|
|
93294
93288
|
|
|
93295
93289
|
for (const element of this [_console])
|
|
93296
|
-
element .append (
|
|
93290
|
+
element .append (string);
|
|
93297
93291
|
},
|
|
93298
93292
|
println (... args)
|
|
93299
93293
|
{
|
|
@@ -93302,7 +93296,7 @@ Object .assign (Object .setPrototypeOf (X3DBrowser .prototype, Browser_X3DBrowse
|
|
|
93302
93296
|
console .log (string);
|
|
93303
93297
|
|
|
93304
93298
|
for (const element of this [_console])
|
|
93305
|
-
element .append (
|
|
93299
|
+
element .append (`${string}\n`);
|
|
93306
93300
|
},
|
|
93307
93301
|
toVRMLStream (generator)
|
|
93308
93302
|
{
|
|
@@ -93665,7 +93659,7 @@ const QuickSort_default_ = QuickSort;
|
|
|
93665
93659
|
|
|
93666
93660
|
/* harmony default export */ const Algorithms_QuickSort = (x_ite_Namespace .add ("QuickSort", QuickSort_default_));
|
|
93667
93661
|
;// ./src/lib/libtess.js
|
|
93668
|
-
/* provided dependency */ var libtess_libtess = __webpack_require__(
|
|
93662
|
+
/* provided dependency */ var libtess_libtess = __webpack_require__(728);
|
|
93669
93663
|
const libtess_default_ = libtess_libtess;
|
|
93670
93664
|
;
|
|
93671
93665
|
|