@crystaldesign/real-time-viewer 25.8.0-beta.26 → 25.8.0-beta.28
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/build/esm/index.js +219 -192
- package/build/types/real-time-viewer/src/context.d.ts.map +1 -1
- package/build/types/real-time-viewer/src/controls/index.d.ts.map +1 -1
- package/build/types/real-time-viewer/src/parser/findAssets/index.d.ts.map +1 -1
- package/build/types/real-time-viewer/src/parser/shadow/index.d.ts.map +1 -1
- package/build/types/real-time-viewer/src/store/SceneStore.d.ts.map +1 -1
- package/build/types/real-time-viewer/src/store/UIStore.d.ts.map +1 -1
- package/build/types/real-time-viewer/src/useRealTimeRenderData.d.ts.map +1 -1
- package/build/umd/1510.real-time-viewer.umd.min.js +2 -0
- package/build/umd/1510.real-time-viewer.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/4141.real-time-viewer.umd.min.js +2 -0
- package/build/umd/4141.real-time-viewer.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/5746.real-time-viewer.umd.min.js +2 -0
- package/build/umd/5746.real-time-viewer.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/7038.real-time-viewer.umd.min.js +1 -1
- package/build/umd/9928.real-time-viewer.umd.min.js +2 -0
- package/build/umd/9928.real-time-viewer.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/real-time-viewer.umd.min.js +1 -1
- package/build/umd/report.html +1 -1
- package/package.json +2 -2
- package/build/umd/7046.real-time-viewer.umd.min.js +0 -2
- package/build/umd/7046.real-time-viewer.umd.min.js.LICENSE.txt +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,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AE,MAAM,GAAG,CAAC;AAErC,MAAM,WAAW,OAAO;IACtB,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,SAAS,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;CAClB;AAID,eAAO,MAAM,iBAAiB,YAE7B,CAAC;AAEF,eAAO,MAAM,eAAe,UACnB,KAAK,kBACI,MAAM,aACX,SAAS,QACd,MAAM,gBACE,WAAW,iBACV,MAAM,IAAI,2BACA,GAAG,iBACb;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,aAC7D,QAAQ,4BACO,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,aAC9C,OAAO;;;;;CAwBnB,CAAC;AAEF,eAAO,MAAM,iBAAiB,eAE7B,CAAC;AAEF,eAAO,MAAM,oBAAoB,kBAEhC,CAAC;AAEF,eAAO,MAAM,mBAAmB,iBAE/B,CAAC;AAEF,eAAO,MAAM,mBAAmB,iBAE/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/controls/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAE1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAG9D,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzC,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/controls/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAE1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAG9D,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzC,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,eAAe,qBAmQxD;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,KAAK,IAAI,CAAC;CACrG;AAED,wBAAgB,eAAe,CAC7B,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,iBAAiB,EAC1B,QAAQ,EAAE,IAAI,EACd,QAAQ,EAAE,OAAO,EAAE,EACnB,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,KAAK,IAAI;yBA+CvG,MAAM,WAAW,MAAM,YAAY,MAAM,sBAAsB,MAAM;EA4BlG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/findAssets/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAErE,OAAO,EAAE,UAAU,EAAW,MAAM,UAAU,CAAC;AAE/C,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/findAssets/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAErE,OAAO,EAAE,UAAU,EAAW,MAAM,UAAU,CAAC;AAE/C,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAMpC,wBAA8B,UAAU,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE;;;GAgJ1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/shadow/index.ts"],"names":[],"mappings":"AAOA,MAAM,CAAC,OAAO,UAAU,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/parser/shadow/index.ts"],"names":[],"mappings":"AAOA,MAAM,CAAC,OAAO,UAAU,MAAM,SAyC7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SceneStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/SceneStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAErE,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAa,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACxF,OAAO,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAC1E,OAAO,EAAe,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACjG,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"SceneStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/SceneStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CA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ED,IAAI,IAAI,CAAC,IAAI,EAAE,sBAAsB,EAEpC;IAED,OAAO,CAAC,UAAU;IAQX,aAAa;IAMb,yBAAyB;IAKzB,oBAAoB,CAAC,EAAE,EAAE,MAAM;IAQ/B,cAAc;IAOrB,OAAO,CAAC,aAAa;IAmBd,kBAAkB;IAkBlB,kBAAkB,CAAC,aAAa,EAAE,aAAa;IAI/C,oBAAoB;IAIpB,IAAI,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,iBAAiB,GAAG,IAAI,EAAE,SAAS,CAAC,EAAE,gBAAgB,EAAE,UAAU,CAAC,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE;IAQjI,OAAO,CAAC,GAAG,EAAE,aAAa,EAAE,GAAG,EAAE,QAAQ;IAQzC,MAAM,CAAC,GAAG,EAAE,aAAa,EAAE,GAAG,EAAE,QAAQ;IAOxC,UAAU,CAAC,GAAG,EAAE,aAAa,EAAE,GAAG,EAAE,QAAQ;IAQ5C,aAAa,CAAC,GAAG,EAAE,QAAQ;IAQlC,OAAO,CAAC,YAAY;IAOb,YAAY;IAMN,WAAW,IAAI,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC;IAalD,aAAa;IAIb,eAAe;IAUf,KAAK,CAAC,EAAE,EAAE,IAAI,GAAG,MAAM;IASvB,YAAY,CAAC,IAAI,CAAC,EAAE,aAAa;IAyBjC,iBAAiB;CAMzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UIStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/UIStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"UIStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/UIStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAQrE,OAAO,iEAAiE,CAAC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SAAS,EAAE,MAAM,KAAK,IAAI;IAqB1G,wBAAwB;IAIxB,sBAAsB;IAKtB,QAAQ;IAMR,MAAM;IAUN,kBAAkB,iBAAkB;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,OAAO,CAAA;KAAE,GAAG,SAAS,UAa5F;IAEK,sBAAsB,CAC3B,SAAS,EAAE,gBAAgB,EAC3B,cAAc,EAAE,GAAG,EACnB,oBAAoB,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,EACzD,uBAAuB,EAAE,GAAG;CAyC/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useRealTimeRenderData.d.ts","sourceRoot":"","sources":["../../../../src/useRealTimeRenderData.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC;AAM1B,OAAO,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"useRealTimeRenderData.d.ts","sourceRoot":"","sources":["../../../../src/useRealTimeRenderData.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC;AAM1B,OAAO,8BAA8B,CAAC;AAStC,MAAM,CAAC,OAAO,WAAW,EACvB,GAAG,EACH,OAAO,EACP,SAAS,EACT,SAAS,EACT,SAAS,EACT,UAAU,EACV,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,oBAAoB,EACpB,SAAS,EACT,QAAQ,EACR,kBAAkB,EAClB,QAAQ,GACT,EAAE,KAAK;;EAuNP"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 1510.real-time-viewer.umd.min.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignRealTimeViewer=self.webpackChunkCrystaldesignRealTimeViewer||[]).push([[1510],{10373:(e,o,t)=>{var n=t(17416);const r="fogVertexDeclaration",i="#ifdef FOG\nvarying vec3 vFogDistance;\n#endif\n";n.v.IncludesShadersStore[r]||(n.v.IncludesShadersStore[r]=i)},89481:(e,o,t)=>{var n=t(17416);const r="logDepthDeclaration",i="#ifdef LOGARITHMICDEPTH\nuniform float logarithmicDepthConstant;varying float vFragmentDepth;\n#endif\n";n.v.IncludesShadersStore[r]||(n.v.IncludesShadersStore[r]=i)},50627:(e,o,t)=>{var n=t(17416);const r="logDepthVertex",i="#ifdef LOGARITHMICDEPTH\nvFragmentDepth=1.0+gl_Position.w;gl_Position.z=log2(max(0.000001,vFragmentDepth))*logarithmicDepthConstant;\n#endif\n";n.v.IncludesShadersStore[r]||(n.v.IncludesShadersStore[r]=i)},31510:(e,o,t)=>{t.r(o),t.d(o,{spritesVertexShader:()=>s});var n=t(17416);t(10373),t(89481),t(50627);const r="spritesVertexShader",i="attribute vec4 position;attribute vec2 options;attribute vec2 offsets;attribute vec2 inverts;attribute vec4 cellInfo;attribute vec4 color;uniform mat4 view;uniform mat4 projection;varying vec2 vUV;varying vec4 vColor;\n#include<fogVertexDeclaration>\n#include<logDepthDeclaration>\n#define CUSTOM_VERTEX_DEFINITIONS\nvoid main(void) {\n#define CUSTOM_VERTEX_MAIN_BEGIN\nvec3 viewPos=(view*vec4(position.xyz,1.0)).xyz; \nvec2 cornerPos;float angle=position.w;vec2 size=vec2(options.x,options.y);vec2 offset=offsets.xy;cornerPos=vec2(offset.x-0.5,offset.y -0.5)*size;vec3 rotatedCorner;rotatedCorner.x=cornerPos.x*cos(angle)-cornerPos.y*sin(angle);rotatedCorner.y=cornerPos.x*sin(angle)+cornerPos.y*cos(angle);rotatedCorner.z=0.;viewPos+=rotatedCorner;gl_Position=projection*vec4(viewPos,1.0); \nvColor=color;vec2 uvOffset=vec2(abs(offset.x-inverts.x),abs(1.0-offset.y-inverts.y));vec2 uvPlace=cellInfo.xy;vec2 uvSize=cellInfo.zw;vUV.x=uvPlace.x+uvSize.x*uvOffset.x;vUV.y=uvPlace.y+uvSize.y*uvOffset.y;\n#ifdef FOG\nvFogDistance=viewPos;\n#endif\n#include<logDepthVertex>\n#define CUSTOM_VERTEX_MAIN_END\n}";n.v.ShadersStore[r]||(n.v.ShadersStore[r]=i);const s={name:r,shader:i}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/*! filename:1510 */
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 4141.real-time-viewer.umd.min.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignRealTimeViewer=self.webpackChunkCrystaldesignRealTimeViewer||[]).push([[4141],{97555:(e,n,f)=>{var r=f(17416);const o="fogFragment",a="#ifdef FOG\nvar fog: f32=CalcFogFactor();\n#ifdef PBR\nfog=toLinearSpace(fog);\n#endif\ncolor= vec4f(mix(uniforms.vFogColor,color.rgb,fog),color.a);\n#endif\n";r.v.IncludesShadersStoreWGSL[o]||(r.v.IncludesShadersStoreWGSL[o]=a)},80750:(e,n,f)=>{var r=f(17416);const o="fogFragmentDeclaration",a="#ifdef FOG\n#define FOGMODE_NONE 0.\n#define FOGMODE_EXP 1.\n#define FOGMODE_EXP2 2.\n#define FOGMODE_LINEAR 3.\nconst E=2.71828;uniform vFogInfos: vec4f;uniform vFogColor: vec3f;varying vFogDistance: vec3f;fn CalcFogFactor()->f32\n{var fogCoeff: f32=1.0;var fogStart: f32=uniforms.vFogInfos.y;var fogEnd: f32=uniforms.vFogInfos.z;var fogDensity: f32=uniforms.vFogInfos.w;var fogDistance: f32=length(fragmentInputs.vFogDistance);if (FOGMODE_LINEAR==uniforms.vFogInfos.x)\n{fogCoeff=(fogEnd-fogDistance)/(fogEnd-fogStart);}\nelse if (FOGMODE_EXP==uniforms.vFogInfos.x)\n{fogCoeff=1.0/pow(E,fogDistance*fogDensity);}\nelse if (FOGMODE_EXP2==uniforms.vFogInfos.x)\n{fogCoeff=1.0/pow(E,fogDistance*fogDistance*fogDensity*fogDensity);}\nreturn clamp(fogCoeff,0.0,1.0);}\n#endif\n";r.v.IncludesShadersStoreWGSL[o]||(r.v.IncludesShadersStoreWGSL[o]=a)},37470:(e,n,f)=>{var r=f(17416);const o="logDepthDeclaration",a="#ifdef LOGARITHMICDEPTH\nuniform logarithmicDepthConstant: f32;varying vFragmentDepth: f32;\n#endif\n";r.v.IncludesShadersStoreWGSL[o]||(r.v.IncludesShadersStoreWGSL[o]=a)},954:(e,n,f)=>{var r=f(17416);const o="logDepthFragment",a="#ifdef LOGARITHMICDEPTH\nfragmentOutputs.fragDepth=log2(fragmentInputs.vFragmentDepth)*uniforms.logarithmicDepthConstant*0.5;\n#endif\n";r.v.IncludesShadersStoreWGSL[o]||(r.v.IncludesShadersStoreWGSL[o]=a)},24141:(e,n,f)=>{f.r(n),f.d(n,{spritesPixelShaderWGSL:()=>i});var r=f(17416);f(80750),f(37470),f(954),f(97555);const o="#ifdef IMAGEPROCESSINGPOSTPROCESS\nfragmentOutputs.color=vec4f(pow(fragmentOutputs.color.rgb, vec3f(2.2)),fragmentOutputs.color.a);\n#endif\n";r.v.IncludesShadersStoreWGSL.imageProcessingCompatibility||(r.v.IncludesShadersStoreWGSL.imageProcessingCompatibility=o);const a="spritesPixelShader",t="uniform alphaTest: i32;varying vColor: vec4f;varying vUV: vec2f;var diffuseSamplerSampler: sampler;var diffuseSampler: texture_2d<f32>;\n#include<fogFragmentDeclaration>\n#include<logDepthDeclaration>\n#define CUSTOM_FRAGMENT_DEFINITIONS\n#ifdef PIXEL_PERFECT\nfn uvPixelPerfect(uv: vec2f)->vec2f {var res: vec2f= vec2f(textureDimensions(diffuseSampler,0));var uvTemp=uv*res;var seam: vec2f=floor(uvTemp+0.5);uvTemp=seam+clamp((uvTemp-seam)/fwidth(uvTemp),vec2f(-0.5),vec2f(0.5));return uvTemp/res;}\n#endif\n@fragment\nfn main(input: FragmentInputs)->FragmentOutputs {\n#define CUSTOM_FRAGMENT_MAIN_BEGIN\n#ifdef PIXEL_PERFECT\nvar uv: vec2f=uvPixelPerfect(input.vUV);\n#else\nvar uv: vec2f=input.vUV;\n#endif\nvar color: vec4f=textureSample(diffuseSampler,diffuseSamplerSampler,uv);var fAlphaTest: f32= f32(uniforms.alphaTest);if (fAlphaTest != 0.)\n{if (color.a<0.95) {discard;}}\ncolor*=input.vColor;\n#include<logDepthFragment>\n#include<fogFragment>\nfragmentOutputs.color=color;\n#include<imageProcessingCompatibility>\n#define CUSTOM_FRAGMENT_MAIN_END\n}";r.v.ShadersStoreWGSL.spritesPixelShader||(r.v.ShadersStoreWGSL.spritesPixelShader=t);const i={name:a,shader:t}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/*! filename:4141 */
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 5746.real-time-viewer.umd.min.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignRealTimeViewer=self.webpackChunkCrystaldesignRealTimeViewer||[]).push([[5746],{6216:(e,n,o)=>{var f=o(17416);const r="fogFragment",a="#ifdef FOG\nfloat fog=CalcFogFactor();\n#ifdef PBR\nfog=toLinearSpace(fog);\n#endif\ncolor.rgb=mix(vFogColor,color.rgb,fog);\n#endif\n";f.v.IncludesShadersStore[r]||(f.v.IncludesShadersStore[r]=a)},2302:(e,n,o)=>{var f=o(17416);const r="fogFragmentDeclaration",a="#ifdef FOG\n#define FOGMODE_NONE 0.\n#define FOGMODE_EXP 1.\n#define FOGMODE_EXP2 2.\n#define FOGMODE_LINEAR 3.\n#define E 2.71828\nuniform vec4 vFogInfos;uniform vec3 vFogColor;varying vec3 vFogDistance;float CalcFogFactor()\n{float fogCoeff=1.0;float fogStart=vFogInfos.y;float fogEnd=vFogInfos.z;float fogDensity=vFogInfos.w;float fogDistance=length(vFogDistance);if (FOGMODE_LINEAR==vFogInfos.x)\n{fogCoeff=(fogEnd-fogDistance)/(fogEnd-fogStart);}\nelse if (FOGMODE_EXP==vFogInfos.x)\n{fogCoeff=1.0/pow(E,fogDistance*fogDensity);}\nelse if (FOGMODE_EXP2==vFogInfos.x)\n{fogCoeff=1.0/pow(E,fogDistance*fogDistance*fogDensity*fogDensity);}\nreturn clamp(fogCoeff,0.0,1.0);}\n#endif\n";f.v.IncludesShadersStore[r]||(f.v.IncludesShadersStore[r]=a)},89481:(e,n,o)=>{var f=o(17416);const r="logDepthDeclaration",a="#ifdef LOGARITHMICDEPTH\nuniform float logarithmicDepthConstant;varying float vFragmentDepth;\n#endif\n";f.v.IncludesShadersStore[r]||(f.v.IncludesShadersStore[r]=a)},66564:(e,n,o)=>{var f=o(17416);const r="logDepthFragment",a="#ifdef LOGARITHMICDEPTH\ngl_FragDepthEXT=log2(vFragmentDepth)*logarithmicDepthConstant*0.5;\n#endif\n";f.v.IncludesShadersStore[r]||(f.v.IncludesShadersStore[r]=a)},75746:(e,n,o)=>{o.r(n),o.d(n,{spritesPixelShader:()=>t});var f=o(17416);o(2302),o(89481),o(66564),o(6216);const r="#ifdef IMAGEPROCESSINGPOSTPROCESS\ngl_FragColor.rgb=pow(gl_FragColor.rgb,vec3(2.2));\n#endif\n";f.v.IncludesShadersStore.imageProcessingCompatibility||(f.v.IncludesShadersStore.imageProcessingCompatibility=r);const a="spritesPixelShader",i="#ifdef LOGARITHMICDEPTH\n#extension GL_EXT_frag_depth : enable\n#endif\nuniform bool alphaTest;varying vec4 vColor;varying vec2 vUV;uniform sampler2D diffuseSampler;\n#include<fogFragmentDeclaration>\n#include<logDepthDeclaration>\n#define CUSTOM_FRAGMENT_DEFINITIONS\n#ifdef PIXEL_PERFECT\nvec2 uvPixelPerfect(vec2 uv) {vec2 res=vec2(textureSize(diffuseSampler,0));uv=uv*res;vec2 seam=floor(uv+0.5);uv=seam+clamp((uv-seam)/fwidth(uv),-0.5,0.5);return uv/res;}\n#endif\nvoid main(void) {\n#define CUSTOM_FRAGMENT_MAIN_BEGIN\n#ifdef PIXEL_PERFECT\nvec2 uv=uvPixelPerfect(vUV);\n#else\nvec2 uv=vUV;\n#endif\nvec4 color=texture2D(diffuseSampler,uv);float fAlphaTest=float(alphaTest);if (fAlphaTest != 0.)\n{if (color.a<0.95)\ndiscard;}\ncolor*=vColor;\n#include<logDepthFragment>\n#include<fogFragment>\ngl_FragColor=color;\n#include<imageProcessingCompatibility>\n#define CUSTOM_FRAGMENT_MAIN_END\n}";f.v.ShadersStore.spritesPixelShader||(f.v.ShadersStore.spritesPixelShader=i);const t={name:a,shader:i}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/*! filename:5746 */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see 7038.real-time-viewer.umd.min.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunkCrystaldesignRealTimeViewer=self.webpackChunkCrystaldesignRealTimeViewer||[]).push([[7038,7046],{47046:(t,i,e)=>{e.r(i),e.d(i,{AnimationGroup:()=>AnimationGroup,TargetedAnimation:()=>TargetedAnimation});var n=e(58096),a=e(29900),s=e(19557),o=e(45179);e(46313);class TargetedAnimation{getClassName(){return"TargetedAnimation"}serialize(){const t={};return t.animation=this.animation.serialize(),t.targetId=this.target.id,t}}class AnimationGroup{get mask(){return this._mask}set mask(t){this._mask!==t&&(this._mask=t,this.syncWithMask(!0))}syncWithMask(t=!1){if(this.mask||t){this._numActiveAnimatables=0;for(let t=0;t<this._animatables.length;++t){const i=this._animatables[t];!this.mask||this.mask.disabled||this.mask.retainsTarget(i.target.name)?(this._numActiveAnimatables++,i.paused&&i.restart()):i.paused||i.pause()}}else this._numActiveAnimatables=this._targetedAnimations.length}removeUnmaskedAnimations(){if(this.mask&&!this.mask.disabled){for(let t=0;t<this._animatables.length;++t){const i=this._animatables[t];this.mask.retainsTarget(i.target.name)||(i.stop(),this._animatables.splice(t,1),--t)}for(let t=0;t<this._targetedAnimations.length;t++){const i=this._targetedAnimations[t];this.mask.retainsTarget(i.target.name)||(this._targetedAnimations.splice(t,1),--t)}}}get from(){return this._from}set from(t){if(this._from!==t){this._from=t;for(let t=0;t<this._animatables.length;t++){this._animatables[t].fromFrame=this._from}}}get to(){return this._to}set to(t){if(this._to!==t){this._to=t;for(let t=0;t<this._animatables.length;t++){this._animatables[t].toFrame=this._to}}}get isStarted(){return this._isStarted}get isPlaying(){return this._isStarted&&!this._isPaused}get speedRatio(){return this._speedRatio}set speedRatio(t){if(this._speedRatio!==t){this._speedRatio=t;for(let t=0;t<this._animatables.length;t++){this._animatables[t].speedRatio=this._speedRatio}}}get loopAnimation(){return this._loopAnimation}set loopAnimation(t){if(this._loopAnimation!==t){this._loopAnimation=t;for(let t=0;t<this._animatables.length;t++){this._animatables[t].loopAnimation=this._loopAnimation}}}get isAdditive(){return this._isAdditive}set isAdditive(t){if(this._isAdditive!==t){this._isAdditive=t;for(let t=0;t<this._animatables.length;t++){this._animatables[t].isAdditive=this._isAdditive}}}get weight(){return this._weight}set weight(t){this._weight!==t&&(this._weight=t,this.setWeightForAllAnimatables(this._weight))}get targetedAnimations(){return this._targetedAnimations}get animatables(){return this._animatables}get children(){return this._targetedAnimations}get playOrder(){return this._playOrder}set playOrder(t){if(this._playOrder!==t&&(this._playOrder=t,this._animatables.length>0)){for(let t=0;t<this._animatables.length;t++)this._animatables[t].playOrder=this._playOrder;this._scene.sortActiveAnimatables()}}get enableBlending(){return this._enableBlending}set enableBlending(t){if(this._enableBlending!==t&&(this._enableBlending=t,null!==t))for(let i=0;i<this._targetedAnimations.length;++i)this._targetedAnimations[i].animation.enableBlending=t}get blendingSpeed(){return this._blendingSpeed}set blendingSpeed(t){if(this._blendingSpeed!==t&&(this._blendingSpeed=t,null!==t))for(let i=0;i<this._targetedAnimations.length;++i)this._targetedAnimations[i].animation.blendingSpeed=t}getLength(t,i){t=t??this._from;return((i=i??this._to)-t)/(this.targetedAnimations[0].animation.framePerSecond*this._speedRatio)}static MergeAnimationGroups(t,i=!0,e=!1,n){if(0===t.length)return null;n=n??t[0].weight;let a=Number.MAX_VALUE,s=-Number.MAX_VALUE;if(e)for(const i of t)i.from<a&&(a=i.from),i.to>s&&(s=i.to);const o=new AnimationGroup(t[0].name+"_merged",t[0]._scene,n);for(const n of t){e&&n.normalize(a,s);for(const t of n.targetedAnimations)o.addTargetedAnimation(t.animation,t.target);i&&n.dispose()}return o}constructor(t,i=null,e=-1,n=0){this.name=t,this._targetedAnimations=new Array,this._animatables=new Array,this._from=Number.MAX_VALUE,this._to=-Number.MAX_VALUE,this._speedRatio=1,this._loopAnimation=!1,this._isAdditive=!1,this._weight=-1,this._playOrder=0,this._enableBlending=null,this._blendingSpeed=null,this._numActiveAnimatables=0,this._shouldStart=!0,this._parentContainer=null,this.onAnimationEndObservable=new a.y$,this.onAnimationLoopObservable=new a.y$,this.onAnimationGroupLoopObservable=new a.y$,this.onAnimationGroupEndObservable=new a.y$,this.onAnimationGroupPauseObservable=new a.y$,this.onAnimationGroupPlayObservable=new a.y$,this.metadata=null,this._mask=null,this._animationLoopFlags=[],this._scene=i||s.l.LastCreatedScene,this._weight=e,this._playOrder=n,this.uniqueId=this._scene.getUniqueId(),this._scene.addAnimationGroup(this)}addTargetedAnimation(t,i){const e=new TargetedAnimation;e.animation=t,e.target=i;const n=t.getKeys();return this._from>n[0].frame&&(this._from=n[0].frame),this._to<n[n.length-1].frame&&(this._to=n[n.length-1].frame),null!==this._enableBlending&&(t.enableBlending=this._enableBlending),null!==this._blendingSpeed&&(t.blendingSpeed=this._blendingSpeed),this._targetedAnimations.push(e),this._shouldStart=!0,e}removeTargetedAnimation(t){for(let i=this._targetedAnimations.length-1;i>-1;i--){this._targetedAnimations[i].animation===t&&this._targetedAnimations.splice(i,1)}}normalize(t=null,i=null){null==t&&(t=this._from),null==i&&(i=this._to);for(let e=0;e<this._targetedAnimations.length;e++){const n=this._targetedAnimations[e].animation.getKeys(),a=n[0],s=n[n.length-1];if(a.frame>t){const i={frame:t,value:a.value,inTangent:a.inTangent,outTangent:a.outTangent,interpolation:a.interpolation};n.splice(0,0,i)}if(s.frame<i){const t={frame:i,value:s.value,inTangent:s.inTangent,outTangent:s.outTangent,interpolation:s.interpolation};n.push(t)}}return this._from=t,this._to=i,this}_processLoop(t,i,e){t.onAnimationLoop=()=>{this.onAnimationLoopObservable.notifyObservers(i),this._animationLoopFlags[e]||(this._animationLoopFlags[e]=!0,this._animationLoopCount++,this._animationLoopCount===this._numActiveAnimatables&&(this.onAnimationGroupLoopObservable.notifyObservers(this),this._animationLoopCount=0,this._animationLoopFlags.length=0))}}start(t=!1,i=1,e,n,a){if(this._isStarted||0===this._targetedAnimations.length)return this;this._loopAnimation=t,this._shouldStart=!1,this._animationLoopCount=0,this._animationLoopFlags.length=0;for(let s=0;s<this._targetedAnimations.length;s++){const o=this._targetedAnimations[s],r=this._scene.beginDirectAnimation(o.target,[o.animation],void 0!==e?e:this._from,void 0!==n?n:this._to,t,i,void 0,void 0,void 0!==a?a:this._isAdditive);r.weight=this._weight,r.playOrder=this._playOrder,r.onAnimationEnd=()=>{this.onAnimationEndObservable.notifyObservers(o),this._checkAnimationGroupEnded(r)},this._processLoop(r,o,s),this._animatables.push(r)}return this.syncWithMask(),this._scene.sortActiveAnimatables(),this._speedRatio=i,this._isStarted=!0,this._isPaused=!1,this.onAnimationGroupPlayObservable.notifyObservers(this),this}pause(){if(!this._isStarted)return this;this._isPaused=!0;for(let t=0;t<this._animatables.length;t++){this._animatables[t].pause()}return this.onAnimationGroupPauseObservable.notifyObservers(this),this}play(t){return this.isStarted&&this._animatables.length&&!this._shouldStart?(void 0!==t&&(this.loopAnimation=t),this.restart()):(this.stop(),this.start(t,this._speedRatio)),this}reset(){if(!this._isStarted)return this.play(),this.goToFrame(0),this.stop(!0),this;for(let t=0;t<this._animatables.length;t++){this._animatables[t].reset()}return this}restart(){if(!this._isStarted)return this;for(let t=0;t<this._animatables.length;t++){this._animatables[t].restart()}return this.syncWithMask(),this._isPaused=!1,this.onAnimationGroupPlayObservable.notifyObservers(this),this}stop(t=!1){if(!this._isStarted)return this;const i=this._animatables.slice();for(let e=0;e<i.length;e++)i[e].stop(void 0,void 0,!0,t);let e=0;for(let i=0;i<this._scene._activeAnimatables.length;i++){const n=this._scene._activeAnimatables[i];n._runtimeAnimations.length>0?this._scene._activeAnimatables[e++]=n:t&&this._checkAnimationGroupEnded(n,t)}return this._scene._activeAnimatables.length=e,this._isStarted=!1,this}setWeightForAllAnimatables(t){for(let i=0;i<this._animatables.length;i++){this._animatables[i].weight=t}return this}syncAllAnimationsWith(t){for(let i=0;i<this._animatables.length;i++){this._animatables[i].syncWith(t)}return this}goToFrame(t,i=!1){if(!this._isStarted)return this;for(let e=0;e<this._animatables.length;e++){this._animatables[e].goToFrame(t,i)}return this}getCurrentFrame(){return this.animatables[0]?.masterFrame||0}dispose(){this.isStarted&&this.stop(),this._targetedAnimations.length=0,this._animatables.length=0;const t=this._scene.animationGroups.indexOf(this);if(t>-1&&this._scene.animationGroups.splice(t,1),this._parentContainer){const t=this._parentContainer.animationGroups.indexOf(this);t>-1&&this._parentContainer.animationGroups.splice(t,1),this._parentContainer=null}this.onAnimationEndObservable.clear(),this.onAnimationGroupEndObservable.clear(),this.onAnimationGroupPauseObservable.clear(),this.onAnimationGroupPlayObservable.clear(),this.onAnimationLoopObservable.clear(),this.onAnimationGroupLoopObservable.clear()}_checkAnimationGroupEnded(t,i=!1){const e=this._animatables.indexOf(t);e>-1&&this._animatables.splice(e,1),this._animatables.length===this._targetedAnimations.length-this._numActiveAnimatables&&(this._isStarted=!1,i||this.onAnimationGroupEndObservable.notifyObservers(this),this._animatables.length=0)}clone(t,i,e=!1){const n=new AnimationGroup(t||this.name,this._scene,this._weight,this._playOrder);n._from=this.from,n._to=this.to,n._speedRatio=this.speedRatio,n._loopAnimation=this.loopAnimation,n._isAdditive=this.isAdditive,n._enableBlending=this.enableBlending,n._blendingSpeed=this.blendingSpeed,n.metadata=this.metadata,n.mask=this.mask;for(const t of this._targetedAnimations)n.addTargetedAnimation(e?t.animation.clone():t.animation,i?i(t.target):t.target);return n}serialize(){const t={};t.name=this.name,t.from=this.from,t.to=this.to,t.speedRatio=this.speedRatio,t.loopAnimation=this.loopAnimation,t.isAdditive=this.isAdditive,t.weight=this.weight,t.playOrder=this.playOrder,t.enableBlending=this.enableBlending,t.blendingSpeed=this.blendingSpeed,t.targetedAnimations=[];for(let i=0;i<this.targetedAnimations.length;i++){const e=this.targetedAnimations[i];t.targetedAnimations[i]=e.serialize()}return o.$&&o.$.HasTags(this)&&(t.tags=o.$.GetTags(this)),this.metadata&&(t.metadata=this.metadata),t}static Parse(t,i){const e=new AnimationGroup(t.name,i,t.weight,t.playOrder);for(let a=0;a<t.targetedAnimations.length;a++){const s=t.targetedAnimations[a],o=n.fw.Parse(s.animation),r=s.targetId;if("influence"===s.animation.property){const t=i.getMorphTargetById(r);t&&e.addTargetedAnimation(o,t)}else{const t=i.getNodeById(r);null!=t&&e.addTargetedAnimation(o,t)}}return o.$&&o.$.AddTagsTo(e,t.tags),null!==t.from&&null!==t.to&&e.normalize(t.from,t.to),void 0!==t.speedRatio&&(e._speedRatio=t.speedRatio),void 0!==t.loopAnimation&&(e._loopAnimation=t.loopAnimation),void 0!==t.isAdditive&&(e._isAdditive=t.isAdditive),void 0!==t.weight&&(e._weight=t.weight),void 0!==t.playOrder&&(e._playOrder=t.playOrder),void 0!==t.enableBlending&&(e._enableBlending=t.enableBlending),void 0!==t.blendingSpeed&&(e._blendingSpeed=t.blendingSpeed),void 0!==t.metadata&&(e.metadata=t.metadata),e}static MakeAnimationAdditive(t,i,e,a=!1,s){let o;o="object"==typeof i?i:{referenceFrame:i,range:e,cloneOriginalAnimationGroup:a,clonedAnimationName:s};let r=t;o.cloneOriginalAnimationGroup&&(r=t.clone(o.clonedAnimationGroupName||r.name));const l=r.targetedAnimations;for(let t=0;t<l.length;t++){const i=l[t];i.animation=n.fw.MakeAnimationAdditive(i.animation,o)}if(r.isAdditive=!0,o.clipKeys){let t=Number.MAX_VALUE,i=-Number.MAX_VALUE;const e=r.targetedAnimations;for(let n=0;n<e.length;n++){const a=e[n].animation.getKeys();t>a[0].frame&&(t=a[0].frame),i<a[a.length-1].frame&&(i=a[a.length-1].frame)}r._from=t,r._to=i}return r}static ClipKeys(t,i,e,n,a){const s=t.clone(n||t.name);return AnimationGroup.ClipKeysInPlace(s,i,e,a)}static ClipKeysInPlace(t,i,e,n){return AnimationGroup.ClipInPlace(t,i,e,n,!1)}static ClipFrames(t,i,e,n,a){const s=t.clone(n||t.name);return AnimationGroup.ClipFramesInPlace(s,i,e,a)}static ClipFramesInPlace(t,i,e,n){return AnimationGroup.ClipInPlace(t,i,e,n,!0)}static ClipInPlace(t,i,e,n,a=!1){let s=Number.MAX_VALUE,o=-Number.MAX_VALUE;const r=t.targetedAnimations;for(let t=0;t<r.length;t++){const l=r[t],h=n?l.animation:l.animation.clone();a&&(h.createKeyForFrame(i),h.createKeyForFrame(e));const m=h.getKeys(),d=[];let g=Number.MAX_VALUE;for(let t=0;t<m.length;t++){const n=m[t];if(!a&&t>=i&&t<=e||a&&n.frame>=i&&n.frame<=e){const t={frame:n.frame,value:n.value.clone?n.value.clone():n.value,inTangent:n.inTangent,outTangent:n.outTangent,interpolation:n.interpolation,lockedTangent:n.lockedTangent};g===Number.MAX_VALUE&&(g=t.frame),t.frame-=g,d.push(t)}}0!==d.length?(s>d[0].frame&&(s=d[0].frame),o<d[d.length-1].frame&&(o=d[d.length-1].frame),h.setKeys(d,!0),l.animation=h):(r.splice(t,1),t--)}return t._from=s,t._to=o,t}getClassName(){return"AnimationGroup"}toString(t){let i="Name: "+this.name;return i+=", type: "+this.getClassName(),t&&(i+=", from: "+this._from,i+=", to: "+this._to,i+=", isStarted: "+this._isStarted,i+=", speedRatio: "+this._speedRatio,i+=", targetedAnimations length: "+this._targetedAnimations.length,i+=", animatables length: "+this._animatables),i}}},7038:(t,i,e)=>{e.r(i),e.d(i,{FlowGraphPlayAnimationBlock:()=>FlowGraphPlayAnimationBlock});var n=e(96512),a=e(39426),s=e(20538),o=e(47046);class FlowGraphPlayAnimationBlock extends n.g{constructor(t){super(t,["animationLoop","animationEnd","animationGroupLoop"]),this.config=t,this.speed=this.registerDataInput("speed",a.ab),this.loop=this.registerDataInput("loop",a.PE),this.from=this.registerDataInput("from",a.ab,0),this.to=this.registerDataInput("to",a.ab),this.currentFrame=this.registerDataOutput("currentFrame",a.ab),this.currentTime=this.registerDataOutput("currentTime",a.ab),this.currentAnimationGroup=this.registerDataOutput("currentAnimationGroup",a.s8),this.animationGroup=this.registerDataInput("animationGroup",a.s8,t?.animationGroup),this.animation=this.registerDataInput("animation",a.s8),this.object=this.registerDataInput("object",a.s8)}_preparePendingTasks(t){const i=this.animationGroup.getValue(t),e=this.animation.getValue(t);if(!i&&!e)return this._reportError(t,"No animation or animation group provided");{const n=this.currentAnimationGroup.getValue(t);n&&n!==i&&n.dispose();let a=i;if(e&&!a){const i=this.object.getValue(t);if(!i)return this._reportError(t,"No target object provided");const n=Array.isArray(e)?e:[e],s=n[0].name;a=new o.AnimationGroup("flowGraphAnimationGroup-"+s+"-"+i.name,t.configuration.scene);let r=!1;const l=t._getGlobalContextVariable("interpolationAnimations",[]);for(const t of n)a.addTargetedAnimation(t,i),-1!==l.indexOf(t.uniqueId)&&(r=!0);r&&this._checkInterpolationDuplications(t,n,i)}const s=this.speed.getValue(t)||1,r=this.from.getValue(t)??0,l=this.to.getValue(t)||a.to,h=!isFinite(l)||this.loop.getValue(t);this.currentAnimationGroup.setValue(a,t);const m=t._getGlobalContextVariable("currentlyRunningAnimationGroups",[]);-1!==m.indexOf(a.uniqueId)&&a.stop();try{a.start(h,s,r,l),a.onAnimationGroupEndObservable.add((()=>this._onAnimationGroupEnd(t))),a.onAnimationEndObservable.add((()=>this._eventsSignalOutputs.animationEnd._activateSignal(t))),a.onAnimationLoopObservable.add((()=>this._eventsSignalOutputs.animationLoop._activateSignal(t))),a.onAnimationGroupLoopObservable.add((()=>this._eventsSignalOutputs.animationGroupLoop._activateSignal(t))),m.push(a.uniqueId),t._setGlobalContextVariable("currentlyRunningAnimationGroups",m)}catch(i){this._reportError(t,i)}}}_reportError(t,i){super._reportError(t,i),this.currentFrame.setValue(-1,t),this.currentTime.setValue(-1,t)}_executeOnTick(t){const i=this.currentAnimationGroup.getValue(t);i&&(this.currentFrame.setValue(i.getCurrentFrame(),t),this.currentTime.setValue(i.animatables[0]?.elapsedTime??0,t))}_execute(t){this._startPendingTasks(t)}_onAnimationGroupEnd(t){this._removeFromCurrentlyRunning(t,this.currentAnimationGroup.getValue(t)),this._resetAfterCanceled(t),this.done._activateSignal(t)}_checkInterpolationDuplications(t,i,e){const n=t._getGlobalContextVariable("currentlyRunningAnimationGroups",[]);for(const a of n){const n=t.assetsContext.animationGroups.find((t=>t.uniqueId===a));if(n)for(const a of n.targetedAnimations)for(const s of i)a.animation.targetProperty===s.targetProperty&&a.target===e&&this._stopAnimationGroup(t,n)}}_stopAnimationGroup(t,i){i.stop(!0),i.dispose(),this._removeFromCurrentlyRunning(t,i)}_removeFromCurrentlyRunning(t,i){const e=t._getGlobalContextVariable("currentlyRunningAnimationGroups",[]),n=e.indexOf(i.uniqueId);-1!==n&&(e.splice(n,1),t._setGlobalContextVariable("currentlyRunningAnimationGroups",e))}_cancelPendingTasks(t){const i=this.currentAnimationGroup.getValue(t);i&&this._stopAnimationGroup(t,i)}getClassName(){return"FlowGraphPlayAnimationBlock"}}(0,s.H7)("FlowGraphPlayAnimationBlock",FlowGraphPlayAnimationBlock)}}]);
|
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignRealTimeViewer=self.webpackChunkCrystaldesignRealTimeViewer||[]).push([[7038],{7038:(t,n,i)=>{i.r(n),i.d(n,{FlowGraphPlayAnimationBlock:()=>FlowGraphPlayAnimationBlock});var e=i(96512),a=i(39426),o=i(20538),r=i(47046);class FlowGraphPlayAnimationBlock extends e.g{constructor(t){super(t,["animationLoop","animationEnd","animationGroupLoop"]),this.config=t,this.speed=this.registerDataInput("speed",a.ab),this.loop=this.registerDataInput("loop",a.PE),this.from=this.registerDataInput("from",a.ab,0),this.to=this.registerDataInput("to",a.ab),this.currentFrame=this.registerDataOutput("currentFrame",a.ab),this.currentTime=this.registerDataOutput("currentTime",a.ab),this.currentAnimationGroup=this.registerDataOutput("currentAnimationGroup",a.s8),this.animationGroup=this.registerDataInput("animationGroup",a.s8,t?.animationGroup),this.animation=this.registerDataInput("animation",a.s8),this.object=this.registerDataInput("object",a.s8)}_preparePendingTasks(t){const n=this.animationGroup.getValue(t),i=this.animation.getValue(t);if(!n&&!i)return this._reportError(t,"No animation or animation group provided");{const e=this.currentAnimationGroup.getValue(t);e&&e!==n&&e.dispose();let a=n;if(i&&!a){const n=this.object.getValue(t);if(!n)return this._reportError(t,"No target object provided");const e=Array.isArray(i)?i:[i],o=e[0].name;a=new r.AnimationGroup("flowGraphAnimationGroup-"+o+"-"+n.name,t.configuration.scene);let s=!1;const u=t._getGlobalContextVariable("interpolationAnimations",[]);for(const t of e)a.addTargetedAnimation(t,n),-1!==u.indexOf(t.uniqueId)&&(s=!0);s&&this._checkInterpolationDuplications(t,e,n)}const o=this.speed.getValue(t)||1,s=this.from.getValue(t)??0,u=this.to.getValue(t)||a.to,l=!isFinite(u)||this.loop.getValue(t);this.currentAnimationGroup.setValue(a,t);const p=t._getGlobalContextVariable("currentlyRunningAnimationGroups",[]);-1!==p.indexOf(a.uniqueId)&&a.stop();try{a.start(l,o,s,u),a.onAnimationGroupEndObservable.add((()=>this._onAnimationGroupEnd(t))),a.onAnimationEndObservable.add((()=>this._eventsSignalOutputs.animationEnd._activateSignal(t))),a.onAnimationLoopObservable.add((()=>this._eventsSignalOutputs.animationLoop._activateSignal(t))),a.onAnimationGroupLoopObservable.add((()=>this._eventsSignalOutputs.animationGroupLoop._activateSignal(t))),p.push(a.uniqueId),t._setGlobalContextVariable("currentlyRunningAnimationGroups",p)}catch(n){this._reportError(t,n)}}}_reportError(t,n){super._reportError(t,n),this.currentFrame.setValue(-1,t),this.currentTime.setValue(-1,t)}_executeOnTick(t){const n=this.currentAnimationGroup.getValue(t);n&&(this.currentFrame.setValue(n.getCurrentFrame(),t),this.currentTime.setValue(n.animatables[0]?.elapsedTime??0,t))}_execute(t){this._startPendingTasks(t)}_onAnimationGroupEnd(t){this._removeFromCurrentlyRunning(t,this.currentAnimationGroup.getValue(t)),this._resetAfterCanceled(t),this.done._activateSignal(t)}_checkInterpolationDuplications(t,n,i){const e=t._getGlobalContextVariable("currentlyRunningAnimationGroups",[]);for(const a of e){const e=t.assetsContext.animationGroups.find((t=>t.uniqueId===a));if(e)for(const a of e.targetedAnimations)for(const o of n)a.animation.targetProperty===o.targetProperty&&a.target===i&&this._stopAnimationGroup(t,e)}}_stopAnimationGroup(t,n){n.stop(!0),n.dispose(),this._removeFromCurrentlyRunning(t,n)}_removeFromCurrentlyRunning(t,n){const i=t._getGlobalContextVariable("currentlyRunningAnimationGroups",[]),e=i.indexOf(n.uniqueId);-1!==e&&(i.splice(e,1),t._setGlobalContextVariable("currentlyRunningAnimationGroups",i))}_cancelPendingTasks(t){const n=this.currentAnimationGroup.getValue(t);n&&this._stopAnimationGroup(t,n)}getClassName(){return"FlowGraphPlayAnimationBlock"}}(0,o.H7)("FlowGraphPlayAnimationBlock",FlowGraphPlayAnimationBlock)}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 9928.real-time-viewer.umd.min.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunkCrystaldesignRealTimeViewer=self.webpackChunkCrystaldesignRealTimeViewer||[]).push([[9928],{15472:(e,t,n)=>{var r=n(17416);const o="fogVertexDeclaration",i="#ifdef FOG\nvarying vFogDistance: vec3f;\n#endif\n";r.v.IncludesShadersStoreWGSL[o]||(r.v.IncludesShadersStoreWGSL[o]=i)},37470:(e,t,n)=>{var r=n(17416);const o="logDepthDeclaration",i="#ifdef LOGARITHMICDEPTH\nuniform logarithmicDepthConstant: f32;varying vFragmentDepth: f32;\n#endif\n";r.v.IncludesShadersStoreWGSL[o]||(r.v.IncludesShadersStoreWGSL[o]=i)},27350:(e,t,n)=>{var r=n(17416);const o="logDepthVertex",i="#ifdef LOGARITHMICDEPTH\nvertexOutputs.vFragmentDepth=1.0+vertexOutputs.position.w;vertexOutputs.position.z=log2(max(0.000001,vertexOutputs.vFragmentDepth))*uniforms.logarithmicDepthConstant;\n#endif\n";r.v.IncludesShadersStoreWGSL[o]||(r.v.IncludesShadersStoreWGSL[o]=i)},29928:(e,t,n)=>{n.r(t),n.d(t,{spritesVertexShaderWGSL:()=>s});var r=n(17416);n(15472),n(37470),n(27350);const o="spritesVertexShader",i="attribute position: vec4f;attribute options: vec2f;attribute offsets: vec2f;attribute inverts: vec2f;attribute cellInfo: vec4f;attribute color: vec4f;uniform view: mat4x4f;uniform projection: mat4x4f;varying vUV: vec2f;varying vColor: vec4f;\n#include<fogVertexDeclaration>\n#include<logDepthDeclaration>\n#define CUSTOM_VERTEX_DEFINITIONS\n@vertex\nfn main(input : VertexInputs)->FragmentInputs {\n#define CUSTOM_VERTEX_MAIN_BEGIN\nvar viewPos: vec3f=(uniforms.view* vec4f(input.position.xyz,1.0)).xyz; \nvar cornerPos: vec2f;var angle: f32=input.position.w;var size: vec2f= vec2f(input.options.x,input.options.y);var offset: vec2f=input.offsets.xy;cornerPos= vec2f(offset.x-0.5,offset.y -0.5)*size;var rotatedCorner: vec3f;rotatedCorner.x=cornerPos.x*cos(angle)-cornerPos.y*sin(angle);rotatedCorner.y=cornerPos.x*sin(angle)+cornerPos.y*cos(angle);rotatedCorner.z=0.;viewPos+=rotatedCorner;vertexOutputs.position=uniforms.projection*vec4f(viewPos,1.0); \nvertexOutputs.vColor=input.color;var uvOffset: vec2f= vec2f(abs(offset.x-input.inverts.x),abs(1.0-offset.y-input.inverts.y));var uvPlace: vec2f=input.cellInfo.xy;var uvSize: vec2f=input.cellInfo.zw;vertexOutputs.vUV.x=uvPlace.x+uvSize.x*uvOffset.x;vertexOutputs.vUV.y=uvPlace.y+uvSize.y*uvOffset.y;\n#ifdef FOG\nvertexOutputs.vFogDistance=viewPos;\n#endif\n#include<logDepthVertex>\n#define CUSTOM_VERTEX_MAIN_END\n}";r.v.ShadersStoreWGSL[o]||(r.v.ShadersStoreWGSL[o]=i);const s={name:o,shader:i}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/*! filename:9928 */
|