@arcgis/core 6.0.0-next.47 → 6.0.0-next.48
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/PopupTemplate.js +1 -1
- package/applications/MapViewer/mediaUtils.js +1 -1
- package/applications/Play/transformToolUtils.d.ts +74 -0
- package/applications/Play/transformToolUtils.js +2 -0
- package/arcgisGlobal.d.ts +2 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/00331b59ca88e333fef8.js +1 -0
- package/assets/esri/core/workers/chunks/01f834149d0f89deaef8.js +1 -0
- package/assets/esri/core/workers/chunks/021bd07b9a3e70598840.js +1 -0
- package/assets/esri/core/workers/chunks/022565ef98a702ab952f.js +1 -0
- package/assets/esri/core/workers/chunks/037c2d2ccb4bf4db4fec.js +1 -0
- package/assets/esri/core/workers/chunks/042d7669093a16d6e77e.js +1 -0
- package/assets/esri/core/workers/chunks/04ee9dc3e5a90d015f2f.js +1 -0
- package/assets/esri/core/workers/chunks/052b248db9ff46c6f36b.js +1 -0
- package/assets/esri/core/workers/chunks/{0ac38ca04285cd5ef1a0.js → 056a815273653271bf75.js} +37 -31
- package/assets/esri/core/workers/chunks/05ec995edeb73ccba8b6.js +1 -0
- package/assets/esri/core/workers/chunks/0636a6629bd42b67ad00.js +1 -0
- package/assets/esri/core/workers/chunks/06966406bee9c33beac7.js +1 -0
- package/assets/esri/core/workers/chunks/07ce1d788ed1c9b926db.js +2 -0
- package/assets/esri/core/workers/chunks/0a7d721d8ce5803124ed.js +1 -0
- package/assets/esri/core/workers/chunks/0c1f1eba7846a05c6fcc.js +1 -0
- package/assets/esri/core/workers/chunks/0c90f857976527db567e.js +1 -0
- package/assets/esri/core/workers/chunks/0d83237e9c7291ec3ef5.js +1 -0
- package/assets/esri/core/workers/chunks/0fd5ff5b6037c89257ec.js +1 -0
- package/assets/esri/core/workers/chunks/1053e9bc73cded8d403a.js +1 -0
- package/assets/esri/core/workers/chunks/110f78d5e78732750097.js +1 -0
- package/assets/esri/core/workers/chunks/12add2003631fa314f25.js +1 -0
- package/assets/esri/core/workers/chunks/1345413ec0b4128849b1.js +1 -0
- package/assets/esri/core/workers/chunks/13a5d2c9d2ae6b0a297b.js +1 -0
- package/assets/esri/core/workers/chunks/1430be5ba5a20d587b37.js +1 -0
- package/assets/esri/core/workers/chunks/14a00ec7bc0f230d994c.js +1 -0
- package/assets/esri/core/workers/chunks/14bac20e21bad6bb95c8.js +1 -0
- package/assets/esri/core/workers/chunks/163e97987e1f75610009.js +1 -0
- package/assets/esri/core/workers/chunks/1680091022f0964d47b1.js +1 -0
- package/assets/esri/core/workers/chunks/16d0433d1b02606fdd00.js +1 -0
- package/assets/esri/core/workers/chunks/16e4686ec9e408716087.js +1 -0
- package/assets/esri/core/workers/chunks/1705e9d085499a854f14.js +1 -0
- package/assets/esri/core/workers/chunks/1908da6e2b1e5f6d2992.js +1 -0
- package/assets/esri/core/workers/chunks/1971dbb6ac3ce1d5e367.js +1 -0
- package/assets/esri/core/workers/chunks/1afe435a9a23858e694e.js +1 -0
- package/assets/esri/core/workers/chunks/1b4e53575290d7a3feb1.js +1 -0
- package/assets/esri/core/workers/chunks/1bde6b7b54f07573d031.js +1 -0
- package/assets/esri/core/workers/chunks/1c7a21387d11dc907ae4.js +1 -0
- package/assets/esri/core/workers/chunks/1c7bd11f6014ffe7aac5.js +1 -0
- package/assets/esri/core/workers/chunks/1d4db5c0de1b1440b7c8.js +1 -0
- package/assets/esri/core/workers/chunks/1d57b1445afec89a7941.js +1 -0
- package/assets/esri/core/workers/chunks/1d9e5298ee4309022ee1.js +1 -0
- package/assets/esri/core/workers/chunks/1e39f97cc9ffbc282ffe.js +1 -0
- package/assets/esri/core/workers/chunks/1f94ce4d7595018e7b90.js +1 -0
- package/assets/esri/core/workers/chunks/2019b43c545b01f2c3fd.js +1 -0
- package/assets/esri/core/workers/chunks/21911cdbbf068cbf8641.js +1 -0
- package/assets/esri/core/workers/chunks/21aa29039a95debd7f44.js +1 -0
- package/assets/esri/core/workers/chunks/22c131418a907bf09cc0.js +1 -0
- package/assets/esri/core/workers/chunks/230e5be597a8e8172513.js +1 -0
- package/assets/esri/core/workers/chunks/23ed0f61c49df3ae631e.js +1 -0
- package/assets/esri/core/workers/chunks/2415db54c6da71c857a6.js +1 -0
- package/assets/esri/core/workers/chunks/244816f7dc50581b826b.js +1 -0
- package/assets/esri/core/workers/chunks/2458d6504682c1877ddc.js +1 -0
- package/assets/esri/core/workers/chunks/2502688aa275d9064e78.js +1 -0
- package/assets/esri/core/workers/chunks/250e6c23dbf50dbcf749.js +1 -0
- package/assets/esri/core/workers/chunks/255f5b45c4d32f97f86c.js +1 -0
- package/assets/esri/core/workers/chunks/27dfc461e44b58e7fbc0.js +1 -0
- package/assets/esri/core/workers/chunks/28425ff10dc0b181a6ba.js +1 -0
- package/assets/esri/core/workers/chunks/297fc73f8018d870ab82.js +1 -0
- package/assets/esri/core/workers/chunks/29b74a3ff03d3c8b65dc.js +1 -0
- package/assets/esri/core/workers/chunks/2d106419cd3a161587bd.js +1 -0
- package/assets/esri/core/workers/chunks/2fcd168262942494452a.js +1 -0
- package/assets/esri/core/workers/chunks/2fe55882a9ff5a74867b.js +1 -0
- package/assets/esri/core/workers/chunks/31f9d86b2a2bb05143b5.js +1 -0
- package/assets/esri/core/workers/chunks/340a893f1003953adab7.js +1 -0
- package/assets/esri/core/workers/chunks/341970c3550c9ca3938d.js +1 -0
- package/assets/esri/core/workers/chunks/3654672d772d11484883.js +1 -0
- package/assets/esri/core/workers/chunks/3695ed5d82ea1514147e.js +1 -0
- package/assets/esri/core/workers/chunks/3737025b8ed71099890f.js +1 -0
- package/assets/esri/core/workers/chunks/38b7ae210c9d39449853.js +1 -0
- package/assets/esri/core/workers/chunks/38ea54b715a08bd8d794.js +1 -0
- package/assets/esri/core/workers/chunks/3ab33631e0f6f8f2cbbc.js +1 -0
- package/assets/esri/core/workers/chunks/3ad149ec07285a3f5777.js +1 -0
- package/assets/esri/core/workers/chunks/3af0ff5a0b82872aac38.js +1 -0
- package/assets/esri/core/workers/chunks/3b434fc144f6b1a21f97.js +1 -0
- package/assets/esri/core/workers/chunks/3b9415dfd7546aeec261.js +1 -0
- package/assets/esri/core/workers/chunks/3be49515f93ea3730be3.js +1 -0
- package/assets/esri/core/workers/chunks/3d9294dd813707e48e55.js +1 -0
- package/assets/esri/core/workers/chunks/3ddcf58242f02feea584.js +1 -0
- package/assets/esri/core/workers/chunks/3e4fda8f6fea1ce84712.js +1 -0
- package/assets/esri/core/workers/chunks/3e57f8128102a72e7930.js +1 -0
- package/assets/esri/core/workers/chunks/3e9a72ea2d6d37a543dd.js +1 -0
- package/assets/esri/core/workers/chunks/3fac9a1b43b1035b22d6.js +1 -0
- package/assets/esri/core/workers/chunks/3fdce20b9efc05dd1cbe.js +1 -0
- package/assets/esri/core/workers/chunks/40af4142bc92166aaaf2.js +1 -0
- package/assets/esri/core/workers/chunks/40b101a969ac2b113a99.js +1 -0
- package/assets/esri/core/workers/chunks/412c7d198ee121b34494.js +1 -0
- package/assets/esri/core/workers/chunks/41c9880c718f0aaba78a.js +1 -0
- package/assets/esri/core/workers/chunks/42953a1ea2872f087d25.js +1 -0
- package/assets/esri/core/workers/chunks/45f02d1ec060615fa7c5.js +1 -0
- package/assets/esri/core/workers/chunks/4608f4ba5649f107827f.js +1 -0
- package/assets/esri/core/workers/chunks/476b42902f6d0cb03489.js +1 -0
- package/assets/esri/core/workers/chunks/47cd157c9d11986d8d3a.js +1 -0
- package/assets/esri/core/workers/chunks/4813bd8bff055eb29377.js +1 -0
- package/assets/esri/core/workers/chunks/48937df95a2e03412dfd.js +1 -0
- package/assets/esri/core/workers/chunks/48b60ff59afbae865de1.js +1 -0
- package/assets/esri/core/workers/chunks/49cde0a9b3f1c3965f26.js +1 -0
- package/assets/esri/core/workers/chunks/4a41bf3d1e2e9bb79771.js +2 -0
- package/assets/esri/core/workers/chunks/4a45f63b37f1e736e99d.js +1 -0
- package/assets/esri/core/workers/chunks/4cf8bddc3e0619e34424.js +1 -0
- package/assets/esri/core/workers/chunks/4d2d9d4e31af8af43445.js +1 -0
- package/assets/esri/core/workers/chunks/4dc75d9c860177cfc012.js +1 -0
- package/assets/esri/core/workers/chunks/4e3414d75d8378490207.js +1 -0
- package/assets/esri/core/workers/chunks/4e4eedddd954f4ad3841.js +1 -0
- package/assets/esri/core/workers/chunks/50440f9865edd9b4851d.js +1 -0
- package/assets/esri/core/workers/chunks/5109b48666138df14038.js +1 -0
- package/assets/esri/core/workers/chunks/5253933277d16dbe7ab6.js +1 -0
- package/assets/esri/core/workers/chunks/52f96030709bd29ef47d.js +1 -0
- package/assets/esri/core/workers/chunks/53277ccca55731e6eb36.js +1 -0
- package/assets/esri/core/workers/chunks/53daa71ecf0155eeb498.js +1 -0
- package/assets/esri/core/workers/chunks/5404ffa9aa1f3fa9973a.js +1 -0
- package/assets/esri/core/workers/chunks/54a99b10f2ecf76061af.js +1 -0
- package/assets/esri/core/workers/chunks/556f4ee089f71bf201c2.js +1 -0
- package/assets/esri/core/workers/chunks/55ac40a5257faf92c43d.js +1 -0
- package/assets/esri/core/workers/chunks/55d28d3f5b8ced061e39.js +1 -0
- package/assets/esri/core/workers/chunks/560961eeacc861a690a1.js +1 -0
- package/assets/esri/core/workers/chunks/564b38915cc3a44a96ea.js +1 -0
- package/assets/esri/core/workers/chunks/5729baa3151ac10d0d04.js +1 -0
- package/assets/esri/core/workers/chunks/57cf2bd82b006e78f8e5.js +1 -0
- package/assets/esri/core/workers/chunks/5928c270c5bf4345dab5.js +1 -0
- package/assets/esri/core/workers/chunks/5af001311d2042f14738.js +1 -0
- package/assets/esri/core/workers/chunks/5afd379eaf3d37be0854.js +1 -0
- package/assets/esri/core/workers/chunks/5b2e95bd0f48f4b283bc.js +1 -0
- package/assets/esri/core/workers/chunks/5bda285f6ecf725676b3.js +1 -0
- package/assets/esri/core/workers/chunks/5bea201cb7e24b14b852.js +1 -0
- package/assets/esri/core/workers/chunks/5cd896edff4829aab42e.js +1 -0
- package/assets/esri/core/workers/chunks/5d14591449ef16c0976f.js +1 -0
- package/assets/esri/core/workers/chunks/5d3fa06eb5eb2b663a8f.js +1 -0
- package/assets/esri/core/workers/chunks/5d75fcaded78f76efd3e.js +1 -0
- package/assets/esri/core/workers/chunks/5e816e62664a9a968833.js +1 -0
- package/assets/esri/core/workers/chunks/6004a9582ffb96d31640.js +1 -0
- package/assets/esri/core/workers/chunks/6007b6b65154e477d96a.js +1 -0
- package/assets/esri/core/workers/chunks/6033eef7867f5c82fdc6.js +1 -0
- package/assets/esri/core/workers/chunks/60556278f4bfae63a49a.js +1 -0
- package/assets/esri/core/workers/chunks/621c5b3f1e29c17426e7.js +1 -0
- package/assets/esri/core/workers/chunks/6234a96aaf934ed36793.js +1 -0
- package/assets/esri/core/workers/chunks/6274f3192d2edbc2629e.js +1 -0
- package/assets/esri/core/workers/chunks/641981a68199890bde27.js +1 -0
- package/assets/esri/core/workers/chunks/6538253abdafc8e6d112.js +1 -0
- package/assets/esri/core/workers/chunks/658eb6efe5c2210def01.js +1 -0
- package/assets/esri/core/workers/chunks/65a58ffdb651c948b52c.js +1 -0
- package/assets/esri/core/workers/chunks/690a3afeeb3dbd252524.js +1 -0
- package/assets/esri/core/workers/chunks/6b73dfc9252b32f1eae2.js +1 -0
- package/assets/esri/core/workers/chunks/6ba6714da4dcb5a6fde4.js +1 -0
- package/assets/esri/core/workers/chunks/6bf81005fd647e3cc4bf.js +1 -0
- package/assets/esri/core/workers/chunks/6c20144cf05f29dd00fc.js +1 -0
- package/assets/esri/core/workers/chunks/6c21964eb7c25c8b1e9a.js +1 -0
- package/assets/esri/core/workers/chunks/6c4c06a4fa585f56e6a3.js +1 -0
- package/assets/esri/core/workers/chunks/6d30cf656be3bccd3ca7.js +1 -0
- package/assets/esri/core/workers/chunks/6d86eadd4d62c9218927.js +1 -0
- package/assets/esri/core/workers/chunks/6e30a6c3224207e13a7a.js +1 -0
- package/assets/esri/core/workers/chunks/6e4698879e7d8fbc4d12.js +1 -0
- package/assets/esri/core/workers/chunks/70695e0fb53018d48e7b.js +2 -0
- package/assets/esri/core/workers/chunks/708ba5a28c093994c4bd.js +1 -0
- package/assets/esri/core/workers/chunks/71295afd21fc5bc5ddbc.js +1 -0
- package/assets/esri/core/workers/chunks/72c66f2b5479a3f86b94.js +1 -0
- package/assets/esri/core/workers/chunks/72ef9199ded8deea05d1.js +1 -0
- package/assets/esri/core/workers/chunks/737b748d0fbfd2e0cf02.js +1 -0
- package/assets/esri/core/workers/chunks/73bf76a3a0418edb26a5.js +1 -0
- package/assets/esri/core/workers/chunks/755df811d724a46957c5.js +1 -0
- package/assets/esri/core/workers/chunks/7585a0d26bfe7efda194.js +1 -0
- package/assets/esri/core/workers/chunks/758fcf7000eb27ba75e2.js +1 -0
- package/assets/esri/core/workers/chunks/75bc76953bdb63a095e6.js +1 -0
- package/assets/esri/core/workers/chunks/762842aba4a1dd85db64.js +1 -0
- package/assets/esri/core/workers/chunks/765b18e66111d09447de.js +1 -0
- package/assets/esri/core/workers/chunks/766a1357be2ed7f4e125.js +1 -0
- package/assets/esri/core/workers/chunks/76e20d88983a77b003e1.js +1 -0
- package/assets/esri/core/workers/chunks/773ba0909ccd3a034c31.js +1 -0
- package/assets/esri/core/workers/chunks/794a9f116c4700bb1210.js +1 -0
- package/assets/esri/core/workers/chunks/794f691166c0693993ac.js +1 -0
- package/assets/esri/core/workers/chunks/7960b6eb02fdaff6ada7.js +1 -0
- package/assets/esri/core/workers/chunks/7a98b29b3f82d82da1da.js +1 -0
- package/assets/esri/core/workers/chunks/7b29fc210b5878951cdc.js +1 -0
- package/assets/esri/core/workers/chunks/7ccec1d7e9aca860a150.js +1 -0
- package/assets/esri/core/workers/chunks/7d040257ebefcbe896c7.js +1 -0
- package/assets/esri/core/workers/chunks/7d74bcce7d8931f9486d.js +1 -0
- package/assets/esri/core/workers/chunks/80cf3a616922e3d15d67.js +1 -0
- package/assets/esri/core/workers/chunks/80da6d01bb1dcef9e004.js +1 -0
- package/assets/esri/core/workers/chunks/812cb2e9efc4d335e9e9.js +1 -0
- package/assets/esri/core/workers/chunks/8147bbc6c42d2071e149.js +1 -0
- package/assets/esri/core/workers/chunks/836b131247908097be7e.js +1 -0
- package/assets/esri/core/workers/chunks/837e421a81c7dae6b67c.js +1 -0
- package/assets/esri/core/workers/chunks/83bc862c242ff0629c8b.js +1 -0
- package/assets/esri/core/workers/chunks/840258be26978bc75609.js +1 -0
- package/assets/esri/core/workers/chunks/85979b277f282f4806fe.js +1 -0
- package/assets/esri/core/workers/chunks/85992d817e58af01fa70.js +1 -0
- package/assets/esri/core/workers/chunks/85d18a646f1c8e9e041d.js +1 -0
- package/assets/esri/core/workers/chunks/87c33e729d91fa119aa4.js +1 -0
- package/assets/esri/core/workers/chunks/892d99cc12110399fae3.js +1 -0
- package/assets/esri/core/workers/chunks/8b104a30814ecc0ef588.js +1 -0
- package/assets/esri/core/workers/chunks/8c0afb02e028a520cafc.js +1 -0
- package/assets/esri/core/workers/chunks/8c94e987754b3919181e.js +1 -0
- package/assets/esri/core/workers/chunks/8e0ecc7f55dd8bf2cf16.js +1 -0
- package/assets/esri/core/workers/chunks/919115788da38049aea7.js +2 -0
- package/assets/esri/core/workers/chunks/9436749830e078ddba45.js +1 -0
- package/assets/esri/core/workers/chunks/95784bb703ad5e9886d8.js +1 -0
- package/assets/esri/core/workers/chunks/96bbd5af1902cc7a0347.js +1 -0
- package/assets/esri/core/workers/chunks/972677041782aea9be46.js +1 -0
- package/assets/esri/core/workers/chunks/97cdcedfe853280f6258.js +1 -0
- package/assets/esri/core/workers/chunks/98af83f8126c043aa49c.js +1 -0
- package/assets/esri/core/workers/chunks/9a4498d5865c88a86755.js +1 -0
- package/assets/esri/core/workers/chunks/9b57dc3b74f43b2c17b3.js +1 -0
- package/assets/esri/core/workers/chunks/9bec57017e6c009b5d41.js +1 -0
- package/assets/esri/core/workers/chunks/9c52b6e951ec142653e0.js +1 -0
- package/assets/esri/core/workers/chunks/9cc0250d304d93f96c01.js +1 -0
- package/assets/esri/core/workers/chunks/9d0db1230a4b95c59f1e.js +1 -0
- package/assets/esri/core/workers/chunks/9d0dfc9765c1ce96a168.js +1 -0
- package/assets/esri/core/workers/chunks/9d1a6fb14475ce790149.js +1 -0
- package/assets/esri/core/workers/chunks/9d6d4fe9a73aa17a4840.js +1 -0
- package/assets/esri/core/workers/chunks/9dcf5be203f8b1e47d9d.js +1 -0
- package/assets/esri/core/workers/chunks/9dece842ada6278c33ef.js +1 -0
- package/assets/esri/core/workers/chunks/9eb00bb8dab995c2dcb3.js +1 -0
- package/assets/esri/core/workers/chunks/9f087fcaf30100e447d4.js +1 -0
- package/assets/esri/core/workers/chunks/9f63600039606e3ce5e0.js +1 -0
- package/assets/esri/core/workers/chunks/9f8d5cc6c7c2c36c6c7b.js +1 -0
- package/assets/esri/core/workers/chunks/a12e29f2cb78fdaa0753.js +1 -0
- package/assets/esri/core/workers/chunks/a2e25c964251c2f25340.js +1 -0
- package/assets/esri/core/workers/chunks/a3409f879cae2911ef3c.js +1 -0
- package/assets/esri/core/workers/chunks/a39c0ab14d6fe337f2f3.js +1 -0
- package/assets/esri/core/workers/chunks/a5ae717842c053f5bc9c.js +1 -0
- package/assets/esri/core/workers/chunks/a5fe0625f38f1b3f8c84.js +1 -0
- package/assets/esri/core/workers/chunks/a6a3d80e786edaa0156a.js +1 -0
- package/assets/esri/core/workers/chunks/a6b139e22bd0efe20b01.js +1 -0
- package/assets/esri/core/workers/chunks/a710c7a0584d9e45a469.js +1 -0
- package/assets/esri/core/workers/chunks/a7537388778e81c9d4b4.js +1 -0
- package/assets/esri/core/workers/chunks/a8314873ed823b6ac6d6.js +1 -0
- package/assets/esri/core/workers/chunks/a8bd42057e3543c17800.js +1 -0
- package/assets/esri/core/workers/chunks/a94291f7e98864091554.js +1 -0
- package/assets/esri/core/workers/chunks/a945f7f9504e9602b9b0.js +1 -0
- package/assets/esri/core/workers/chunks/a9f1d7e4432e74285a58.js +1 -0
- package/assets/esri/core/workers/chunks/aa1793102cb8e7c5b600.js +1 -0
- package/assets/esri/core/workers/chunks/aa702f65d735eb033812.js +1 -0
- package/assets/esri/core/workers/chunks/aae6a546d2aedc22debd.js +1 -0
- package/assets/esri/core/workers/chunks/ab78c25309395049d976.js +1 -0
- package/assets/esri/core/workers/chunks/ab7e6f8fff957daa2a33.js +1 -0
- package/assets/esri/core/workers/chunks/ab8476dfb0818fc388ba.js +1 -0
- package/assets/esri/core/workers/chunks/ad029f4f7c9b79fbce8d.js +1 -0
- package/assets/esri/core/workers/chunks/aed8a1a3843aabe819f2.js +1 -0
- package/assets/esri/core/workers/chunks/b33922def112150e565f.js +1 -0
- package/assets/esri/core/workers/chunks/b4fd8f232c3d09481127.js +1 -0
- package/assets/esri/core/workers/chunks/b51df1d7344d47a9b72a.js +1 -0
- package/assets/esri/core/workers/chunks/b58a003bd74f158cf62a.js +1 -0
- package/assets/esri/core/workers/chunks/b70af9fb974ef9836efd.js +1 -0
- package/assets/esri/core/workers/chunks/b7c9f95af3473b005267.js +1 -0
- package/assets/esri/core/workers/chunks/b88e1084097a93a89f61.js +1 -0
- package/assets/esri/core/workers/chunks/b92b6dd6ca5c740bf509.js +1 -0
- package/assets/esri/core/workers/chunks/b9ccaaee349e058a78df.js +1 -0
- package/assets/esri/core/workers/chunks/ba80d7ac1074ba7530d4.js +1 -0
- package/assets/esri/core/workers/chunks/babb2683e688337ea054.js +1 -0
- package/assets/esri/core/workers/chunks/bafced37f9f20a4812d7.js +1 -0
- package/assets/esri/core/workers/chunks/bb3520800b085d43cd83.js +1 -0
- package/assets/esri/core/workers/chunks/bb3a0f07e1f758d82a81.js +1 -0
- package/assets/esri/core/workers/chunks/bbf28e8c5acd87771dc7.js +1 -0
- package/assets/esri/core/workers/chunks/bbf6c995039ade67de07.js +1 -0
- package/assets/esri/core/workers/chunks/bdaf880bf4663d8263cc.js +1 -0
- package/assets/esri/core/workers/chunks/bdc2617101988ab5e9f9.js +1 -0
- package/assets/esri/core/workers/chunks/bfeb4b089dbd0165d2ab.js +1 -0
- package/assets/esri/core/workers/chunks/c0f2b6a10bcc766318f5.js +1 -0
- package/assets/esri/core/workers/chunks/c117db5805b5ce292ac2.js +1 -0
- package/assets/esri/core/workers/chunks/c248db5e4d92cfb3c4d1.js +1 -0
- package/assets/esri/core/workers/chunks/c24d383a28da266922c2.js +1 -0
- package/assets/esri/core/workers/chunks/c36dd2f7f6ea1044cd62.js +1 -0
- package/assets/esri/core/workers/chunks/c3c0f24a9e0047232ae1.js +1 -0
- package/assets/esri/core/workers/chunks/c4974a4dc081e23899ba.js +1 -0
- package/assets/esri/core/workers/chunks/c6066041f8ca0dd94480.js +1 -0
- package/assets/esri/core/workers/chunks/c80c3b746c286f8b860a.js +1 -0
- package/assets/esri/core/workers/chunks/c85184baccb4004bf42b.js +1 -0
- package/assets/esri/core/workers/chunks/c945d36f5406ea4e4e3a.js +1 -0
- package/assets/esri/core/workers/chunks/ca1f98251f246d481ba2.js +1 -0
- package/assets/esri/core/workers/chunks/ca309b6aca9c0948ebae.js +1 -0
- package/assets/esri/core/workers/chunks/cbaade131e08ec123719.js +1 -0
- package/assets/esri/core/workers/chunks/cc834768685065ddc4c3.js +1 -0
- package/assets/esri/core/workers/chunks/cd21fc8eabb11e6ecdc8.js +1 -0
- package/assets/esri/core/workers/chunks/cd9100a7c8309dfa7569.js +1 -0
- package/assets/esri/core/workers/chunks/ce02adb527389b90223d.js +1 -0
- package/assets/esri/core/workers/chunks/ce995e7c03e9e65c987a.js +1 -0
- package/assets/esri/core/workers/chunks/ced5dfb2bf46fc5eac8c.js +2 -0
- package/assets/esri/core/workers/chunks/cef537fa9705dd1cf685.js +1 -0
- package/assets/esri/core/workers/chunks/cf4b92ded0503f991c0e.js +1 -0
- package/assets/esri/core/workers/chunks/cf859cb25ceccba1588c.js +1 -0
- package/assets/esri/core/workers/chunks/d007762f05dbc9272587.js +1 -0
- package/assets/esri/core/workers/chunks/d036c6e9b7ef9f8434c8.js +1 -0
- package/assets/esri/core/workers/chunks/d22a4124af837bae4c28.js +1 -0
- package/assets/esri/core/workers/chunks/d3b646ca17b91e59bf48.js +1 -0
- package/assets/esri/core/workers/chunks/d4a79c878e0a1a42fdc0.js +1 -0
- package/assets/esri/core/workers/chunks/d4b6ea046995dcb5872f.js +1 -0
- package/assets/esri/core/workers/chunks/d4d07419a4132f69941d.js +1 -0
- package/assets/esri/core/workers/chunks/d4f6be8290ad0243e1b8.js +1 -0
- package/assets/esri/core/workers/chunks/d695d30949b881217bab.js +1 -0
- package/assets/esri/core/workers/chunks/d6a513171dcc14e52a84.js +1 -0
- package/assets/esri/core/workers/chunks/d82ff5c137227563c5dc.js +1 -0
- package/assets/esri/core/workers/chunks/d8eea5ffe05c620fac9e.js +1 -0
- package/assets/esri/core/workers/chunks/d96e63d66f7b1f4ea54a.js +2 -0
- package/assets/esri/core/workers/chunks/d997d81d0965c05447d4.js +1 -0
- package/assets/esri/core/workers/chunks/da0e55fbc14502ce7c38.js +1 -0
- package/assets/esri/core/workers/chunks/da6328b16ef589c1d2ae.js +1 -0
- package/assets/esri/core/workers/chunks/da673ffb77ae29d361ae.js +1 -0
- package/assets/esri/core/workers/chunks/daa7b13e92230464850f.js +1 -0
- package/assets/esri/core/workers/chunks/dacbefe9706585e6c273.js +1 -0
- package/assets/esri/core/workers/chunks/db438bbfbb137bb4484e.js +1 -0
- package/assets/esri/core/workers/chunks/db66be88c52b1f5e5aad.js +1 -0
- package/assets/esri/core/workers/chunks/dc3206ae22700a216ec3.js +1 -0
- package/assets/esri/core/workers/chunks/dcc7b221c3fa712d0fd1.js +1 -0
- package/assets/esri/core/workers/chunks/dd744dcd5b8751b59c83.js +1 -0
- package/assets/esri/core/workers/chunks/de6b14d13977f967a627.js +1 -0
- package/assets/esri/core/workers/chunks/df968a32256df81c0f05.js +1 -0
- package/assets/esri/core/workers/chunks/e0961f79f4f0dd68a4c6.js +1 -0
- package/assets/esri/core/workers/chunks/e1645882f54818c4036a.js +1 -0
- package/assets/esri/core/workers/chunks/e1dfc05bebfbf4a2274e.js +1 -0
- package/assets/esri/core/workers/chunks/e4309f214162e9daa6ed.js +1 -0
- package/assets/esri/core/workers/chunks/e44679a0d271c1efb60d.js +1 -0
- package/assets/esri/core/workers/chunks/e4a9a6dd8cc44a4b7f32.js +1 -0
- package/assets/esri/core/workers/chunks/e575375e7c43ec22f05e.js +1 -0
- package/assets/esri/core/workers/chunks/e80526571f1a34de3278.js +1 -0
- package/assets/esri/core/workers/chunks/e9376357f24e4f59c0ee.js +1 -0
- package/assets/esri/core/workers/chunks/e99d3d85b0f074a1dcd3.js +1 -0
- package/assets/esri/core/workers/chunks/ebbb1aed4cdbb41095d6.js +1 -0
- package/assets/esri/core/workers/chunks/ec334f87203096caef43.js +1 -0
- package/assets/esri/core/workers/chunks/ecd6743a95526e2c2cbe.js +1 -0
- package/assets/esri/core/workers/chunks/ecfa2a675da831ec99ff.js +1 -0
- package/assets/esri/core/workers/chunks/edfb0a47ce9c3d89f833.js +1 -0
- package/assets/esri/core/workers/chunks/ee33e50a54752ac88d30.js +1 -0
- package/assets/esri/core/workers/chunks/ef353a93740a9d90cd8c.js +1 -0
- package/assets/esri/core/workers/chunks/ef928201beffbaa1c98d.js +1 -0
- package/assets/esri/core/workers/chunks/efadb45b4763c51e701b.js +1 -0
- package/assets/esri/core/workers/chunks/efe52385fe8efd933831.js +1 -0
- package/assets/esri/core/workers/chunks/f053cbfe671bd14c7d5b.js +1 -0
- package/assets/esri/core/workers/chunks/f10ccb31ed05c14a1740.js +1 -0
- package/assets/esri/core/workers/chunks/f11f40017ec97a2a6b5f.js +29 -0
- package/assets/esri/core/workers/chunks/f3035559945bdd619544.js +1 -0
- package/assets/esri/core/workers/chunks/f3744b12a5d0d8ca8621.js +1 -0
- package/assets/esri/core/workers/chunks/f67b6f57d71ad09dca1f.js +1 -0
- package/assets/esri/core/workers/chunks/f7c84687a5e6e2072380.js +1 -0
- package/assets/esri/core/workers/chunks/f7ed22285229ff42e6ab.js +1 -0
- package/assets/esri/core/workers/chunks/f7f5d8256e63d303cbcb.js +1 -0
- package/assets/esri/core/workers/chunks/f86d64f0adc7e23950a1.js +1 -0
- package/assets/esri/core/workers/chunks/f87d5450190896e61ff8.js +1 -0
- package/assets/esri/core/workers/chunks/f91682e4545b47b2d260.js +1 -0
- package/assets/esri/core/workers/chunks/f97dc99afe3375fc8e16.js +1 -0
- package/assets/esri/core/workers/chunks/f9dfa94f63a024d1860e.js +1 -0
- package/assets/esri/core/workers/chunks/facfea0ae3e204829326.js +1 -0
- package/assets/esri/core/workers/chunks/fba428cd4731872a74db.js +1 -0
- package/assets/esri/core/workers/chunks/fd64556a54111b4f37dd.js +1 -0
- package/assets/esri/core/workers/chunks/fd94fe2527f360af121e.js +1 -0
- package/assets/esri/core/workers/chunks/fdee2255f49b43056e9d.js +1 -0
- package/assets/esri/core/workers/chunks/fe529524d1fca11e0f78.js +1 -0
- package/assets/esri/core/workers/chunks/fe811d651d201f698b8f.js +2 -0
- package/assets/esri/core/workers/chunks/ff1e614fde01781360fa.js +1 -0
- package/assets/esri/core/workers/chunks/ff7cd800558dd4aab51c.js +1 -0
- package/assets/esri/core/workers/chunks/ffac34a030dfe5cec258.js +1 -0
- package/assets/esri/libs/lyr3d/lyr3DMain.wasm +0 -0
- package/assets/esri/libs/lyr3d/lyr3DWorker.wasm +0 -0
- package/chunks/CheckerBoard.glsl.js +1 -1
- package/chunks/ColorMaterial.glsl.js +2 -1
- package/chunks/Component.glsl.js +47 -47
- package/chunks/DefaultMaterial.glsl.js +4 -6
- package/chunks/ImageMaterial.glsl.js +1 -1
- package/chunks/LineCallout.glsl.js +1 -1
- package/chunks/LineMarker.glsl.js +2 -1
- package/chunks/MeasurementArrow.glsl.js +1 -1
- package/chunks/NativeLine.glsl.js +1 -1
- package/chunks/Path.glsl.js +2 -2
- package/chunks/Pattern.glsl.js +1 -1
- package/chunks/RealisticTree.glsl.js +1 -1
- package/chunks/RibbonLine.glsl.js +1 -1
- package/chunks/SlicePlaneMaterial.glsl.js +1 -1
- package/chunks/Terrain.glsl.js +1 -1
- package/chunks/Water.glsl.js +1 -1
- package/chunks/lyr3DMain.js +1 -1
- package/chunks/lyr3DWorker.js +1 -1
- package/config.js +1 -1
- package/core/Logger.js +1 -1
- package/core/libs/gl-matrix-2/math/quat.js +1 -1
- package/core/workers/Connection.d.ts +3 -9
- package/core/workers/WorkerFallback.js +2 -4
- package/core/workers/WorkerOwner.js +1 -1
- package/core/workers/workerFactory.js +1 -1
- package/core/workers/workers.js +1 -1
- package/core/workers.d.ts +1 -14
- package/form/FormTemplate.js +1 -1
- package/geometry/Mesh.js +1 -1
- package/geometry/support/curves/bezierCurveUtils.js +1 -1
- package/geometry/support/curves/ellipticArc7Utils.js +1 -1
- package/geometry/support/meshUtils/rotate.js +1 -1
- package/interfaces.d.ts +1 -7
- package/kernel.js +1 -1
- package/layers/Lyr3DWasmPerSceneView.js +1 -1
- package/layers/ParquetLayer.d.ts +2 -3
- package/layers/VectorTileLayer.js +1 -1
- package/layers/graphics/data/QueryEngine.js +1 -1
- package/layers/raster/formats/Raw.js +1 -1
- package/layers/raster/functions/rasterProjectionHelper.js +1 -1
- package/layers/support/AggregateFieldsIndex.js +1 -1
- package/layers/support/FieldCollector.js +2 -0
- package/layers/support/fieldUtils.d.ts +214 -1
- package/layers/support/fieldUtils.js +1 -1
- package/layers/support/relativeTimeQueryUtils.js +1 -1
- package/layers/support/types.d.ts +1 -2
- package/legend/ActiveLayerInfo.js +1 -1
- package/legend/LegendModel.js +1 -1
- package/legend/types.d.ts +15 -1
- package/package.json +2 -2
- package/renderers/ClassBreaksRenderer.js +1 -1
- package/renderers/DictionaryRenderer.js +1 -1
- package/renderers/DotDensityRenderer.js +1 -1
- package/renderers/HeatmapRenderer.js +1 -1
- package/renderers/PieChartRenderer.js +1 -1
- package/renderers/Renderer.js +1 -1
- package/renderers/SimpleRenderer.js +1 -1
- package/renderers/UniqueValueRenderer.js +1 -1
- package/renderers/mixins/VisualVariablesMixin.js +1 -1
- package/rest/print.js +1 -1
- package/symbols/CIMSymbol.js +1 -1
- package/symbols/Symbol.js +1 -1
- package/symbols/cim/Rasterizer.js +1 -1
- package/symbols/cim/cimAnalyzer.js +1 -1
- package/symbols/support/FeatureExpressionInfo.js +1 -1
- package/views/2d/engine/webgl/TextureManager.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/markers/ComputedMarkerParams.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/vectorTiles/VTLTechniqueSymbol.js +1 -1
- package/views/2d/interactive/editingTools/GraphicTransformTarget.js +2 -0
- package/views/2d/interactive/editingTools/MediaElementTransformTarget.js +2 -0
- package/views/2d/interactive/editingTools/MediaTransformToolsWrapper.js +1 -1
- package/views/2d/interactive/editingTools/TransformTool.js +1 -1
- package/views/2d/interactive/editingTools.js +1 -1
- package/views/2d/layers/support/MediaLayerInteraction.js +1 -1
- package/views/3d/glTF/internal/TextureTransformUtils.js +1 -1
- package/views/3d/interactive/visualElements/ExtendedLineVisualElement.js +1 -1
- package/views/3d/layers/SceneLayerGraphicsView3D.js +1 -1
- package/views/3d/layers/graphics/Deconflictor.js +1 -1
- package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/Graphics3DPolygonFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/objectResourceUtils.js +1 -1
- package/views/3d/layers/i3s/I3SClientMaterialUtil.js +1 -1
- package/views/3d/layers/i3s/I3SMaterialUtil.js +1 -1
- package/views/3d/layers/support/SceneLayerViewRequiredFields.js +1 -1
- package/views/3d/layers/support/createFeatureFilterHighlight.js +1 -1
- package/views/3d/support/engineContent/line.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentDrawParameters.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/Component.glsl.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterial.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterialInitParameters.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterialRepository.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ComputeNormalTexture.glsl.js +8 -8
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadBaseColorTexture.glsl.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/evaluateSceneLightingFragment.glsl.js +3 -2
- package/views/3d/webgl-engine/effects/snowcover/applySnow.glsl.js +4 -2
- package/views/3d/webgl-engine/lib/BufferGeometry.js +1 -1
- package/views/3d/webgl-engine/lib/GLTextureMaterial.js +1 -1
- package/views/3d/webgl-engine/lib/GeometryUtil.js +1 -1
- package/views/3d/webgl-engine/lib/Material.js +1 -1
- package/views/3d/webgl-engine/lib/PathEvaluator.js +1 -1
- package/views/3d/webgl-engine/lib/PathGeometry.js +1 -1
- package/views/3d/webgl-engine/materials/ColorMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/internal/ribbonLineBufferUtils.js +1 -1
- package/views/3d/webgl-engine/shaders/ColorMaterialTechniqueConfiguration.js +1 -1
- package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +14 -13
- package/views/interactive/keybindings.d.ts +67 -0
- package/views/layers/FeatureLikeLayerView.js +1 -1
- package/views/layers/support/MapServiceLayerViewHelper.js +1 -1
- package/widgets/Legend/support/ActiveLayerInfo.js +1 -1
- package/widgets/support/GridControls/GridControlsViewModel.js +1 -1
- package/assets/esri/core/workers/chunks/00620a90b32352bcdc71.js +0 -1
- package/assets/esri/core/workers/chunks/01a24ae6e3d730e193e2.js +0 -1
- package/assets/esri/core/workers/chunks/0284f608d25c654fcc11.js +0 -1
- package/assets/esri/core/workers/chunks/02debe67e6fef9d88bdd.js +0 -1
- package/assets/esri/core/workers/chunks/02feb2550b6878e62e2d.js +0 -1
- package/assets/esri/core/workers/chunks/035204000954973b0ebc.js +0 -1
- package/assets/esri/core/workers/chunks/04a1d08c3b5b1dc7628f.js +0 -1
- package/assets/esri/core/workers/chunks/05225506fdba0c827407.js +0 -1
- package/assets/esri/core/workers/chunks/0523f893870a1546d7d9.js +0 -1
- package/assets/esri/core/workers/chunks/06101f3da5e2fc708402.js +0 -1
- package/assets/esri/core/workers/chunks/06326c8cbe0d644eca16.js +0 -1
- package/assets/esri/core/workers/chunks/075fe33152fd79fe6d72.js +0 -1
- package/assets/esri/core/workers/chunks/077b755688346e0dc8d3.js +0 -1
- package/assets/esri/core/workers/chunks/0864da8f8f147016cf1c.js +0 -1
- package/assets/esri/core/workers/chunks/08fe248e412bb170210d.js +0 -1
- package/assets/esri/core/workers/chunks/090a7d0b0128d20879be.js +0 -1
- package/assets/esri/core/workers/chunks/0979a48905742486f222.js +0 -1
- package/assets/esri/core/workers/chunks/0ac4a3029ba17a9e2492.js +0 -1
- package/assets/esri/core/workers/chunks/0ae2933ab9b4a6ca56f2.js +0 -1
- package/assets/esri/core/workers/chunks/0b480583373b69773333.js +0 -1
- package/assets/esri/core/workers/chunks/0b6941781e35ce0f7274.js +0 -1
- package/assets/esri/core/workers/chunks/0bfc4e7640058811e10c.js +0 -1
- package/assets/esri/core/workers/chunks/0c1d8e0c2eae21f97fc0.js +0 -1
- package/assets/esri/core/workers/chunks/0da6abe3ceabfe78f7a0.js +0 -1
- package/assets/esri/core/workers/chunks/0dc1ac5531f7c8854686.js +0 -1
- package/assets/esri/core/workers/chunks/0e57bac610d41c7c9ad4.js +0 -1
- package/assets/esri/core/workers/chunks/0fda0d8b0eaeed2ab39d.js +0 -1
- package/assets/esri/core/workers/chunks/10ad7b35b6800d40444e.js +0 -1
- package/assets/esri/core/workers/chunks/116293b1ee788a89ce1e.js +0 -1
- package/assets/esri/core/workers/chunks/11877d4dc97f756e4711.js +0 -1
- package/assets/esri/core/workers/chunks/11e313dfca2579e68419.js +0 -1
- package/assets/esri/core/workers/chunks/12a08d0ad0f5fea32642.js +0 -1
- package/assets/esri/core/workers/chunks/13b40a611224ff5f4697.js +0 -1
- package/assets/esri/core/workers/chunks/13c64087be3b2985a21b.js +0 -1
- package/assets/esri/core/workers/chunks/14ef986665b4a1f6ccdc.js +0 -1
- package/assets/esri/core/workers/chunks/158cbf4075d3eca83a6a.js +0 -1
- package/assets/esri/core/workers/chunks/15a18c803a3aafa9a65b.js +0 -1
- package/assets/esri/core/workers/chunks/15a7a3264915fc8d3188.js +0 -1
- package/assets/esri/core/workers/chunks/15f2b27b8edc0d53e399.js +0 -1
- package/assets/esri/core/workers/chunks/162de06e54c0f9cba012.js +0 -1
- package/assets/esri/core/workers/chunks/17c6d66b47aa690df0d4.js +0 -1
- package/assets/esri/core/workers/chunks/17f99b130384c1ff2e01.js +0 -1
- package/assets/esri/core/workers/chunks/181d24ced5ef6b1f959b.js +0 -1
- package/assets/esri/core/workers/chunks/18e7fa4d3e0b1a084cc6.js +0 -1
- package/assets/esri/core/workers/chunks/1ae0c9345626e70affd3.js +0 -2
- package/assets/esri/core/workers/chunks/1c61ced6079443fc0ce8.js +0 -1
- package/assets/esri/core/workers/chunks/1c94d4d79952dc4067be.js +0 -1
- package/assets/esri/core/workers/chunks/1ca9f823caff691e964d.js +0 -1
- package/assets/esri/core/workers/chunks/1d9b0db37d5f3819ffca.js +0 -1
- package/assets/esri/core/workers/chunks/1e37337f47f45d6d8005.js +0 -1
- package/assets/esri/core/workers/chunks/1eaaa896eea3f2ffe6a6.js +0 -1
- package/assets/esri/core/workers/chunks/1f51567f47c2e2fc8a23.js +0 -1
- package/assets/esri/core/workers/chunks/200da109115eab8b2480.js +0 -1
- package/assets/esri/core/workers/chunks/2050c844b5a29b1df28a.js +0 -1
- package/assets/esri/core/workers/chunks/21939ef53bc71b42370f.js +0 -1
- package/assets/esri/core/workers/chunks/21a4c3d8265aca775616.js +0 -1
- package/assets/esri/core/workers/chunks/230189a28552ab00546d.js +0 -1
- package/assets/esri/core/workers/chunks/23fff0505e02fd364909.js +0 -1
- package/assets/esri/core/workers/chunks/244ffdb91237d1cbade3.js +0 -1
- package/assets/esri/core/workers/chunks/24bdeafbb16ae83bb8c3.js +0 -1
- package/assets/esri/core/workers/chunks/2515ce2ef279cdd4d5fa.js +0 -1
- package/assets/esri/core/workers/chunks/2671035cc08027185737.js +0 -1
- package/assets/esri/core/workers/chunks/271ae7deccb94112c2df.js +0 -1
- package/assets/esri/core/workers/chunks/27a5c6be4f847900d6ed.js +0 -1
- package/assets/esri/core/workers/chunks/27f0bbde1e9fa3f06d46.js +0 -1
- package/assets/esri/core/workers/chunks/286e3e050b29e6158e6f.js +0 -1
- package/assets/esri/core/workers/chunks/29a437a2b7b3a9b3e104.js +0 -1
- package/assets/esri/core/workers/chunks/2a224bc845c9bf682c54.js +0 -1
- package/assets/esri/core/workers/chunks/2a8168e109caa87d596f.js +0 -1
- package/assets/esri/core/workers/chunks/2ad69cc496235702bbf2.js +0 -1
- package/assets/esri/core/workers/chunks/2b06e8507d71c4d9b5b5.js +0 -1
- package/assets/esri/core/workers/chunks/2b4dd42920d37b1ff0a9.js +0 -2
- package/assets/esri/core/workers/chunks/2bdd5f0e0364b9e5f52b.js +0 -1
- package/assets/esri/core/workers/chunks/2c619c50cdcc37652c0b.js +0 -1
- package/assets/esri/core/workers/chunks/2c7f3fb74a076acf9b30.js +0 -1
- package/assets/esri/core/workers/chunks/2e9a1673b1d51aa082b6.js +0 -1
- package/assets/esri/core/workers/chunks/2e9d2f0a4e3c84d2ac2e.js +0 -1
- package/assets/esri/core/workers/chunks/30c5b584e8658b2b3607.js +0 -1
- package/assets/esri/core/workers/chunks/30e20461958951a31a5c.js +0 -1
- package/assets/esri/core/workers/chunks/31ef7b7074b3e3829763.js +0 -1
- package/assets/esri/core/workers/chunks/32b9bedd4bb0504f0b1d.js +0 -1
- package/assets/esri/core/workers/chunks/32ba94e59b411d3ff063.js +0 -1
- package/assets/esri/core/workers/chunks/3463b52d633a9336af28.js +0 -1
- package/assets/esri/core/workers/chunks/348f1def9cd2ddf92e87.js +0 -1
- package/assets/esri/core/workers/chunks/348f28d7ab46df878c6f.js +0 -1
- package/assets/esri/core/workers/chunks/3537fe95b83a13b156cc.js +0 -1
- package/assets/esri/core/workers/chunks/35426786de409d42a87f.js +0 -1
- package/assets/esri/core/workers/chunks/359ab29c4509dce0ffbd.js +0 -1
- package/assets/esri/core/workers/chunks/35f8896b52adaf952657.js +0 -1
- package/assets/esri/core/workers/chunks/365825c51fad1bb7f51f.js +0 -1
- package/assets/esri/core/workers/chunks/369780276b2755361f7d.js +0 -1
- package/assets/esri/core/workers/chunks/377158a19c9d6ef11387.js +0 -1
- package/assets/esri/core/workers/chunks/394b329e64d880cdb500.js +0 -1
- package/assets/esri/core/workers/chunks/39c23a52d7c3e1ee121c.js +0 -1
- package/assets/esri/core/workers/chunks/3a295fab549ae3caf9df.js +0 -1
- package/assets/esri/core/workers/chunks/3a3b57abfb92494cac84.js +0 -1
- package/assets/esri/core/workers/chunks/3a8320a40916c755c031.js +0 -1
- package/assets/esri/core/workers/chunks/3bb1e06861cd0563ed9f.js +0 -1
- package/assets/esri/core/workers/chunks/3cbb3c4e0e60a874ac6d.js +0 -1
- package/assets/esri/core/workers/chunks/3e67d50a2b2f8f837831.js +0 -29
- package/assets/esri/core/workers/chunks/3f92afa58c895bf87e62.js +0 -1
- package/assets/esri/core/workers/chunks/3fe04f13215474accb09.js +0 -1
- package/assets/esri/core/workers/chunks/3fe4c89acd325d36618d.js +0 -1
- package/assets/esri/core/workers/chunks/40748b846cf6923478c9.js +0 -1
- package/assets/esri/core/workers/chunks/4136c4de42b8818e2710.js +0 -1
- package/assets/esri/core/workers/chunks/41d674e73b57c8abe838.js +0 -1
- package/assets/esri/core/workers/chunks/422784ceae0d511868a0.js +0 -1
- package/assets/esri/core/workers/chunks/425347186c279bcc595c.js +0 -1
- package/assets/esri/core/workers/chunks/42eec0421e3663019549.js +0 -1
- package/assets/esri/core/workers/chunks/434a7ef5b25d83593b50.js +0 -1
- package/assets/esri/core/workers/chunks/4521f72ab0ea872e5d7c.js +0 -1
- package/assets/esri/core/workers/chunks/46d0db736c6e7decbcf6.js +0 -1
- package/assets/esri/core/workers/chunks/474015def9652ddf0640.js +0 -1
- package/assets/esri/core/workers/chunks/478a89317a12e9b4d146.js +0 -1
- package/assets/esri/core/workers/chunks/47af220003adfca2167e.js +0 -1
- package/assets/esri/core/workers/chunks/4869e097261ded90b8bb.js +0 -1
- package/assets/esri/core/workers/chunks/489b37c459e1af116aeb.js +0 -1
- package/assets/esri/core/workers/chunks/49c21c11621ff077e401.js +0 -1
- package/assets/esri/core/workers/chunks/4a8903fb1a5d30a68df9.js +0 -1
- package/assets/esri/core/workers/chunks/4ba856605f711b615e4c.js +0 -1
- package/assets/esri/core/workers/chunks/4d62877f521cc9663535.js +0 -1
- package/assets/esri/core/workers/chunks/4d7063c4152953afb859.js +0 -1
- package/assets/esri/core/workers/chunks/4d818b231e6d1fa73cc5.js +0 -1
- package/assets/esri/core/workers/chunks/4eab4e74c6a479c5f930.js +0 -1
- package/assets/esri/core/workers/chunks/4f3e0d583cfa9d1d6727.js +0 -2
- package/assets/esri/core/workers/chunks/4f4bc4f809b8936cd010.js +0 -1
- package/assets/esri/core/workers/chunks/4f8a915795f107b772c5.js +0 -1
- package/assets/esri/core/workers/chunks/503ee206e7de1f65e291.js +0 -1
- package/assets/esri/core/workers/chunks/50b8b1cce0a5f77c8372.js +0 -1
- package/assets/esri/core/workers/chunks/52a0aa2d19a495e48ab1.js +0 -1
- package/assets/esri/core/workers/chunks/5565b4e7c31d31a7e546.js +0 -1
- package/assets/esri/core/workers/chunks/561c48cb4d49b150765b.js +0 -1
- package/assets/esri/core/workers/chunks/5622f3faa59434772857.js +0 -1
- package/assets/esri/core/workers/chunks/5736feefa261589b6273.js +0 -1
- package/assets/esri/core/workers/chunks/5744c7350e4e2eb73aa9.js +0 -1
- package/assets/esri/core/workers/chunks/5788c5ab258b36c8a897.js +0 -1
- package/assets/esri/core/workers/chunks/57e0bf4be8a166d5b1eb.js +0 -1
- package/assets/esri/core/workers/chunks/5864bce1498a13ee5b7e.js +0 -2
- package/assets/esri/core/workers/chunks/590fe0f56bc4c33a50e7.js +0 -1
- package/assets/esri/core/workers/chunks/5b1cebae74c7214ccda9.js +0 -1
- package/assets/esri/core/workers/chunks/5b3db2c40feaefb7cbc0.js +0 -1
- package/assets/esri/core/workers/chunks/5ba40e98e9300d1ebc85.js +0 -1
- package/assets/esri/core/workers/chunks/5be386b3af867b19ff39.js +0 -1
- package/assets/esri/core/workers/chunks/5c2e79f2ca401741bf3e.js +0 -1
- package/assets/esri/core/workers/chunks/5c3aa8386705c5e40358.js +0 -1
- package/assets/esri/core/workers/chunks/5c9ab86bec07264dc9f2.js +0 -1
- package/assets/esri/core/workers/chunks/5e6d6676a5c47c0e132a.js +0 -1
- package/assets/esri/core/workers/chunks/5fbd7d8d8896a224fff3.js +0 -1
- package/assets/esri/core/workers/chunks/60137300db0e0c3caf13.js +0 -1
- package/assets/esri/core/workers/chunks/6061232c96e11eb7b25d.js +0 -1
- package/assets/esri/core/workers/chunks/606ea251075fe81a1206.js +0 -1
- package/assets/esri/core/workers/chunks/608be1172a908e92b9f1.js +0 -1
- package/assets/esri/core/workers/chunks/6268aadb24e0b7c8d207.js +0 -1
- package/assets/esri/core/workers/chunks/62a0abcf45a2bd14ecbe.js +0 -1
- package/assets/esri/core/workers/chunks/63d2645a744dce469bbb.js +0 -1
- package/assets/esri/core/workers/chunks/64382363d6dc04ff1eac.js +0 -1
- package/assets/esri/core/workers/chunks/649e4ecb1d9e6da3fcd7.js +0 -1
- package/assets/esri/core/workers/chunks/6604272ef6fe85279032.js +0 -1
- package/assets/esri/core/workers/chunks/6637fb99033bfa7646d4.js +0 -1
- package/assets/esri/core/workers/chunks/66539ab0d88b47326ce9.js +0 -1
- package/assets/esri/core/workers/chunks/67f54efc817b241f8746.js +0 -1
- package/assets/esri/core/workers/chunks/68b4ce0b2e754ac2e552.js +0 -1
- package/assets/esri/core/workers/chunks/69b73251257088ce7099.js +0 -1
- package/assets/esri/core/workers/chunks/69c338d1d359075371bc.js +0 -1
- package/assets/esri/core/workers/chunks/6b646971cc15e33a9f33.js +0 -1
- package/assets/esri/core/workers/chunks/6cd17c3a254a0b5c2476.js +0 -1
- package/assets/esri/core/workers/chunks/6d863761f29f31a030eb.js +0 -1
- package/assets/esri/core/workers/chunks/7027a0e7bfabb3bb7fc2.js +0 -1
- package/assets/esri/core/workers/chunks/711cfb84659cb4437679.js +0 -1
- package/assets/esri/core/workers/chunks/72020d86e3fc7ecc139f.js +0 -1
- package/assets/esri/core/workers/chunks/72f4dad65e16a7d7c58f.js +0 -1
- package/assets/esri/core/workers/chunks/72f716a841463e0ba23f.js +0 -1
- package/assets/esri/core/workers/chunks/73ab4f0275a85b9671ec.js +0 -1
- package/assets/esri/core/workers/chunks/751a21288cf161b94a54.js +0 -1
- package/assets/esri/core/workers/chunks/7672c123cfb960f4ddad.js +0 -1
- package/assets/esri/core/workers/chunks/76dc8e3264a456f33e61.js +0 -1
- package/assets/esri/core/workers/chunks/77463141652bf1ca6fb2.js +0 -1
- package/assets/esri/core/workers/chunks/776b64a1e1a57878c34c.js +0 -1
- package/assets/esri/core/workers/chunks/77d80b6d65d761214a7c.js +0 -1
- package/assets/esri/core/workers/chunks/792d2b62356a1d953c88.js +0 -1
- package/assets/esri/core/workers/chunks/79483c05867ba1386f5a.js +0 -1
- package/assets/esri/core/workers/chunks/7aa9b61ca9b66f30449f.js +0 -1
- package/assets/esri/core/workers/chunks/7b7208237123e948f170.js +0 -1
- package/assets/esri/core/workers/chunks/7c75a8ee266c36baa902.js +0 -1
- package/assets/esri/core/workers/chunks/7d866911d1171d25ca78.js +0 -1
- package/assets/esri/core/workers/chunks/7db9e615e60d824eac1b.js +0 -1
- package/assets/esri/core/workers/chunks/7ddbde8fdd1cf3c53f50.js +0 -1
- package/assets/esri/core/workers/chunks/7eddde6c4249f46c67f3.js +0 -1
- package/assets/esri/core/workers/chunks/8102f0bf5707c3be3310.js +0 -1
- package/assets/esri/core/workers/chunks/8140ed6e44c3d8536d3e.js +0 -1
- package/assets/esri/core/workers/chunks/82160bd873cdb5a23557.js +0 -1
- package/assets/esri/core/workers/chunks/82e238375582f90dc94c.js +0 -1
- package/assets/esri/core/workers/chunks/831d896587d10fb689dc.js +0 -1
- package/assets/esri/core/workers/chunks/834bbda7719b04301f74.js +0 -1
- package/assets/esri/core/workers/chunks/835ccd95f2d312ecda5a.js +0 -1
- package/assets/esri/core/workers/chunks/8385bede56cc95d1a388.js +0 -1
- package/assets/esri/core/workers/chunks/85cd525705eec6803dd3.js +0 -1
- package/assets/esri/core/workers/chunks/85ec73dcba4b922f1948.js +0 -1
- package/assets/esri/core/workers/chunks/8766832c7253557da8fe.js +0 -1
- package/assets/esri/core/workers/chunks/892fd2c3533ce46a9258.js +0 -1
- package/assets/esri/core/workers/chunks/89cc1a5539b82fb46216.js +0 -1
- package/assets/esri/core/workers/chunks/89e9ebc8d5c1022cb265.js +0 -1
- package/assets/esri/core/workers/chunks/8a8c9a3969b7016c20d9.js +0 -1
- package/assets/esri/core/workers/chunks/8c1ae93dae934aedc6dc.js +0 -1
- package/assets/esri/core/workers/chunks/8cc8d7ffe43f5947b04f.js +0 -1
- package/assets/esri/core/workers/chunks/8cddfdbab3ad3809462f.js +0 -1
- package/assets/esri/core/workers/chunks/8cec3f48e995aab3d62e.js +0 -1
- package/assets/esri/core/workers/chunks/8e7a3b1b088c160f4db7.js +0 -1
- package/assets/esri/core/workers/chunks/8f1dd383502432d8a039.js +0 -1
- package/assets/esri/core/workers/chunks/90a7cd7564f2a92199cc.js +0 -1
- package/assets/esri/core/workers/chunks/914a0b5d9fef683cdf9c.js +0 -1
- package/assets/esri/core/workers/chunks/921917e53bac82693ec8.js +0 -1
- package/assets/esri/core/workers/chunks/926e0a3827eaf16ca8b4.js +0 -1
- package/assets/esri/core/workers/chunks/92809b209b68abcb97ee.js +0 -1
- package/assets/esri/core/workers/chunks/929ca32ddbb43328ef31.js +0 -1
- package/assets/esri/core/workers/chunks/92b03de8a7686b164f60.js +0 -1
- package/assets/esri/core/workers/chunks/98957dba728c93506e50.js +0 -1
- package/assets/esri/core/workers/chunks/98e3f7ab4bfbabf0b952.js +0 -1
- package/assets/esri/core/workers/chunks/99a72b65afdcd3ee091a.js +0 -1
- package/assets/esri/core/workers/chunks/99ffb839407cb3c26ad8.js +0 -1
- package/assets/esri/core/workers/chunks/9b048f80c2d28d527373.js +0 -1
- package/assets/esri/core/workers/chunks/9b517c8d26a86dedb921.js +0 -1
- package/assets/esri/core/workers/chunks/9bb90097368b200fa730.js +0 -1
- package/assets/esri/core/workers/chunks/9bf77f92760aacbd636f.js +0 -1
- package/assets/esri/core/workers/chunks/9c2436464b7dfd666678.js +0 -1
- package/assets/esri/core/workers/chunks/9c3f56f22e9baa80a387.js +0 -1
- package/assets/esri/core/workers/chunks/9d0ee6a816bb72068ab1.js +0 -1
- package/assets/esri/core/workers/chunks/9e7622379d777ea88018.js +0 -1
- package/assets/esri/core/workers/chunks/9fb4c10d5b3e32bc86e9.js +0 -1
- package/assets/esri/core/workers/chunks/a02c3c23bd87e0470b8b.js +0 -1
- package/assets/esri/core/workers/chunks/a1602995ef96beb7df29.js +0 -1
- package/assets/esri/core/workers/chunks/a553478664a688f32488.js +0 -1
- package/assets/esri/core/workers/chunks/a83815c028c9c80aa4c9.js +0 -1
- package/assets/esri/core/workers/chunks/a8bedc53d4a316953108.js +0 -1
- package/assets/esri/core/workers/chunks/a8fbef765a6fb68e1115.js +0 -1
- package/assets/esri/core/workers/chunks/a95186214f1206efd8ed.js +0 -1
- package/assets/esri/core/workers/chunks/aa4f3751f0d830113bed.js +0 -1
- package/assets/esri/core/workers/chunks/aa8ab28e0c1ae3b55ac0.js +0 -1
- package/assets/esri/core/workers/chunks/aaac620f93a20fbd3f08.js +0 -1
- package/assets/esri/core/workers/chunks/ab60e8fbe0f92340616a.js +0 -1
- package/assets/esri/core/workers/chunks/ab684cce869973ea71cf.js +0 -1
- package/assets/esri/core/workers/chunks/aba42885c5d6b2b5fe7f.js +0 -1
- package/assets/esri/core/workers/chunks/ac10c7d2c4829a150037.js +0 -1
- package/assets/esri/core/workers/chunks/ac69c0fd5867b493f1d2.js +0 -1
- package/assets/esri/core/workers/chunks/ad787100602e18dde650.js +0 -1
- package/assets/esri/core/workers/chunks/ae29fec228e70a93ced1.js +0 -1
- package/assets/esri/core/workers/chunks/ae40eac1eadd1a537bf4.js +0 -1
- package/assets/esri/core/workers/chunks/ae70972bf88d586fd453.js +0 -1
- package/assets/esri/core/workers/chunks/af3c6794334626b94f00.js +0 -1
- package/assets/esri/core/workers/chunks/af70a81620203c030f5b.js +0 -1
- package/assets/esri/core/workers/chunks/afc8a9847f31bb66b13b.js +0 -1
- package/assets/esri/core/workers/chunks/b021fa4654ede1d04279.js +0 -1
- package/assets/esri/core/workers/chunks/b10850c48f4eee60b8a9.js +0 -1
- package/assets/esri/core/workers/chunks/b18459c1bed75dbdec08.js +0 -1
- package/assets/esri/core/workers/chunks/b25104337f2495a4296a.js +0 -1
- package/assets/esri/core/workers/chunks/b2d922ecc2c4899dbee1.js +0 -1
- package/assets/esri/core/workers/chunks/b3707d2cd2f4b2f70889.js +0 -1
- package/assets/esri/core/workers/chunks/b3801d58c024224917df.js +0 -1
- package/assets/esri/core/workers/chunks/b3c0c9c91bcdbbb8e719.js +0 -1
- package/assets/esri/core/workers/chunks/b4928831a2a13b2da745.js +0 -1
- package/assets/esri/core/workers/chunks/b6a82775b83d20599635.js +0 -1
- package/assets/esri/core/workers/chunks/b6d365b9198b74b05338.js +0 -1
- package/assets/esri/core/workers/chunks/b6d71a4ab788a09714f3.js +0 -1
- package/assets/esri/core/workers/chunks/b89b634e9d38b5a51d33.js +0 -1
- package/assets/esri/core/workers/chunks/b976122bcd4e2170afaf.js +0 -1
- package/assets/esri/core/workers/chunks/bb6573d794bbe670216a.js +0 -1
- package/assets/esri/core/workers/chunks/bc21241bc9acb83d1b1c.js +0 -1
- package/assets/esri/core/workers/chunks/bdd76a0b6c14e7fb6984.js +0 -1
- package/assets/esri/core/workers/chunks/be11cec9979ed5e9738e.js +0 -1
- package/assets/esri/core/workers/chunks/c063de8f57a393280c39.js +0 -1
- package/assets/esri/core/workers/chunks/c473c8b480de9802711b.js +0 -1
- package/assets/esri/core/workers/chunks/c5bf19da62a3d31009fe.js +0 -2
- package/assets/esri/core/workers/chunks/c67ce7896789ac7275b2.js +0 -1
- package/assets/esri/core/workers/chunks/c752f1e732bb019f657d.js +0 -1
- package/assets/esri/core/workers/chunks/c75cc72a306a617d9cd8.js +0 -1
- package/assets/esri/core/workers/chunks/c85336a50a4994a2a7eb.js +0 -1
- package/assets/esri/core/workers/chunks/c9e7d4c277fbc82c4438.js +0 -1
- package/assets/esri/core/workers/chunks/cc817c9d3f8e8f8c56e4.js +0 -1
- package/assets/esri/core/workers/chunks/ccb0046b883286e65429.js +0 -1
- package/assets/esri/core/workers/chunks/ccb55245fe49d844ec50.js +0 -1
- package/assets/esri/core/workers/chunks/cdf0c7706d3e1221f49b.js +0 -1
- package/assets/esri/core/workers/chunks/cf684026e7f1ab7df4f7.js +0 -1
- package/assets/esri/core/workers/chunks/d0172d31389dbfaaa848.js +0 -1
- package/assets/esri/core/workers/chunks/d19ac8368bb769fa5fba.js +0 -1
- package/assets/esri/core/workers/chunks/d26c9db8c0a772d0923c.js +0 -1
- package/assets/esri/core/workers/chunks/d31f6598b76380e8688a.js +0 -1
- package/assets/esri/core/workers/chunks/d344c3fd9f6b113bbcd7.js +0 -1
- package/assets/esri/core/workers/chunks/d3cd09b2d78ce9f2ea42.js +0 -1
- package/assets/esri/core/workers/chunks/d4028536542db8b623cc.js +0 -1
- package/assets/esri/core/workers/chunks/d4eb24c82087a74ae670.js +0 -1
- package/assets/esri/core/workers/chunks/d4fe26716c4eca13d493.js +0 -1
- package/assets/esri/core/workers/chunks/d5916500514a41a4758f.js +0 -1
- package/assets/esri/core/workers/chunks/d63e181f0e48bde73395.js +0 -1
- package/assets/esri/core/workers/chunks/d7270a2db6f3bfcf0565.js +0 -1
- package/assets/esri/core/workers/chunks/d77888c84a8b49478807.js +0 -1
- package/assets/esri/core/workers/chunks/d85d1064ba87ea1b1410.js +0 -1
- package/assets/esri/core/workers/chunks/d8b9d14f8d3e82ad26dc.js +0 -1
- package/assets/esri/core/workers/chunks/d99d5aa04e2d74ef57a7.js +0 -1
- package/assets/esri/core/workers/chunks/d9e75266ac28f934eb61.js +0 -1
- package/assets/esri/core/workers/chunks/db1f7b2562de495b3401.js +0 -2
- package/assets/esri/core/workers/chunks/dbf37b1c4e0567d9fb32.js +0 -1
- package/assets/esri/core/workers/chunks/dc9792b2aa55975b8a95.js +0 -1
- package/assets/esri/core/workers/chunks/dca0e2505a6cbef6f7f5.js +0 -1
- package/assets/esri/core/workers/chunks/dcc782e4bf9e8a8202f9.js +0 -1
- package/assets/esri/core/workers/chunks/dd7e4c94a88452425750.js +0 -1
- package/assets/esri/core/workers/chunks/ddaa8f8098e4a663e4e5.js +0 -1
- package/assets/esri/core/workers/chunks/ddb4689624d091922471.js +0 -1
- package/assets/esri/core/workers/chunks/de3f140058aa0b907b65.js +0 -1
- package/assets/esri/core/workers/chunks/df375d1b0dab5ecbd1be.js +0 -1
- package/assets/esri/core/workers/chunks/df88bb9117967fe72eb4.js +0 -1
- package/assets/esri/core/workers/chunks/dfbe0efe453587ec5eb2.js +0 -1
- package/assets/esri/core/workers/chunks/dfc6b33f51dc81f3a7be.js +0 -1
- package/assets/esri/core/workers/chunks/e0650b1408197d3ac862.js +0 -1
- package/assets/esri/core/workers/chunks/e0a37d3bcb9a944e53dd.js +0 -1
- package/assets/esri/core/workers/chunks/e1f5da51115472347b55.js +0 -1
- package/assets/esri/core/workers/chunks/e209cb1f3f14bf576ebe.js +0 -1
- package/assets/esri/core/workers/chunks/e2535c83b97725e89256.js +0 -1
- package/assets/esri/core/workers/chunks/e2576c37cf13dc421f69.js +0 -1
- package/assets/esri/core/workers/chunks/e2ebf0ea3af2e6907987.js +0 -1
- package/assets/esri/core/workers/chunks/e4e2edfdc85dd14e66d4.js +0 -1
- package/assets/esri/core/workers/chunks/e55934eb4a17a5b24c94.js +0 -1
- package/assets/esri/core/workers/chunks/e5bdfef7c2cc5354be52.js +0 -1
- package/assets/esri/core/workers/chunks/e7719bfbc5875a515a2b.js +0 -1
- package/assets/esri/core/workers/chunks/eaa0e906b46ae4c84d72.js +0 -2
- package/assets/esri/core/workers/chunks/ead49b513e070951a964.js +0 -1
- package/assets/esri/core/workers/chunks/eb2652ec48faa78de3c5.js +0 -1
- package/assets/esri/core/workers/chunks/ec88631b5033c19f569e.js +0 -1
- package/assets/esri/core/workers/chunks/ee6679ef9efa1504e7eb.js +0 -1
- package/assets/esri/core/workers/chunks/ef8f9b61b829c3bdf999.js +0 -1
- package/assets/esri/core/workers/chunks/ef9740c4d1bd808af38a.js +0 -1
- package/assets/esri/core/workers/chunks/efcd38aad9aa667001b2.js +0 -1
- package/assets/esri/core/workers/chunks/f0b897319ca8578df63f.js +0 -1
- package/assets/esri/core/workers/chunks/f1c2f7c7ce4bd4096eb0.js +0 -1
- package/assets/esri/core/workers/chunks/f1e87e3ff65d8594e6b3.js +0 -1
- package/assets/esri/core/workers/chunks/f36376b126c80d0983fb.js +0 -1
- package/assets/esri/core/workers/chunks/f3ca7fa35eb8d55f5907.js +0 -1
- package/assets/esri/core/workers/chunks/f497968055af459c5da4.js +0 -1
- package/assets/esri/core/workers/chunks/f4d714d0a1a513861704.js +0 -1
- package/assets/esri/core/workers/chunks/f4e63c5f82b8c2bbfacb.js +0 -1
- package/assets/esri/core/workers/chunks/f7123ba1286f64e13e91.js +0 -1
- package/assets/esri/core/workers/chunks/f7f73de8c63924e347ab.js +0 -1
- package/assets/esri/core/workers/chunks/f91e36a104e84d985517.js +0 -1
- package/assets/esri/core/workers/chunks/f9259dc1d78d762c6ac0.js +0 -1
- package/assets/esri/core/workers/chunks/fa5d4b9a098441ebf505.js +0 -1
- package/assets/esri/core/workers/chunks/fc9d66fe2cc9e2d31964.js +0 -1
- package/assets/esri/core/workers/chunks/fcb4707c2e95099b9f30.js +0 -1
- package/assets/esri/core/workers/chunks/fccfe3aa45a2fb286012.js +0 -1
- package/assets/esri/core/workers/chunks/fe0248af95d3f37e099e.js +0 -1
- package/layers/support/ParquetPortalItemData.d.ts +0 -39
- package/layers/support/ParquetPortalItemData.js +0 -2
- /package/assets/esri/core/workers/chunks/{c5bf19da62a3d31009fe.js.LICENSE.txt → 07ce1d788ed1c9b926db.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{4f3e0d583cfa9d1d6727.js.LICENSE.txt → 4a41bf3d1e2e9bb79771.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{5864bce1498a13ee5b7e.js.LICENSE.txt → 70695e0fb53018d48e7b.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{2b4dd42920d37b1ff0a9.js.LICENSE.txt → 919115788da38049aea7.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{db1f7b2562de495b3401.js.LICENSE.txt → ced5dfb2bf46fc5eac8c.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{eaa0e906b46ae4c84d72.js.LICENSE.txt → d96e63d66f7b1f4ea54a.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{1ae0c9345626e70affd3.js.LICENSE.txt → fe811d651d201f698b8f.js.LICENSE.txt} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{invert as e}from"../../../../../core/libs/gl-matrix-2/math/mat3.js";import{IDENTITY as t,create as n}from"../../../../../core/libs/gl-matrix-2/factories/mat3f64.js";import{ones as r,clone as i}from"../../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{VertexPositionDrawParameters as a}from"../../core/shaderLibrary/attributes/VertexPosition.glsl.js";import{TwoVectorPosition as o}from"../../core/util/TwoVectorPosition.js";class s extends a{constructor(r,i,a){super(),this.baseColorTextureSampler=a,this._componentParameters=u;let{transform:s,toMapSpace:c}=r;this.toMapSpace=c;let l=new o(s.position);switch(this.transformWorldFromModelTL=l.low,this.transformWorldFromModelTH=l.high,r.geometry.parameters.vertexPositionRotationType){case 0:this.transformWorldFromModelRS=t;break;case 1:this.transformWorldFromModelRS=s.rotationScale;break;case 2:this.transformWorldFromModelRS=e(n(),s.rotationScale)??t}this.useENUForGlobalOverlayUV=r.obb.radius<d,this.baseColor=i.baseColor,this.opacity=i.opacity,this.textureAlphaCutoff=i.textureAlphaCutoff,this.mrrFactors=i.mrrFactors,this.emissiveBaseColor=i.emissiveBaseColor,this.baseColorTexture=i.baseColorTexture,this.metallicRoughnessTexture=i.metallicRoughnessTexture,this.normalTexture=i.normalTexture,this.occlusionTexture=i.occlusionTexture,this.emissionTexture=i.emissionTexture;let f=new Float32Array(15);f.set(this.transformWorldFromModelTL,0),f.set(this.transformWorldFromModelTH,3),f.set(this.transformWorldFromModelRS,6),this.transformationFloats=f}destroy(){this.baseColorTexture?.dispose(),this.metallicRoughnessTexture?.dispose(),this.emissionTexture?.dispose(),this.occlusionTexture?.dispose(),this.normalTexture?.dispose()}setTransformationDrawId(e){this.transformationDrawId=e}get texture(){return this.baseColorTexture?.texture}get textureSampler(){return this.baseColorTextureSampler}get textureMetallicRoughness(){return this.metallicRoughnessTexture?.texture}get textureEmissive(){return this.emissionTexture?.texture}get textureOcclusion(){return this.occlusionTexture?.texture}get textureNormal(){return this.normalTexture?.texture}get componentParameters(){return this._componentParameters}get emissiveStrength(){let e=this._componentParameters;return e.componentDataType===0?e.emissiveStrength:void 0}updateComponentParameters(e,t){this._componentParameters=e,this.textureBackedBuffer=t}get castAnyShadows(){return this.componentParameters.castShadows!==2}}class c{constructor(e,t,n,r,a){this.castShadows=a,this.componentDataType=0,this.externalColor=i(e),this.externalColorMixMode=t,this.emissiveStrength=n,this.emissiveSource=r}get transparent(){return this.externalColor[3]<1?0:2}get opaqueOverride(){return this.externalColorMixMode===3&&this.externalColor[3]===1?0:2}get emissiveOverride(){return this.emissiveStrength>0?0:2}get emissiveSourceOverride(){return this.emissiveSource===1?0:2}}class l{constructor(e,t,n,r,i){this.transparent=e,this.opaqueOverride=t,this.emissiveOverride=n,this.emissiveSourceOverride=r,this.castShadows=i,this.componentDataType=1}}const u=new c(r(),1,1,0,0),d=5e4;export{s as ComponentDrawParametersImplementation,c as ComponentParametersUniform,l as ComponentParametersVarying,u as defaultComponentParameters};
|
|
2
|
+
import{invert as e}from"../../../../../core/libs/gl-matrix-2/math/mat3.js";import{IDENTITY as t,create as n}from"../../../../../core/libs/gl-matrix-2/factories/mat3f64.js";import{ones as r,clone as i}from"../../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{VertexPositionDrawParameters as a}from"../../core/shaderLibrary/attributes/VertexPosition.glsl.js";import{TwoVectorPosition as o}from"../../core/util/TwoVectorPosition.js";class s extends a{constructor(r,i,a){super(),this.baseColorTextureSampler=a,this._componentParameters=u;let{transform:s,toMapSpace:c}=r;this.toMapSpace=c;let l=new o(s.position);switch(this.transformWorldFromModelTL=l.low,this.transformWorldFromModelTH=l.high,r.geometry.parameters.vertexPositionRotationType){case 0:this.transformWorldFromModelRS=t;break;case 1:this.transformWorldFromModelRS=s.rotationScale;break;case 2:this.transformWorldFromModelRS=e(n(),s.rotationScale)??t}this.useENUForGlobalOverlayUV=r.obb.radius<d,this.baseColor=i.baseColor,this.opacity=i.opacity,this.textureAlphaCutoff=i.textureAlphaCutoff,this.mrrFactors=i.mrrFactors,this.emissiveBaseColor=i.emissiveBaseColor,this.baseColorTexture=i.baseColorTexture,this.metallicRoughnessTexture=i.metallicRoughnessTexture,this.normalTexture=i.normalTexture,this.occlusionTexture=i.occlusionTexture,this.emissionTexture=i.emissionTexture,this.textureTransforms=i.textureTransforms;let f=new Float32Array(15);f.set(this.transformWorldFromModelTL,0),f.set(this.transformWorldFromModelTH,3),f.set(this.transformWorldFromModelRS,6),this.transformationFloats=f}destroy(){this.baseColorTexture?.dispose(),this.metallicRoughnessTexture?.dispose(),this.emissionTexture?.dispose(),this.occlusionTexture?.dispose(),this.normalTexture?.dispose()}setTransformationDrawId(e){this.transformationDrawId=e}get normalTextureTransformMatrix(){return this.textureTransforms?.normal??null}get normalScale(){return this.textureTransforms?.normalScale??null}get texture(){return this.baseColorTexture?.texture}get textureSampler(){return this.baseColorTextureSampler}get textureMetallicRoughness(){return this.metallicRoughnessTexture?.texture}get textureEmissive(){return this.emissionTexture?.texture}get textureOcclusion(){return this.occlusionTexture?.texture}get textureNormal(){return this.normalTexture?.texture}get componentParameters(){return this._componentParameters}get emissiveStrength(){let e=this._componentParameters;return e.componentDataType===0?e.emissiveStrength:void 0}updateComponentParameters(e,t){this._componentParameters=e,this.textureBackedBuffer=t}get castAnyShadows(){return this.componentParameters.castShadows!==2}}class c{constructor(e,t,n,r,a){this.castShadows=a,this.componentDataType=0,this.externalColor=i(e),this.externalColorMixMode=t,this.emissiveStrength=n,this.emissiveSource=r}get transparent(){return this.externalColor[3]<1?0:2}get opaqueOverride(){return this.externalColorMixMode===3&&this.externalColor[3]===1?0:2}get emissiveOverride(){return this.emissiveStrength>0?0:2}get emissiveSourceOverride(){return this.emissiveSource===1?0:2}}class l{constructor(e,t,n,r,i){this.transparent=e,this.opaqueOverride=t,this.emissiveOverride=n,this.emissiveSourceOverride=r,this.castShadows=i,this.componentDataType=1}}const u=new c(r(),1,1,0,0),d=5e4;export{s as ComponentDrawParametersImplementation,c as ComponentParametersUniform,l as ComponentParametersVarying,u as defaultComponentParameters};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import"./ComponentData.glsl.js";import"../../../core/shaderLibrary/bindUniforms.js";import"../../../core/shaderLibrary/forwardLinearDepthToWriteShadow.glsl.js";import"../../../core/shaderLibrary/ShaderOutput.js";import"../../../core/shaderLibrary/Slice.glsl.js";import"../../../core/shaderLibrary/attributes/TextureCoordinateAttribute.glsl.js";import"../../../core/shaderLibrary/attributes/VertexColor.glsl.js";import"../../../core/shaderLibrary/attributes/VertexNormal.glsl.js";import"../../../core/shaderLibrary/attributes/VertexPosition.glsl.js";import"../../../core/shaderLibrary/output/DepthConversion.glsl.js";import"../../../core/shaderLibrary/output/OutputDepth.glsl.js";import"../../../core/shaderLibrary/output/OutputHighlight.glsl.js";import"../../../core/shaderLibrary/output/OutputHighlightOverlay.js";import"../../../core/shaderLibrary/shading/ComputeFragmentNormals.glsl.js";import"../../../core/shaderLibrary/shading/ComputeMaterialColor.glsl.js";import"../../../core/shaderLibrary/shading/ComputeNormalTexture.glsl.js";import"../../../core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js";import"../../../core/shaderLibrary/shading/getLocalUp.glsl.js";import"../../../core/shaderLibrary/shading/lightingUniforms.js";import"../../../core/shaderLibrary/shading/NormalUtils.glsl.js";import"../../../core/shaderLibrary/shading/pbrGlobals.glsl.js";import"../../../core/shaderLibrary/shading/PhysicallyBasedRenderingParameters.glsl.js";import"../../../core/shaderLibrary/shading/ReadBaseColorTexture.glsl.js";import"../../../core/shaderLibrary/shading/readShadow.glsl.js";import"../../../core/shaderLibrary/terrain/Overlay.glsl.js";import"../../../core/shaderLibrary/util/DiscardOrAdjustAlpha.glsl.js";import"../../../core/shaderModules/BooleanDrawUniform.js";import"../../../core/shaderModules/FloatDrawUniform.js";import"../../../core/shaderModules/glsl.js";import"../../../effects/snowcover/applySnow.glsl.js";import"../../../shaders/alphaCutoff.glsl.js";import"../../../shaders/OutputColorHighlightOLID.glsl.js";import"../../../shaders/SphereDepthInterpolate.glsl.js";import"../../../../../webgl/ShaderBuilder.js";export{b as build}from"../../../../../../chunks/Component.glsl.js";
|
|
2
|
+
import"../../../../../../core/libs/gl-matrix-2/factories/mat3f64.js";import"./ComponentData.glsl.js";import"../../../core/shaderLibrary/bindUniforms.js";import"../../../core/shaderLibrary/forwardLinearDepthToWriteShadow.glsl.js";import"../../../core/shaderLibrary/ShaderOutput.js";import"../../../core/shaderLibrary/Slice.glsl.js";import"../../../core/shaderLibrary/attributes/TextureCoordinateAttribute.glsl.js";import"../../../core/shaderLibrary/attributes/VertexColor.glsl.js";import"../../../core/shaderLibrary/attributes/VertexNormal.glsl.js";import"../../../core/shaderLibrary/attributes/VertexPosition.glsl.js";import"../../../core/shaderLibrary/output/DepthConversion.glsl.js";import"../../../core/shaderLibrary/output/OutputDepth.glsl.js";import"../../../core/shaderLibrary/output/OutputHighlight.glsl.js";import"../../../core/shaderLibrary/output/OutputHighlightOverlay.js";import"../../../core/shaderLibrary/shading/ComputeFragmentNormals.glsl.js";import"../../../core/shaderLibrary/shading/ComputeMaterialColor.glsl.js";import"../../../core/shaderLibrary/shading/ComputeNormalTexture.glsl.js";import"../../../core/shaderLibrary/shading/EvaluateSceneLighting.glsl.js";import"../../../core/shaderLibrary/shading/getLocalUp.glsl.js";import"../../../core/shaderLibrary/shading/lightingUniforms.js";import"../../../core/shaderLibrary/shading/NormalUtils.glsl.js";import"../../../core/shaderLibrary/shading/pbrGlobals.glsl.js";import"../../../core/shaderLibrary/shading/PhysicallyBasedRenderingParameters.glsl.js";import"../../../core/shaderLibrary/shading/ReadBaseColorTexture.glsl.js";import"../../../core/shaderLibrary/shading/readShadow.glsl.js";import"../../../core/shaderLibrary/terrain/Overlay.glsl.js";import"../../../core/shaderLibrary/util/DiscardOrAdjustAlpha.glsl.js";import"../../../core/shaderModules/BooleanDrawUniform.js";import"../../../core/shaderModules/FloatDrawUniform.js";import"../../../core/shaderModules/glsl.js";import"../../../core/shaderModules/Matrix3DrawUniform.js";import"../../../effects/snowcover/applySnow.glsl.js";import"../../../shaders/alphaCutoff.glsl.js";import"../../../shaders/OutputColorHighlightOLID.glsl.js";import"../../../shaders/SphereDepthInterpolate.glsl.js";import"../../../../../webgl/ShaderBuilder.js";export{b as build}from"../../../../../../chunks/Component.glsl.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import has from"../../../../../../core/has.js";import{ComponentTechnique as e}from"./ComponentTechnique.js";import{ComponentTechniqueConfiguration as t}from"./ComponentTechniqueConfiguration.js";import{MaterialBase as n}from"../../../core/material/MaterialBase.js";import{isColor as r}from"../../../core/shaderLibrary/ShaderOutput.js";import{hasShadowHighlights as i}from"../../../shaders/ReceiveShadowsConfiguration.js";import{isSphereDepthInterpolateActive as a}from"../../../shaders/SphereDepthInterpolate.glsl.js";class o extends n{constructor(e,n,r,i,a){super(),this.parameters=e,this.key=a;let o=l(e,r);this.usePBR=e.usePBR,this.hasParametersFromSource=e.hasParametersFromSource,this.isGround=e.isGround,this.slicePlaneEnabled=e.slicePlaneEnabled,this.isIntegratedMesh=e.isIntegratedMesh,this.applySSAO=e.applySSAO,this._emissions=o!==0,this.materialPass=s(e,r),this._configuration=new t(i),this._supportsSphereDepthInterpolate=e.sphereDepthInterpolate&&this._configuration.spherical,this._initializeMaterialConfiguration(e,n,r)}destroy(){}get emissions(){if(!this._emissions)return 0;switch(this.materialPass){case 0:case 3:return 1;case 1:case 4:return 2;case 2:return 3}}acquireTechnique(t,n,r,i){let o=this._updateConfiguration(n,r);if(this._supportsSphereDepthInterpolate&&t.precompiling>0){o.sphereDepthInterpolate=!1;let n=t.get(e,o,i.layout);o.sphereDepthInterpolate=!0;let s=t.get(e,o,i.layout);return a(r.camera,o)?s:n}return t.get(e,o,i.layout)}_initializeMaterialConfiguration(e,t,n){let r=this._configuration;r.hasMetallicRoughnessTexture=e.hasMetallicRoughnessTexture,r.hasOcclusionTexture=e.hasOcclusionTexture,r.hasNormalTexture=e.hasNormalTexture,r.sphereDepthInterpolate=!1,r.ellipsoidMode=e.ellipsoidMode,r.doubleSidedMode=+!!e.doubleSided,r.hasColorTexture=e.hasBaseColorTexture,r.cullFace=e.cullFace,r.alphaDiscardMode=e.alphaDiscardMode,r.hasVertexColors=t.hasVertexColors,r.textureCoordinateType=t.textureCoordinateType,r.shadeNormals=t.shadeNormals,r.normalType=t.hasNormals?1:2,r.polygonOffset=e.polygonOffset,r.vertexPositionRotationType=t.vertexPositionRotationType,r.componentDataType=n.componentDataType,r.emissionSource=l(e,n),r.groundTransparencyMode=e.groundTransparencyMode}_updateConfiguration(e,t){let n=this._configuration,{identifier:o}=e,s=o===0;n.output=t.output,n.enableOITOffset=t.enableOITOffset,n.isGround=this.isGround,n.sphereDepthInterpolate=this._supportsSphereDepthInterpolate&&a(t.camera,n),n.hasEmission=t.hasEmission,n.renderOccluded=t.slot===9;let c=this.isIntegratedMesh&&(!has(`enable-feature:im-as-ground`)||this.isGround)?d(t)?u(t)?3:2:1:0;n.integratedMeshMode=c,n.pbrMode=c===3?4:this.usePBR?this.hasParametersFromSource?n.shadeNormals!==0&&this.isIntegratedMesh?0:2:1:0,n.hasSlicePlane=t.slicePlane!=null&&this.slicePlaneEnabled,n.isGroundSlice=n.hasSlicePlane&&this.isGround;let{materialPass:l}=this;n.transparent=s&&(l===1||l===2&&e.transparent||l===4)||n.isGroundSlice,n.hasHighlightMixTexture=o===2&&t.highlightMixTexture!=null,n.snowCover=s&&t.snowCover>0,n.vertexDiscardMode=s&&l===2?e.transparent?2:1:0;let f=r(t.output);return n.receiveAmbientOcclusion=f&&this.applySSAO&&!n.renderOccluded&&t.ssao?.getTexture()!=null,n.receiveGlobalIllumination=f&&this.applySSAO&&!n.renderOccluded&&t.globalIlluminationEnabled,n.hasOccludees=f&&t.hasOccludees,n.receiveShadows=f&&t.shadowMap.ready,n.hasShadowHighlights=i(n,t),n.screenSpaceReflections=t.hasScreenSpaceReflections,n.cloudReflections=f&&t.clouds.data?.cubeMap?.colorTexture!=null,n}}function s(e,t){let{alphaDiscardMode:n,isIntegratedMesh:r,slicePlaneEnabled:i}=e,{transparent:a,opaqueOverride:o}=t,s=e.isObjectTransparent,c=e.hasBaseColorTransparency;if(r)return s||i&&(!has(`enable-feature:im-as-ground`)||e.isGround)?4:3;if(s)return 1;if(o===0)return 0;if(c||n===0||n===3)return 1;switch(a){case 2:return 0;case 0:return 1;case 1:return 2}}function c(e){return e.hasEmissionTexture||e.hasEmissiveBaseColor}function l(e,{emissiveSourceOverride:t,emissiveOverride:n}){let r=e.hasEmissionTexture,i=n!==2&&(c(e)||t!==2),a=t===1,o=t===2;return i?c(e)?o?r?4:2:a?r?5:7:6:a?7:6:0}function u(e){return e.overlay?.getTexture(3)!=null}function d(e){return e.overlay?.getTexture(1)!=null}export{o as ComponentMaterial,s as computeMaterialPass,l as getEmissionSource};
|
|
2
|
+
import has from"../../../../../../core/has.js";import{ComponentTechnique as e}from"./ComponentTechnique.js";import{ComponentTechniqueConfiguration as t}from"./ComponentTechniqueConfiguration.js";import{MaterialBase as n}from"../../../core/material/MaterialBase.js";import{isColor as r}from"../../../core/shaderLibrary/ShaderOutput.js";import{hasShadowHighlights as i}from"../../../shaders/ReceiveShadowsConfiguration.js";import{isSphereDepthInterpolateActive as a}from"../../../shaders/SphereDepthInterpolate.glsl.js";class o extends n{constructor(e,n,r,i,a){super(),this.parameters=e,this.key=a;let o=l(e,r);this.usePBR=e.usePBR,this.hasParametersFromSource=e.hasParametersFromSource,this.isGround=e.isGround,this.slicePlaneEnabled=e.slicePlaneEnabled,this.isIntegratedMesh=e.isIntegratedMesh,this.applySSAO=e.applySSAO,this._emissions=o!==0,this.materialPass=s(e,r),this._configuration=new t(i),this._supportsSphereDepthInterpolate=e.sphereDepthInterpolate&&this._configuration.spherical,this._initializeMaterialConfiguration(e,n,r)}destroy(){}get emissions(){if(!this._emissions)return 0;switch(this.materialPass){case 0:case 3:return 1;case 1:case 4:return 2;case 2:return 3}}acquireTechnique(t,n,r,i){let o=this._updateConfiguration(n,r);if(this._supportsSphereDepthInterpolate&&t.precompiling>0){o.sphereDepthInterpolate=!1;let n=t.get(e,o,i.layout);o.sphereDepthInterpolate=!0;let s=t.get(e,o,i.layout);return a(r.camera,o)?s:n}return t.get(e,o,i.layout)}_initializeMaterialConfiguration(e,t,n){let r=this._configuration;r.hasMetallicRoughnessTexture=e.hasMetallicRoughnessTexture,r.hasOcclusionTexture=e.hasOcclusionTexture,r.hasNormalTexture=e.hasNormalTexture;let i=t.textureCoordinateType!==0;r.hasColorTextureTransform=i&&e.hasBaseColorTexture&&e.hasColorTextureTransform,r.hasNormalTextureTransform=i&&e.hasNormalTexture&&e.hasNormalTextureTransform,r.hasEmissiveTextureTransform=i&&e.hasEmissionTexture&&e.hasEmissiveTextureTransform,r.hasOcclusionTextureTransform=i&&e.hasOcclusionTexture&&e.hasOcclusionTextureTransform,r.hasMetallicRoughnessTextureTransform=i&&e.hasMetallicRoughnessTexture&&e.hasMetallicRoughnessTextureTransform,r.sphereDepthInterpolate=!1,r.ellipsoidMode=e.ellipsoidMode,r.doubleSidedMode=+!!e.doubleSided,r.hasColorTexture=e.hasBaseColorTexture,r.cullFace=e.cullFace,r.alphaDiscardMode=e.alphaDiscardMode,r.hasVertexColors=t.hasVertexColors,r.textureCoordinateType=t.textureCoordinateType,r.shadeNormals=t.shadeNormals,r.normalType=t.hasNormals?1:2,r.polygonOffset=e.polygonOffset,r.vertexPositionRotationType=t.vertexPositionRotationType,r.componentDataType=n.componentDataType,r.emissionSource=l(e,n),r.groundTransparencyMode=e.groundTransparencyMode}_updateConfiguration(e,t){let n=this._configuration,{identifier:o}=e,s=o===0;n.output=t.output,n.enableOITOffset=t.enableOITOffset,n.isGround=this.isGround,n.sphereDepthInterpolate=this._supportsSphereDepthInterpolate&&a(t.camera,n),n.hasEmission=t.hasEmission,n.renderOccluded=t.slot===9;let c=this.isIntegratedMesh&&(!has(`enable-feature:im-as-ground`)||this.isGround)?d(t)?u(t)?3:2:1:0;n.integratedMeshMode=c,n.pbrMode=c===3?4:this.usePBR?this.hasParametersFromSource?n.shadeNormals!==0&&this.isIntegratedMesh?0:2:1:0,n.hasSlicePlane=t.slicePlane!=null&&this.slicePlaneEnabled,n.isGroundSlice=n.hasSlicePlane&&this.isGround;let{materialPass:l}=this;n.transparent=s&&(l===1||l===2&&e.transparent||l===4)||n.isGroundSlice,n.hasHighlightMixTexture=o===2&&t.highlightMixTexture!=null,n.snowCover=s&&t.snowCover>0,n.vertexDiscardMode=s&&l===2?e.transparent?2:1:0;let f=r(t.output);return n.receiveAmbientOcclusion=f&&this.applySSAO&&!n.renderOccluded&&t.ssao?.getTexture()!=null,n.receiveGlobalIllumination=f&&this.applySSAO&&!n.renderOccluded&&t.globalIlluminationEnabled,n.hasOccludees=f&&t.hasOccludees,n.receiveShadows=f&&t.shadowMap.ready,n.hasShadowHighlights=i(n,t),n.screenSpaceReflections=t.hasScreenSpaceReflections,n.cloudReflections=f&&t.clouds.data?.cubeMap?.colorTexture!=null,n}}function s(e,t){let{alphaDiscardMode:n,isIntegratedMesh:r,slicePlaneEnabled:i}=e,{transparent:a,opaqueOverride:o}=t,s=e.isObjectTransparent,c=e.hasBaseColorTransparency;if(r)return s||i&&(!has(`enable-feature:im-as-ground`)||e.isGround)?4:3;if(s)return 1;if(o===0)return 0;if(c||n===0||n===3)return 1;switch(a){case 2:return 0;case 0:return 1;case 1:return 2}}function c(e){return e.hasEmissionTexture||e.hasEmissiveBaseColor}function l(e,{emissiveSourceOverride:t,emissiveOverride:n}){let r=e.hasEmissionTexture,i=n!==2&&(c(e)||t!==2),a=t===1,o=t===2;return i?c(e)?o?r?4:2:a?r?5:7:6:a?7:6:0}function u(e){return e.overlay?.getTexture(3)!=null}function d(e){return e.overlay?.getTexture(1)!=null}export{o as ComponentMaterial,s as computeMaterialPass,l as getEmissionSource};
|
package/views/3d/webgl-engine/collections/Component/Material/ComponentMaterialInitParameters.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
class e{constructor(e){this.usePBR=e.usePBR,this.hasParametersFromSource=e.hasParametersFromSource,this.sphereDepthInterpolate=e.sphereDepthInterpolate,this.doubleSided=e.doubleSided,this.cullFace=e.cullFace,this.isGround=e.isGround,this.slicePlaneEnabled=e.slicePlaneEnabled,this.alphaDiscardMode=e.alphaDiscardMode,this.isIntegratedMesh=e.isIntegratedMesh,this.polygonOffset=e.polygonOffset,this.ellipsoidMode=e.ellipsoidMode,this.applySSAO=e.applySSAO,this.groundTransparencyMode=e.groundTransparencyMode??1}}class t extends e{constructor(e){super(e),this.hasBaseColorTransparency=e.baseColor[3]<1,this.hasEmissiveBaseColor=e.emissiveBaseColor[0]!==0||e.emissiveBaseColor[1]!==0||e.emissiveBaseColor[2]!==0,this.isObjectTransparent=e.opacity<1,this.hasBaseColorTexture=e.baseColorTexture!=null,this.hasMetallicRoughnessTexture=e.metallicRoughnessTexture!=null,this.hasNormalTexture=e.normalTexture!=null,this.hasOcclusionTexture=e.occlusionTexture!=null,this.hasEmissionTexture=e.emissionTexture!=null}}export{e as ComponentMaterialBaseParameters,t as ComponentMaterialParameters};
|
|
2
|
+
class e{constructor(e){this.usePBR=e.usePBR,this.hasParametersFromSource=e.hasParametersFromSource,this.sphereDepthInterpolate=e.sphereDepthInterpolate,this.doubleSided=e.doubleSided,this.cullFace=e.cullFace,this.isGround=e.isGround,this.slicePlaneEnabled=e.slicePlaneEnabled,this.alphaDiscardMode=e.alphaDiscardMode,this.isIntegratedMesh=e.isIntegratedMesh,this.polygonOffset=e.polygonOffset,this.ellipsoidMode=e.ellipsoidMode,this.applySSAO=e.applySSAO,this.groundTransparencyMode=e.groundTransparencyMode??1}}class t extends e{constructor(e){super(e),this.hasBaseColorTransparency=e.baseColor[3]<1,this.hasEmissiveBaseColor=e.emissiveBaseColor[0]!==0||e.emissiveBaseColor[1]!==0||e.emissiveBaseColor[2]!==0,this.isObjectTransparent=e.opacity<1,this.hasBaseColorTexture=e.baseColorTexture!=null,this.hasMetallicRoughnessTexture=e.metallicRoughnessTexture!=null,this.hasNormalTexture=e.normalTexture!=null,this.hasOcclusionTexture=e.occlusionTexture!=null,this.hasEmissionTexture=e.emissionTexture!=null,this.hasColorTextureTransform=!!e.textureTransforms?.color,this.hasNormalTextureTransform=!!e.textureTransforms?.normal,this.hasEmissiveTextureTransform=!!e.textureTransforms?.emissive,this.hasOcclusionTextureTransform=!!e.textureTransforms?.occlusion,this.hasMetallicRoughnessTextureTransform=!!e.textureTransforms?.metallicRoughness}}export{e as ComponentMaterialBaseParameters,t as ComponentMaterialParameters};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import"../../../../../../core/has.js";import"../../../../../../core/Logger.js";import{ComponentMaterial as e,computeMaterialPass as t,getEmissionSource as n}from"./ComponentMaterial.js";import{ComponentMaterialGlobalParameters as r}from"./ComponentMaterialGlobalParameters.js";class i{constructor(e,t){this._store=new Map,this.globals=new r(e,t)}destroy(){this._store.forEach(({material:e})=>e.destroy()),this._store.clear()}acquire(t,n,r){let i=this.globals,o=a(t,n,r,i),s=this._store.get(o);if(s)return s.refCount++,s.material.key,s.material;let c=new e(t,n,r,i,o);return this._store.set(o,{material:c,refCount:1}),c}release(e){let{key:t}=e,n=this._store.get(t);if(!n||n.refCount<1)throw Error(`Internal error in material repository`);n.refCount===1?this._store.delete(t):n.refCount--}}function a(e,r,i,a){let o=t(e,i),s=n(e,i);return`|${+a.useFloatBlend}|${+e.usePBR}|${+e.hasParametersFromSource}|${+e.isGround}|${+e.groundTransparencyMode}|${+e.slicePlaneEnabled}|${+e.isIntegratedMesh}|${+e.applySSAO}|${+o}|${+i.componentDataType}|${+s}|${+e.sphereDepthInterpolate}|${+e.ellipsoidMode}|${+e.doubleSided}|${+e.cullFace}|${+e.alphaDiscardMode}|${+r.hasVertexColors}|${+r.textureCoordinateType}|${+r.shadeNormals}|${+r.hasNormals}|${e.polygonOffset}|${+r.vertexPositionRotationType}|${+e.hasBaseColorTexture}|${+e.hasEmissionTexture}|${+e.hasMetallicRoughnessTexture}|${+e.hasOcclusionTexture}|${+e.hasNormalTexture}|${+i.emissiveOverride}`}export{i as ComponentMaterialRepository,a as makeMaterialKey};
|
|
2
|
+
import"../../../../../../core/has.js";import"../../../../../../core/Logger.js";import{ComponentMaterial as e,computeMaterialPass as t,getEmissionSource as n}from"./ComponentMaterial.js";import{ComponentMaterialGlobalParameters as r}from"./ComponentMaterialGlobalParameters.js";class i{constructor(e,t){this._store=new Map,this.globals=new r(e,t)}destroy(){this._store.forEach(({material:e})=>e.destroy()),this._store.clear()}acquire(t,n,r){let i=this.globals,o=a(t,n,r,i),s=this._store.get(o);if(s)return s.refCount++,s.material.key,s.material;let c=new e(t,n,r,i,o);return this._store.set(o,{material:c,refCount:1}),c}release(e){let{key:t}=e,n=this._store.get(t);if(!n||n.refCount<1)throw Error(`Internal error in material repository`);n.refCount===1?this._store.delete(t):n.refCount--}}function a(e,r,i,a){let o=t(e,i),s=n(e,i);return`|${+a.useFloatBlend}|${+e.usePBR}|${+e.hasParametersFromSource}|${+e.isGround}|${+e.groundTransparencyMode}|${+e.slicePlaneEnabled}|${+e.isIntegratedMesh}|${+e.applySSAO}|${+o}|${+i.componentDataType}|${+s}|${+e.sphereDepthInterpolate}|${+e.ellipsoidMode}|${+e.doubleSided}|${+e.cullFace}|${+e.alphaDiscardMode}|${+r.hasVertexColors}|${+r.textureCoordinateType}|${+r.shadeNormals}|${+r.hasNormals}|${e.polygonOffset}|${+r.vertexPositionRotationType}|${+e.hasBaseColorTexture}|${+e.hasEmissionTexture}|${+e.hasMetallicRoughnessTexture}|${+e.hasOcclusionTexture}|${+e.hasNormalTexture}|${+e.hasColorTextureTransform}|${+e.hasNormalTextureTransform}|${+e.hasEmissiveTextureTransform}|${+e.hasOcclusionTextureTransform}|${+e.hasMetallicRoughnessTextureTransform}|${+i.emissiveOverride}`}export{i as ComponentMaterialRepository,a as makeMaterialKey};
|
package/views/3d/webgl-engine/collections/Component/Material/ComponentTechniqueConfiguration.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{__decorate as e}from"tslib";import{isColorHighlightOrOLID as t}from"../../../core/shaderLibrary/ShaderOutput.js";import{parameter as n}from"../../../core/shaderTechnique/ShaderTechniqueConfiguration.js";import{SphereDepthInterpolateConfiguration as r}from"../../../shaders/SphereDepthInterpolate.glsl.js";class i extends r{constructor(e){super(),this.output=0,this.textureCoordinateType=0,this.componentDataType=0,this.cullFace=2,this.vertexDiscardMode=0,this.doubleSidedMode=2,this.alphaDiscardMode=1,this.integratedMeshMode=0,this.pbrMode=0,this.normalType=0,this.emissionSource=0,this.shadeNormals=1,this.polygonOffset=0,this.vertexPositionRotationType=1,this.hasEmission=!1,this.hasVertexColors=!1,this.hasSlicePlane=!1,this.isGround=!1,this.isGroundSlice=!1,this.hasColorTexture=!1,this.hasHighlightMixTexture=!1,this.emissionDimmingPass=!1,this.receiveAmbientOcclusion=!0,this.receiveGlobalIllumination=!1,this.receiveShadows=!0,this.hasShadowHighlights=!1,this.transparent=!0,this.groundTransparencyMode=1,this.screenSpaceReflections=!1,this.hasMetallicRoughnessTexture=!1,this.hasOcclusionTexture=!1,this.hasNormalTexture=!1,this.hasOccludees=!1,this.terrainDepthTest=!1,this.cullAboveTerrain=!1,this.hasNormalTextureTransform=!1,this.cloudReflections=!0,this.snowCover=!1,this.renderOccluded=!1,this.enableOITOffset=!1,this.sphereDepthInterpolate=!1,this.writeDepth=!0,this.oitPremultipliedAlpha=!1,this.occlusionPass=!1,this.bindType=2,this.useCustomDTRExponentForWater=!1,this.hasVertexTangents=!1,this.hasSliceTranslatedView=!1,this.rayMarchMaxReach=1,this.rayMarchMaxSteps=75,this.useProjectedRayLength=!1,this.clampRayToScreen=!0,this.instanced=!1,this.instancedDoublePrecision=!1,this.hasModelTransformation=!1,this.useFillLights=!0,this.draped=!1,this.useTransformationTexture=!0,this.sphericalSR=e.sphericalSR,this.useFloatBlend=e.useFloatBlend}get spherical(){return this.sphericalSR!==0}get overlayEnabled(){return(this.integratedMeshMode===2||this.integratedMeshMode===3)&&t(this.output)}get hasWater(){return this.pbrMode===3||this.pbrMode===4||this.pbrMode===6}}e([n()],i.prototype,`useFloatBlend`,void 0),e([n({count:12})],i.prototype,`output`,void 0),e([n({count:3})],i.prototype,`textureCoordinateType`,void 0),e([n({count:2})],i.prototype,`componentDataType`,void 0),e([n({count:3})],i.prototype,`cullFace`,void 0),e([n({count:3})],i.prototype,`vertexDiscardMode`,void 0),e([n({count:3})],i.prototype,`doubleSidedMode`,void 0),e([n({count:4})],i.prototype,`alphaDiscardMode`,void 0),e([n({count:4})],i.prototype,`integratedMeshMode`,void 0),e([n({count:8})],i.prototype,`pbrMode`,void 0),e([n({count:3})],i.prototype,`normalType`,void 0),e([n({count:8})],i.prototype,`emissionSource`,void 0),e([n({count:3})],i.prototype,`shadeNormals`,void 0),e([n({count:5})],i.prototype,`polygonOffset`,void 0),e([n({count:3})],i.prototype,`vertexPositionRotationType`,void 0),e([n()],i.prototype,`hasEmission`,void 0),e([n()],i.prototype,`hasVertexColors`,void 0),e([n()],i.prototype,`hasSlicePlane`,void 0),e([n()],i.prototype,`isGround`,void 0),e([n()],i.prototype,`isGroundSlice`,void 0),e([n()],i.prototype,`hasColorTexture`,void 0),e([n()],i.prototype,`hasHighlightMixTexture`,void 0),e([n()],i.prototype,`emissionDimmingPass`,void 0),e([n()],i.prototype,`receiveAmbientOcclusion`,void 0),e([n()],i.prototype,`receiveGlobalIllumination`,void 0),e([n()],i.prototype,`receiveShadows`,void 0),e([n()],i.prototype,`hasShadowHighlights`,void 0),e([n()],i.prototype,`transparent`,void 0),e([n({count:4})],i.prototype,`groundTransparencyMode`,void 0),e([n()],i.prototype,`screenSpaceReflections`,void 0),e([n()],i.prototype,`hasMetallicRoughnessTexture`,void 0),e([n()],i.prototype,`hasOcclusionTexture`,void 0),e([n()],i.prototype,`hasNormalTexture`,void 0),e([n()],i.prototype,`hasOccludees`,void 0),e([n()],i.prototype,`terrainDepthTest`,void 0),e([n()],i.prototype,`cullAboveTerrain`,void 0),e([n()],i.prototype,`hasNormalTextureTransform`,void 0),e([n()],i.prototype,`cloudReflections`,void 0),e([n()],i.prototype,`snowCover`,void 0),e([n()],i.prototype,`renderOccluded`,void 0),e([n()],i.prototype,`enableOITOffset`,void 0),e([n()],i.prototype,`sphereDepthInterpolate`,void 0);export{i as ComponentTechniqueConfiguration};
|
|
2
|
+
import{__decorate as e}from"tslib";import{isColorHighlightOrOLID as t}from"../../../core/shaderLibrary/ShaderOutput.js";import{parameter as n}from"../../../core/shaderTechnique/ShaderTechniqueConfiguration.js";import{SphereDepthInterpolateConfiguration as r}from"../../../shaders/SphereDepthInterpolate.glsl.js";class i extends r{constructor(e){super(),this.output=0,this.textureCoordinateType=0,this.componentDataType=0,this.cullFace=2,this.vertexDiscardMode=0,this.doubleSidedMode=2,this.alphaDiscardMode=1,this.integratedMeshMode=0,this.pbrMode=0,this.normalType=0,this.emissionSource=0,this.shadeNormals=1,this.polygonOffset=0,this.vertexPositionRotationType=1,this.hasEmission=!1,this.hasVertexColors=!1,this.hasSlicePlane=!1,this.isGround=!1,this.isGroundSlice=!1,this.hasColorTexture=!1,this.hasHighlightMixTexture=!1,this.emissionDimmingPass=!1,this.receiveAmbientOcclusion=!0,this.receiveGlobalIllumination=!1,this.receiveShadows=!0,this.hasShadowHighlights=!1,this.transparent=!0,this.groundTransparencyMode=1,this.screenSpaceReflections=!1,this.hasMetallicRoughnessTexture=!1,this.hasOcclusionTexture=!1,this.hasNormalTexture=!1,this.hasOccludees=!1,this.terrainDepthTest=!1,this.cullAboveTerrain=!1,this.hasNormalTextureTransform=!1,this.hasColorTextureTransform=!1,this.hasEmissiveTextureTransform=!1,this.hasOcclusionTextureTransform=!1,this.hasMetallicRoughnessTextureTransform=!1,this.cloudReflections=!0,this.snowCover=!1,this.renderOccluded=!1,this.enableOITOffset=!1,this.sphereDepthInterpolate=!1,this.writeDepth=!0,this.oitPremultipliedAlpha=!1,this.occlusionPass=!1,this.bindType=2,this.useCustomDTRExponentForWater=!1,this.hasVertexTangents=!1,this.hasSliceTranslatedView=!1,this.rayMarchMaxReach=1,this.rayMarchMaxSteps=75,this.useProjectedRayLength=!1,this.clampRayToScreen=!0,this.instanced=!1,this.instancedDoublePrecision=!1,this.hasModelTransformation=!1,this.useFillLights=!0,this.draped=!1,this.useTransformationTexture=!0,this.sphericalSR=e.sphericalSR,this.useFloatBlend=e.useFloatBlend}get spherical(){return this.sphericalSR!==0}get overlayEnabled(){return(this.integratedMeshMode===2||this.integratedMeshMode===3)&&t(this.output)}get hasWater(){return this.pbrMode===3||this.pbrMode===4||this.pbrMode===6}}e([n()],i.prototype,`useFloatBlend`,void 0),e([n({count:12})],i.prototype,`output`,void 0),e([n({count:3})],i.prototype,`textureCoordinateType`,void 0),e([n({count:2})],i.prototype,`componentDataType`,void 0),e([n({count:3})],i.prototype,`cullFace`,void 0),e([n({count:3})],i.prototype,`vertexDiscardMode`,void 0),e([n({count:3})],i.prototype,`doubleSidedMode`,void 0),e([n({count:4})],i.prototype,`alphaDiscardMode`,void 0),e([n({count:4})],i.prototype,`integratedMeshMode`,void 0),e([n({count:8})],i.prototype,`pbrMode`,void 0),e([n({count:3})],i.prototype,`normalType`,void 0),e([n({count:8})],i.prototype,`emissionSource`,void 0),e([n({count:3})],i.prototype,`shadeNormals`,void 0),e([n({count:5})],i.prototype,`polygonOffset`,void 0),e([n({count:3})],i.prototype,`vertexPositionRotationType`,void 0),e([n()],i.prototype,`hasEmission`,void 0),e([n()],i.prototype,`hasVertexColors`,void 0),e([n()],i.prototype,`hasSlicePlane`,void 0),e([n()],i.prototype,`isGround`,void 0),e([n()],i.prototype,`isGroundSlice`,void 0),e([n()],i.prototype,`hasColorTexture`,void 0),e([n()],i.prototype,`hasHighlightMixTexture`,void 0),e([n()],i.prototype,`emissionDimmingPass`,void 0),e([n()],i.prototype,`receiveAmbientOcclusion`,void 0),e([n()],i.prototype,`receiveGlobalIllumination`,void 0),e([n()],i.prototype,`receiveShadows`,void 0),e([n()],i.prototype,`hasShadowHighlights`,void 0),e([n()],i.prototype,`transparent`,void 0),e([n({count:4})],i.prototype,`groundTransparencyMode`,void 0),e([n()],i.prototype,`screenSpaceReflections`,void 0),e([n()],i.prototype,`hasMetallicRoughnessTexture`,void 0),e([n()],i.prototype,`hasOcclusionTexture`,void 0),e([n()],i.prototype,`hasNormalTexture`,void 0),e([n()],i.prototype,`hasOccludees`,void 0),e([n()],i.prototype,`terrainDepthTest`,void 0),e([n()],i.prototype,`cullAboveTerrain`,void 0),e([n()],i.prototype,`hasNormalTextureTransform`,void 0),e([n()],i.prototype,`hasColorTextureTransform`,void 0),e([n()],i.prototype,`hasEmissiveTextureTransform`,void 0),e([n()],i.prototype,`hasOcclusionTextureTransform`,void 0),e([n()],i.prototype,`hasMetallicRoughnessTextureTransform`,void 0),e([n()],i.prototype,`cloudReflections`,void 0),e([n()],i.prototype,`snowCover`,void 0),e([n()],i.prototype,`renderOccluded`,void 0),e([n()],i.prototype,`enableOITOffset`,void 0),e([n()],i.prototype,`sphereDepthInterpolate`,void 0);export{i as ComponentTechniqueConfiguration};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{IDENTITY as e}from"../../../../../../core/libs/gl-matrix-2/factories/mat3f64.js";import{ONES as t}from"../../../../../../core/libs/gl-matrix-2/factories/vec2f64.js";import{VertexTextureCoordinates as n}from"../attributes/VertexTextureCoordinates.glsl.js";import{Float2DrawUniform as r}from"../../shaderModules/Float2DrawUniform.js";import{Float2PassUniform as i}from"../../shaderModules/Float2PassUniform.js";import{glsl as a}from"../../shaderModules/glsl.js";import{
|
|
2
|
+
import{IDENTITY as e}from"../../../../../../core/libs/gl-matrix-2/factories/mat3f64.js";import{ONES as t}from"../../../../../../core/libs/gl-matrix-2/factories/vec2f64.js";import{VertexTextureCoordinates as n}from"../attributes/VertexTextureCoordinates.glsl.js";import{Float2DrawUniform as r}from"../../shaderModules/Float2DrawUniform.js";import{Float2PassUniform as i}from"../../shaderModules/Float2PassUniform.js";import{glsl as a}from"../../shaderModules/glsl.js";import{Matrix3DrawUniform as o}from"../../shaderModules/Matrix3DrawUniform.js";import{Matrix3PassUniform as s}from"../../shaderModules/Matrix3PassUniform.js";import{Texture2DDrawUniform as c}from"../../shaderModules/Texture2DDrawUniform.js";import{Texture2DPassUniform as l}from"../../shaderModules/Texture2DPassUniform.js";function u(e,t){return f(e,t)}function d(e,t){return f(e,t)}function f(u,d){let f=u.fragment,{hasVertexTangents:p,doubleSidedMode:m,hasNormalTexture:h,textureCoordinateType:g,bindType:_,hasNormalTextureTransform:v}=d;p?(u.attributes.add(`tangent`,`vec4`),u.varyings.add(`vTangent`,`vec4`),m===2?f.code.add(a`mat3 computeTangentSpace(vec3 normal) {
|
|
3
3
|
float tangentHeadedness = gl_FrontFacing ? vTangent.w : -vTangent.w;
|
|
4
4
|
vec3 tangent = normalize(gl_FrontFacing ? vTangent.xyz : -vTangent.xyz);
|
|
5
5
|
vec3 bitangent = cross(normal, tangent) * tangentHeadedness;
|
|
6
6
|
return mat3(tangent, bitangent, normal);
|
|
7
|
-
}`):
|
|
7
|
+
}`):f.code.add(a`mat3 computeTangentSpace(vec3 normal) {
|
|
8
8
|
float tangentHeadedness = vTangent.w;
|
|
9
9
|
vec3 tangent = normalize(vTangent.xyz);
|
|
10
10
|
vec3 bitangent = cross(normal, tangent) * tangentHeadedness;
|
|
11
11
|
return mat3(tangent, bitangent, normal);
|
|
12
|
-
}`)):
|
|
12
|
+
}`)):f.code.add(a`mat3 computeTangentSpace(vec3 normal, vec3 pos, vec2 st) {
|
|
13
13
|
vec3 Q1 = dFdx(pos);
|
|
14
14
|
vec3 Q2 = dFdy(pos);
|
|
15
15
|
vec2 stx = dFdx(st);
|
|
@@ -20,9 +20,9 @@ T = T - normal * dot(normal, T);
|
|
|
20
20
|
T *= inversesqrt(max(dot(T,T), 1.e-10));
|
|
21
21
|
vec3 B = sign(det) * cross(normal, T);
|
|
22
22
|
return mat3(T, B, normal);
|
|
23
|
-
}`),
|
|
24
|
-
vec3 rawNormal = textureLookup(normalTexture, uv).rgb * 2.0 - 1.0;`),
|
|
25
|
-
normalTextureTransformMatrix[1][0]/
|
|
23
|
+
}`),h&&g!==0&&(u.include(n,d),f.uniforms.add(_===1?new l(`normalTexture`,e=>e.textureNormal):new c(`normalTexture`,e=>e.textureNormal)),v&&(f.uniforms.add(_===1?new i(`normalScale`,e=>e.normalScale??t):new r(`normalScale`,e=>e.normalScale??t)),f.uniforms.add(_===1?new s(`normalTextureTransformMatrix`,t=>t.normalTextureTransformMatrix??e):new o(`normalTextureTransformMatrix`,t=>t.normalTextureTransformMatrix??e))),f.code.add(a`vec3 computeTextureNormal(mat3 tangentSpace, vec2 uv) {
|
|
24
|
+
vec3 rawNormal = textureLookup(normalTexture, uv).rgb * 2.0 - 1.0;`),v&&f.code.add(a`mat3 normalRotation = mat3(normalTextureTransformMatrix[0][0]/normalScale[0], normalTextureTransformMatrix[0][1]/normalScale[1], 0.0,
|
|
25
|
+
normalTextureTransformMatrix[1][0]/normalScale[0], normalTextureTransformMatrix[1][1]/normalScale[1], 0.0,
|
|
26
26
|
0.0, 0.0, 0.0 );
|
|
27
|
-
rawNormal.xy = (normalRotation * vec3(rawNormal.x, rawNormal.y, 1.0)).xy;`),
|
|
28
|
-
}`))}export{
|
|
27
|
+
rawNormal.xy = (normalRotation * vec3(rawNormal.x, rawNormal.y, 1.0)).xy;`),f.code.add(a`return tangentSpace * rawNormal;
|
|
28
|
+
}`))}export{d as ComputeNormalTextureDraw,u as ComputeNormalTexturePass};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{isColor as e}from"../ShaderOutput.js";import{VertexTextureCoordinates as t}from"../attributes/VertexTextureCoordinates.glsl.js";import{glsl as n}from"../../shaderModules/glsl.js";import{Texture2DDrawUniform as r}from"../../shaderModules/Texture2DDrawUniform.js";function i(i,a){a.hasColorTexture&&(e(a.output)||a.alphaDiscardMode!==1)?(i.include(t,a),i.fragment.uniforms.add(new r(`baseColorTexture`,e=>e.texture,e=>e.textureSampler)).code.add(n`vec4 readBaseColorTexture() { return textureLookup(baseColorTexture, vuv0); }`)):i.fragment.code.add(n`vec4 readBaseColorTexture() { return vec4(1.0); }`)}export{i as ReadBaseColorTexture};
|
|
2
|
+
import{isColor as e}from"../ShaderOutput.js";import{VertexTextureCoordinates as t}from"../attributes/VertexTextureCoordinates.glsl.js";import{glsl as n}from"../../shaderModules/glsl.js";import{Texture2DDrawUniform as r}from"../../shaderModules/Texture2DDrawUniform.js";function i(i,a){a.hasColorTexture&&(e(a.output)||a.alphaDiscardMode!==1)?(i.include(t,a),i.fragment.uniforms.add(new r(`baseColorTexture`,e=>e.texture,e=>e.textureSampler)).code.add(n`vec4 readBaseColorTexture() { return textureLookup(baseColorTexture, ${a.hasColorTextureTransform?`colorUV`:`vuv0`}); }`)):i.fragment.code.add(n`vec4 readBaseColorTexture() { return vec4(1.0); }`)}export{i as ReadBaseColorTexture};
|
package/views/3d/webgl-engine/core/shaderLibrary/shading/evaluateSceneLightingFragment.glsl.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{EvaluateAmbientOcclusion as e}from"./EvaluateAmbientOcclusion.glsl.js";import{EvaluateSceneLighting as t,addAmbientBoostFactor as n}from"./EvaluateSceneLighting.glsl.js";import{mainLightIntensity as
|
|
2
|
+
import{EvaluateAmbientOcclusion as e}from"./EvaluateAmbientOcclusion.glsl.js";import{EvaluateSceneLighting as t,addAmbientBoostFactor as n}from"./EvaluateSceneLighting.glsl.js";import{getLocalUp as r}from"./getLocalUp.glsl.js";import{mainLightIntensity as i,lightingGlobalFactor as a}from"./lightingUniforms.js";import{readFragmentShadow as o}from"./readFragmentShadow.glsl.js";import{addCameraPosition as s}from"../util/View.glsl.js";import{glsl as c}from"../../shaderModules/glsl.js";import{applySnow as l}from"../../../effects/snowcover/applySnow.glsl.js";function u(u,d){let{vertex:f,fragment:p}=u;u.include(o,d),p.include(t,d),p.include(e,d),p.include(l,d),p.include(r,d),n(p),s(p,d),f.main.add(`forwardLinearDepthToReadShadow();`),p.uniforms.add(i,a,f.uniforms.get(`localOrigin`)).code.add(c`vec4 evaluateSceneLightingFragment(vec3 vpos, vec3 normal, vec4 albedo, out float snow) {
|
|
3
3
|
vec3 posWorld = vpos + localOrigin;
|
|
4
4
|
float additionalAmbientScale = additionalDirectedAmbientLight(posWorld);
|
|
5
5
|
float shadow = readFragmentShadow(additionalAmbientScale);
|
|
6
6
|
float ssao = evaluateAmbientOcclusionInverse();
|
|
7
|
+
snow = applySnow(normal, getLocalUp(posWorld), albedo.rgb, ssao);
|
|
7
8
|
vec3 additionalLight = ssao * mainLightIntensity * additionalAmbientScale * ambientBoostFactor * lightingGlobalFactor;
|
|
8
9
|
vec3 viewDirection = normalize(vpos - cameraPosition);
|
|
9
10
|
return vec4(
|
|
10
11
|
evaluateSceneLighting(normal, albedo.rgb, shadow, 1.0 - ssao, additionalLight, viewDirection, normal),
|
|
11
12
|
albedo.a);
|
|
12
|
-
}`)}export{
|
|
13
|
+
}`)}export{u as evaluateSceneLightingFragment};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{Gamma as e}from"../../core/shaderLibrary/shading/Gamma.glsl.js";import{pbrGlobals as t}from"../../core/shaderLibrary/shading/pbrGlobals.glsl.js";import{FloatBindUniform as n}from"../../core/shaderModules/FloatBindUniform.js";import{glsl as r}from"../../core/shaderModules/glsl.js";function i(i,a){a.snowCover
|
|
2
|
+
import{Gamma as e}from"../../core/shaderLibrary/shading/Gamma.glsl.js";import{pbrGlobals as t}from"../../core/shaderLibrary/shading/pbrGlobals.glsl.js";import{FloatBindUniform as n}from"../../core/shaderModules/FloatBindUniform.js";import{glsl as r}from"../../core/shaderModules/glsl.js";function i(i,a){a.snowCover?(i.include(e),i.uniforms.add(new n(`snowCover`,e=>e.snowCover)).code.add(r`float applySnow(vec3 normal, vec3 groundNormal, inout vec3 albedo, inout float ssao) {
|
|
3
3
|
float snow = smoothstep(0.5, 0.55, dot(normal, groundNormal)) * snowCover;
|
|
4
4
|
albedo = delinearizeGamma(mix(linearizeGamma(albedo), vec3(1), snow));
|
|
5
5
|
ssao = mix(ssao, 0.5 + 0.5 * ssao, snow);
|
|
@@ -15,4 +15,6 @@ ssao = mix(ssao, 0.5 + 0.5 * ssao, snow);
|
|
|
15
15
|
return snow;
|
|
16
16
|
}`),i.include(t),i.code.add(r`void applySnowToMRR(float snow) {
|
|
17
17
|
mrr = mix(mrr, vec3(0.0, 1.0, 0.04), snow);
|
|
18
|
-
}`))
|
|
18
|
+
}`)):i.code.add(r`float applySnow(vec3 normal, vec3 groundNormal, inout vec3 albedo, inout float ssao) {
|
|
19
|
+
return 0.0;
|
|
20
|
+
}`)}export{i as applySnow};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{integerArrayElementBytes as e}from"../../../../core/memoryEstimations.js";import{add as t}from"../../../../core/libs/gl-matrix-2/math/vec3.js";import{getContinuousIndexArray as n}from"../../../../geometry/support/Indices.js";import{NullSphere as r,Sphere as i}from"../../../../geometry/support/sphere.js";import{affectsGeometry as a}from"./affectsGeometry.js";import{BoundingInfo as o}from"./BoundingInfo.js";import{BufferGeometryBaseInstance as s}from"./BufferGeometryBaseInstance.js";import{Object3DHighlightStateID as c}from"./Object3DStateID.js";import{assert as l}from"./Util.js";class u extends s{constructor(e,t,n,r=null,i=null){super(t),this.material=e,this.localOrigin=n,this.mapPositions=r,this.baseGeometry=i,this.layerViewUid=null,this.graphicUid=null,this.castShadow=!1,this._readPrimitivePosition=null,this._boundingInfo=null,this._boundingSphere=null,this._highlights=null,this._highlightOptionsCounts=null,this.occludees=void 0,this.visible=!0;let a=e?.useIndexing??!1,o=t.index!=null,s=i!=null;l(!s||!a&&i.buffers.index==null&&!o,`Instancing for index materials is not supported`),l(!s||t.vertex.count===1,`Instanced BufferGeometry requires exactly one instance`),l(a===o,`Material index requirement and BufferGeometry.buffers.index must match`)}instantiate(e){return new u(e,this._buffers,this.localOrigin,this.mapPositions,this.baseGeometry)}get usedMemoryExcludingBuffers(){return this._boundingInfo?.usedMemory??0}computeBufferMemory(t){return t.arrayMemory(this._buffers.index,e,!0)+t.arrayMemory(this._buffers.storage?.texelElementBuffer)+t.arrayMemory(this.mapPositions)+t.bufferMemory(this._buffers.vertex.buffer)}get indexCount(){return this.baseGeometry?.buffers.indexCount??this._buffers.indexCount??0}get faceCount(){return this.indexCount/3}get readPrimitivePosition(){return this._readPrimitivePosition??=this.material.createPrimitivePositionReader(this.buffers,this.baseGeometry?.buffers),this._readPrimitivePosition}get boundingInfo(){return this._boundingInfo||(this._boundingInfo=this._calculateBoundingInfo(),this._boundingInfo&&this.notifyMemoryChange?.(this._boundingInfo.usedMemory)),this._boundingInfo}get boundingSphere(){let e=this.boundingInfo?.sphere;if(e==null)return r;if(this._boundingSphere==null){let n=new i;n.copyFrom(e),t(n.center,n.center,this.localOrigin.vec3),this._boundingSphere=n}return this._boundingSphere}_calculateBoundingInfo(){let e=this.
|
|
2
|
+
import{integerArrayElementBytes as e}from"../../../../core/memoryEstimations.js";import{add as t}from"../../../../core/libs/gl-matrix-2/math/vec3.js";import{getContinuousIndexArray as n}from"../../../../geometry/support/Indices.js";import{NullSphere as r,Sphere as i}from"../../../../geometry/support/sphere.js";import{affectsGeometry as a}from"./affectsGeometry.js";import{BoundingInfo as o}from"./BoundingInfo.js";import{BufferGeometryBaseInstance as s}from"./BufferGeometryBaseInstance.js";import{Object3DHighlightStateID as c}from"./Object3DStateID.js";import{assert as l}from"./Util.js";class u extends s{constructor(e,t,n,r=null,i=null){super(t),this.material=e,this.localOrigin=n,this.mapPositions=r,this.baseGeometry=i,this.layerViewUid=null,this.graphicUid=null,this.castShadow=!1,this._readPrimitivePosition=null,this._boundingInfo=null,this._boundingSphere=null,this._highlights=null,this._highlightOptionsCounts=null,this.occludees=void 0,this.visible=!0;let a=e?.useIndexing??!1,o=t.index!=null,s=i!=null;l(!s||!a&&i.buffers.index==null&&!o,`Instancing for index materials is not supported`),l(!s||t.vertex.count===1,`Instanced BufferGeometry requires exactly one instance`),l(a===o,`Material index requirement and BufferGeometry.buffers.index must match`)}instantiate(e){return new u(e,this._buffers,this.localOrigin,this.mapPositions,this.baseGeometry)}get usedMemoryExcludingBuffers(){return this._boundingInfo?.usedMemory??0}computeBufferMemory(t){return t.arrayMemory(this._buffers.index,e,!0)+t.arrayMemory(this._buffers.storage?.texelElementBuffer)+t.arrayMemory(this.mapPositions)+t.bufferMemory(this._buffers.vertex.buffer)}get indexCount(){return this.baseGeometry?.buffers.indexCount??this._buffers.indexCount??0}get faceCount(){return this.indexCount/3}get readPrimitivePosition(){return this._readPrimitivePosition??=this.material.createPrimitivePositionReader(this.buffers,this.baseGeometry?.buffers),this._readPrimitivePosition}get boundingInfo(){return this._boundingInfo||(this._boundingInfo=this._calculateBoundingInfo(),this._boundingInfo&&this.notifyMemoryChange?.(this._boundingInfo.usedMemory)),this._boundingInfo}get boundingSphere(){let e=this.boundingInfo?.sphere;if(e==null)return r;if(this._boundingSphere==null){let n=new i;n.copyFrom(e),t(n.center,n.center,this.localOrigin.vec3),this._boundingSphere=n}return this._boundingSphere}_calculateBoundingInfo(){let e=this.material.getPrimitivePositionCount(this.buffers,this.baseGeometry?.buffers);if(e===0)return null;let t=this.material.primitiveVertexCount;l(e%t===0,`Indexing error: `+e+` not divisible by `+t);let r=n(e/t);return new o(r,t,this.readPrimitivePosition,e=>this.notifyMemoryChange?.(e))}invalidateBoundingInfo(){let e=this._boundingInfo?.usedMemory??0;this._boundingInfo=null,this._boundingSphere=null,e&&this.notifyMemoryChange?.(-e)}getMutableBuffers(){return this._invalidatePositionCaches(),this._buffers}getMutableVertexField(e,t){let n=this._buffers.vertex.getField(e,t);return n!=null&&a(e)&&this._invalidatePositionCaches(),n}getMutableStorageField(e,t){let n=this._buffers.storage?.getField(e,t);return n!=null&&a(e)&&this._invalidatePositionCaches(),n}_invalidatePositionCaches(){this._readPrimitivePosition=null,this.invalidateBoundingInfo()}computeAttachmentOrigin(e){let n=this.material.getPrimitivePositionCount(this.buffers,this.baseGeometry?.buffers);return this.material.computeAttachmentOrigin(e,this.readPrimitivePosition,n)?(t(e,e,this.localOrigin.vec3),!0):!1}get highlights(){return this._highlights||d}get hasHighlights(){return(this._highlightOptionsCounts?.size??0)>0}forEachHighlightOption(e){this._highlightOptionsCounts?.forEach((t,n)=>e(n))}allocateIdAndHighlight(e){let t=new c(e);return this.addHighlight(t)}addHighlight(e){this._ensureHighlights().add(e);let{highlightName:t}=e,n=(this._highlightOptionsCounts?.get(t)??0)+1;return this._ensureHighlightOptionsCounts().set(t,n),e}_ensureHighlights(){let e=this._highlights;return e||(e=new Set,this._highlights=e),e}_ensureHighlightOptionsCounts(){let e=this._highlightOptionsCounts;return e||(e=new Map,this._highlightOptionsCounts=e),e}removeHighlight(e){if(this._highlights?.delete(e)){let{highlightName:t}=e,n=this._highlightOptionsCounts?.get(t)??0;n<=1?this._highlightOptionsCounts?.delete(t):this._ensureHighlightOptionsCounts().set(t,n-1)}}}const d=new Set;export{u as BufferGeometry};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{releaseMaybe as e}from"../../../../core/maybe.js";import{isPromiseLike as t}from"../../../../core/promiseUtils.js";import n from"./GLMaterial.js";import{NoParameters as r}from"../../../webgl/NoParameters.js";class i extends n{constructor(e){super(e),this._numLoading=0,this._disposed=!1,this._textures=e.textures,this.updateTexture(e.textureId),this._acquire(e.normalTextureId,e=>this._textureNormal=e),this._acquire(e.emissiveTextureId,e=>this._textureEmissive=e),this._acquire(e.occlusionTextureId,e=>this._textureOcclusion=e),this._acquire(e.metallicRoughnessTextureId,e=>this._textureMetallicRoughness=e)}dispose(){super.dispose(),this._texture=e(this._texture),this._textureNormal=e(this._textureNormal),this._textureEmissive=e(this._textureEmissive),this._textureOcclusion=e(this._textureOcclusion),this._textureMetallicRoughness=e(this._textureMetallicRoughness),this._disposed=!0}ensureResources(e){return this._numLoading===0?2:1}get textureBindParameters(){return new o(this._texture?.texture??null,this._textureNormal?.texture??null,this._textureEmissive?.texture??null,this._textureOcclusion?.texture??null,this._textureMetallicRoughness?.texture??null)}updateTexture(t){(this._texture==null||t!==this._texture.id)&&(this._texture=e(this._texture),this._acquire(t,e=>this._texture=e))}_acquire(n,r){if(n==null){r(null);return}let i=this._textures.acquire(n);t(i)?(++this._numLoading,i.then(t=>{this._disposed?(e(t),r(null)):r(t)}).finally(()=>--this._numLoading)):r(i)}}class a extends r{constructor(e=null){super(),this.textureEmissive=e}}class o extends a{constructor(e,t,n,r,i,a,o){super(n),this.texture=e,this.textureNormal=t,this.textureOcclusion=r,this.textureMetallicRoughness=i,this.
|
|
2
|
+
import{releaseMaybe as e}from"../../../../core/maybe.js";import{isPromiseLike as t}from"../../../../core/promiseUtils.js";import n from"./GLMaterial.js";import{NoParameters as r}from"../../../webgl/NoParameters.js";class i extends n{constructor(e){super(e),this._numLoading=0,this._disposed=!1,this._textures=e.textures,this.updateTexture(e.textureId),this._acquire(e.normalTextureId,e=>this._textureNormal=e),this._acquire(e.emissiveTextureId,e=>this._textureEmissive=e),this._acquire(e.occlusionTextureId,e=>this._textureOcclusion=e),this._acquire(e.metallicRoughnessTextureId,e=>this._textureMetallicRoughness=e)}dispose(){super.dispose(),this._texture=e(this._texture),this._textureNormal=e(this._textureNormal),this._textureEmissive=e(this._textureEmissive),this._textureOcclusion=e(this._textureOcclusion),this._textureMetallicRoughness=e(this._textureMetallicRoughness),this._disposed=!0}ensureResources(e){return this._numLoading===0?2:1}get textureBindParameters(){return new o(this._texture?.texture??null,this._textureNormal?.texture??null,this._textureEmissive?.texture??null,this._textureOcclusion?.texture??null,this._textureMetallicRoughness?.texture??null)}updateTexture(t){(this._texture==null||t!==this._texture.id)&&(this._texture=e(this._texture),this._acquire(t,e=>this._texture=e))}_acquire(n,r){if(n==null){r(null);return}let i=this._textures.acquire(n);t(i)?(++this._numLoading,i.then(t=>{this._disposed?(e(t),r(null)):r(t)}).finally(()=>--this._numLoading)):r(i)}}class a extends r{constructor(e=null){super(),this.textureEmissive=e}}class o extends a{constructor(e,t,n,r,i,a,o){super(n),this.texture=e,this.textureNormal=t,this.textureOcclusion=r,this.textureMetallicRoughness=i,this.normalScale=a,this.normalTextureTransformMatrix=o}}export{a as GLEmissiveTexturePassParameters,i as GLTextureMaterial,o as GLTextureMaterialBindParameters};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{set as e,transformMat4 as t,subtract as n,normalize as r,scale as i,add as a,dot as o,cross as s,copy as c}from"../../../../core/libs/gl-matrix-2/math/vec3.js";import{clone as l,fromValues as u,create as d}from"../../../../core/libs/gl-matrix-2/factories/vec3f32.js";import{ZEROS as f,UNIT_Z as p,create as m}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{newDoubleArray as h}from"../../../../geometry/support/DoubleArray.js";import{newFloatArray as g,floatArrayFrom as _}from"../../../../geometry/support/FloatArray.js";import{getContinuousIndexArray as v,getZeroIndexArray as y}from"../../../../geometry/support/Indices.js";import{create as b,fromPositionAndNormal as x,intersectRay as S}from"../../../../geometry/support/plane.js";import{wrap as C}from"../../../../geometry/support/ray.js";import{timeStampsToAttribute as w,numTimeStampValuesPerVertex as T}from"../../support/engineContent/line.js";import{Attribute as E}from"./Attribute.js";import{BufferGeometry as D}from"./BufferGeometry.js";import{Buffers as O}from"./Buffers.js";import{scale as k,length as A,normalize as j,add as M}from"./bufferVectorMath.js";import{Geometry as N}from"./Geometry.js";import{compressNormals as P,decompressNormal as F,compressNormal as I}from"./Normals.js";import{assert as L}from"./Util.js";import{getHUDMaterialBufferBaseInstance as R}from"../materials/HUDMaterialBaseInstance.js";import{getInstanceLayout as z}from"../shaders/hudMaterialLayouts.js";const B=[[-.5,-.5,.5],[.5,-.5,.5],[.5,.5,.5],[-.5,.5,.5],[-.5,-.5,-.5],[.5,-.5,-.5],[.5,.5,-.5],[-.5,.5,-.5]],ee=P([0,0,1,-1,0,0,1,0,0,0,-1,0,0,1,0,0,0,-1]),te=[0,0,1,0,1,1,0,1],ne=[0,1,2,2,3,0,4,0,3,3,7,4,1,5,6,6,2,1,1,0,4,4,5,1,3,2,6,6,7,3,5,4,7,7,6,5],V=Array(36);for(let e=0;e<6;e++)for(let t=0;t<6;t++)V[e*6+t]=e;const H=Array(36);for(let e=0;e<6;e++)H[e*6]=0,H[e*6+1]=1,H[e*6+2]=2,H[e*6+3]=2,H[e*6+4]=3,H[e*6+5]=0;function re(e,t){Array.isArray(t)||(t=[t,t,t]);let n=Array(24);for(let e=0;e<8;e++)n[e*3]=B[e][0]*t[0],n[e*3+1]=B[e][1]*t[1],n[e*3+2]=B[e][2]*t[2];return e.setParameters({normalType:1}),new N(e,[[`position`,new E(n,ne,3,!0)],[`normalCompressed`,new E(ee,V,2)],[`uv0`,new E(te,H,2)]])}const U=[[-.5,0,-.5],[.5,0,-.5],[.5,0,.5],[-.5,0,.5],[0,-.5,0],[0,.5,0]],ie=P([0,1,-1,1,1,0,0,1,1,-1,1,0,0,-1,-1,1,-1,0,0,-1,1,-1,-1,0]),ae=[5,1,0,5,2,1,5,3,2,5,0,3,4,0,1,4,1,2,4,2,3,4,3,0],oe=[0,0,0,1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7];function se(e,t){Array.isArray(t)||(t=[t,t,t]);let n=Array(18);for(let e=0;e<6;e++)n[e*3]=U[e][0]*t[0],n[e*3+1]=U[e][1]*t[1],n[e*3+2]=U[e][2]*t[2];return e.setParameters({normalType:1}),new N(e,[[`position`,new E(n,ae,3,!0)],[`normalCompressed`,new E(ie,oe,2)]])}const W=u(-.5,0,-.5),G=u(.5,0,-.5),K=u(0,0,.5),q=u(0,.5,0),J=d(),Y=d(),X=d(),Z=d(),Q=d();n(J,W,q),n(Y,W,G),s(X,J,Y),r(X,X),n(J,G,q),n(Y,G,K),s(Z,J,Y),r(Z,Z),n(J,K,q),n(Y,K,W),s(Q,J,Y),r(Q,Q);const ce=[W,G,K,q],le=P([0,-1,0,X[0],X[1],X[2],Z[0],Z[1],Z[2],Q[0],Q[1],Q[2]]),ue=[0,1,2,3,1,0,3,2,1,3,0,2],de=[0,0,0,1,1,1,2,2,2,3,3,3];function fe(e,t){Array.isArray(t)||(t=[t,t,t]);let n=Array(12);for(let e=0;e<4;e++)n[e*3]=ce[e][0]*t[0],n[e*3+1]=ce[e][1]*t[1],n[e*3+2]=ce[e][2]*t[2];return e.setParameters({normalType:1}),new N(e,[[`position`,new E(n,ue,3,!0)],[`normalCompressed`,new E(le,de,2)]])}function pe(e,t,n,r,i={uv:!0}){let a=-Math.PI,o=Math.PI*2,s=-Math.PI/2,c=Math.PI,l=Math.max(3,Math.floor(n)),u=Math.max(2,Math.floor(r)),d=(l+1)*(u+1),f=g(d*3),p=g(d*3),m=g(d*2),h=[],_=0;for(let e=0;e<=u;e++){let n=[],r=e/u,i=s+r*c,d=Math.cos(i);for(let e=0;e<=l;e++){let s=e/l,c=a+s*o,u=Math.cos(c)*d,h=Math.sin(i),g=-Math.sin(c)*d;f[3*_]=u*t,f[3*_+1]=h*t,f[3*_+2]=g*t,p[3*_]=u,p[3*_+1]=h,p[3*_+2]=g,m[2*_]=s,m[2*_+1]=r,n.push(_),++_}h.push(n)}let v=[];for(let e=0;e<u;e++)for(let t=0;t<l;t++){let n=h[e][t],r=h[e][t+1],i=h[e+1][t+1],a=h[e+1][t];e===0?(v.push(n),v.push(i),v.push(a)):e===u-1?(v.push(n),v.push(r),v.push(i)):(v.push(n),v.push(r),v.push(i),v.push(i),v.push(a),v.push(n))}let b=[[`position`,new E(f,v,3,!0)],[`normalCompressed`,new E(P(p),v,2,!0)]];return i.uv&&b.push([`uv0`,new E(m,v,2,!0)]),i.offset&&(b[0][0]=`offset`,b.push([`position`,new E(Float64Array.from(i.offset),y(v.length),3,!0)])),new N(e,b)}function me(e,t,n){let r=he(t,n);return e.setParameters({normalType:1}),new N(e,r)}function he(e,t){let n=[0,-1,0,1,0,0,0,0,1,-1,0,0,0,0,-1,0,1,0],r=[0,1,2,0,2,3,0,3,4,0,4,1,1,5,2,2,5,3,3,5,4,4,5,1];for(let t=0;t<n.length;t+=3)k(n,t,e/A(n,t));let i={};function a(t,r){t>r&&([t,r]=[r,t]);let a=t.toString()+`.`+r.toString();if(i[a])return i[a];let o=n.length;return n.length+=3,M(n,t*3,n,r*3,n,o),k(n,o,e/A(n,o)),o/=3,i[a]=o,o}for(let e=0;e<t;e++){let e=r.length,t=Array(e*4);for(let n=0;n<e;n+=3){let e=r[n],i=r[n+1],o=r[n+2],s=a(e,i),c=a(i,o),l=a(o,e),u=n*4;t[u]=e,t[u+1]=s,t[u+2]=l,t[u+3]=i,t[u+4]=c,t[u+5]=s,t[u+6]=o,t[u+7]=l,t[u+8]=c,t[u+9]=s,t[u+10]=c,t[u+11]=l}r=t,i={}}let o=_(n);for(let e=0;e<o.length;e+=3)j(o,e);return[[`position`,new E(_(n),r,3,!0)],[`normalCompressed`,new E(P(o),r,2,!0)]]}function ge(e,t,{position:r,normal:i,groundDistance:a,size:o,rotation:s,color:c,uvi:l,centerOffset:u,featureAttribute:d,olidColor:m}={}){let h=z(e.parameters).createBuffer(1);return n($,r??f,t.vec3),h.position.setVec(0,$),h.normal.setVec(0,i??p),h.groundDistance.set(0,a??1),o!=null&&h.size?.setVec(0,o),s!=null&&h.rotation?.set(0,s),c!=null&&h.color?.setVec(0,c),l!=null&&h.uvi?.setVec(0,l),u!=null&&h.centerOffset?.setVec(0,u),d!=null&&h.featureAttribute?.setVec(0,d),m!=null&&h.olidColor?.setVec(0,m),new D(e,new O(h),t,null,R())}const _e=[[-1,-1,0],[1,-1,0],[1,1,0],[-1,1,0]];function ve(e,t=_e){let n=Array(12);for(let e=0;e<4;e++)for(let r=0;r<3;r++)n[e*3+r]=t[e][r];let r=[0,1,2,2,3,0],i=[0,0,1],a=[0,0,0,0,0,0],o=[[`position`,new E(n,r,3,!0)],[`normal`,new E(i,a,3,!0)],[`uv0`,new E([0,0,1,0,1,1,0,1],r,2,!0)],[`color`,new E([255,255,255,255],a,4,!0)]];return new N(e,o)}function ye(e,t,n,r,i,a=!0,o=!0){let s=0,c=n,l=t,d=u(0,s,0),f=u(0,s+l,0),p=u(0,-1,0),m=u(0,1,0);i&&(s=l,f=u(0,0,0),d=u(0,s,0),p=u(0,1,0),m=u(0,-1,0));let h=[f,d],_=[p,m],v=Math.sqrt(l*l+c*c);if(i)for(let e=r-1;e>=0;e--){let t=2*Math.PI/r*e,n=u(Math.cos(t)*c,s,Math.sin(t)*c);h.push(n);let i=u(l*Math.cos(t)/v,-c/v,l*Math.sin(t)/v);_.push(i)}else for(let e=0;e<r;e++){let t=2*Math.PI/r*e,n=u(Math.cos(t)*c,s,Math.sin(t)*c);h.push(n);let i=u(l*Math.cos(t)/v,c/v,l*Math.sin(t)/v);_.push(i)}let y=[],b=[];if(a){for(let e=3;e<h.length;e++)y.push(1),y.push(e-1),y.push(e),b.push(0),b.push(0),b.push(0);y.push(h.length-1),y.push(2),y.push(1),b.push(0),b.push(0),b.push(0)}if(o){for(let e=3;e<h.length;e++)y.push(e),y.push(e-1),y.push(0),b.push(e),b.push(e-1),b.push(1);y.push(0),y.push(2),y.push(h.length-1),b.push(1),b.push(2),b.push(_.length-1)}let x=r+2,S=g(x*3);for(let e=0;e<x;e++)S[e*3]=h[e][0],S[e*3+1]=h[e][1],S[e*3+2]=h[e][2];let C=g(x*3);for(let e=0;e<x;e++)C[e*3]=_[e][0],C[e*3+1]=_[e][1],C[e*3+2]=_[e][2];e.setParameters({normalType:1});let w=[[`position`,new E(S,y,3,!0)],[`normalCompressed`,new E(P(C),b,2,!0)]];return new N(e,w)}function be(t,n,c,f,p,m,h){let _=p?l(p):u(1,0,0),v=m?l(m):u(0,0,0);h??=!0;let y=d();r(y,_);let b=d();i(b,y,Math.abs(n));let x=d();i(x,b,-.5),a(x,x,v);let S=u(0,1,0);Math.abs(1-o(y,S))<.2&&e(S,0,0,1);let C=d();s(C,y,S),r(C,C),s(S,C,y);let w=f*2+(h?2:0),T=f+(h?2:0),D=g(w*3),O=g(T*3),k=g(w*2),A=Array(f*3*(h?4:2)),j=Array(f*3*(h?4:2));h&&(D[(w-2)*3]=x[0],D[(w-2)*3+1]=x[1],D[(w-2)*3+2]=x[2],k[(w-2)*2]=0,k[(w-2)*2+1]=0,D[(w-1)*3]=D[(w-2)*3]+b[0],D[(w-1)*3+1]=D[(w-2)*3+1]+b[1],D[(w-1)*3+2]=D[(w-2)*3+2]+b[2],k[(w-1)*2]=1,k[(w-1)*2+1]=1,O[(T-2)*3]=-y[0],O[(T-2)*3+1]=-y[1],O[(T-2)*3+2]=-y[2],O[(T-1)*3]=y[0],O[(T-1)*3+1]=y[1],O[(T-1)*3+2]=y[2]);let M=(e,t,n)=>{A[e]=t,j[e]=n},F=0,I=d(),L=d();for(let e=0;e<f;e++){let t=2*Math.PI/f*e;i(I,S,Math.sin(t)),i(L,C,Math.cos(t)),a(I,I,L),O[e*3]=I[0],O[e*3+1]=I[1],O[e*3+2]=I[2],i(I,I,c),a(I,I,x),D[e*3]=I[0],D[e*3+1]=I[1],D[e*3+2]=I[2],k[e*2]=e/f,k[e*2+1]=0,D[(e+f)*3]=D[e*3]+b[0],D[(e+f)*3+1]=D[e*3+1]+b[1],D[(e+f)*3+2]=D[e*3+2]+b[2],k[(e+f)*2]=e/f,k[e*2+1]=1;let n=(e+1)%f;M(F++,e,e),M(F++,e+f,e),M(F++,n,n),M(F++,n,n),M(F++,e+f,e),M(F++,n+f,n)}if(h){for(let e=0;e<f;e++){let t=(e+1)%f;M(F++,w-2,T-2),M(F++,e,T-2),M(F++,t,T-2)}for(let e=0;e<f;e++){let t=(e+1)%f;M(F++,e+f,T-1),M(F++,w-1,T-1),M(F++,t+f,T-1)}}t.setParameters({normalType:1});let R=[[`position`,new E(D,A,3,!0)],[`normalCompressed`,new E(P(O),j,2,!0)],[`uv0`,new E(k,A,2,!0)]];return new N(t,R)}function xe(e,t,n,r,i,a){r||=10,i??=!0,L(t.length>1);let o=[[0,0,0]],s=[],c=[];for(let e=0;e<r;e++){s.push([0,-e-1,-((e+1)%r)-1]);let t=e/r*2*Math.PI;c.push([Math.cos(t)*n,Math.sin(t)*n])}return Se(e,c,t,o,s,i,a)}function Se(t,o,l,d,f,p,h=u(0,0,0)){let _=o.length,v=g(l.length*_*3+(d.length*6||0)),y=g(l.length*_*3+(d?6:0)),w=[],T=[],D=0,O=0,k=m(),A=m(),j=m(),M=m(),F=m(),I=m(),L=m(),R=m(),z=m(),B=m(),ee=m(),te=m(),ne=m(),V=b();e(z,0,1,0),n(A,l[1],l[0]),r(A,A),p?(a(R,l[0],h),r(j,R)):e(j,0,0,1),ke(A,j,z,z,F,j,Ae),c(M,j),c(te,F);for(let e=0;e<d.length;e++)i(I,F,d[e][0]),i(R,j,d[e][2]),a(I,I,R),a(I,I,l[0]),v[D++]=I[0],v[D++]=I[1],v[D++]=I[2];y[O++]=-A[0],y[O++]=-A[1],y[O++]=-A[2];for(let e=0;e<f.length;e++)w.push(f[e][0]>0?f[e][0]:-f[e][0]-1+d.length),w.push(f[e][1]>0?f[e][1]:-f[e][1]-1+d.length),w.push(f[e][2]>0?f[e][2]:-f[e][2]-1+d.length),T.push(0),T.push(0),T.push(0);let H=d.length,re=d.length-1;for(let e=0;e<l.length;e++){let t=!1;e>0&&(c(k,A),e<l.length-1?(n(A,l[e+1],l[e]),r(A,A)):t=!0,a(B,k,A),r(B,B),a(ee,l[e-1],M),x(l[e],B,V),S(V,C(ee,k),R)?(n(R,R,l[e]),r(j,R),s(F,B,j),r(F,F)):ke(B,M,te,z,F,j,Ae),c(M,j),c(te,F)),p&&(a(R,l[e],h),r(ne,R));for(let n=0;n<_;n++)if(i(I,F,o[n][0]),i(R,j,o[n][1]),a(I,I,R),r(L,I),y[O++]=L[0],y[O++]=L[1],y[O++]=L[2],a(I,I,l[e]),v[D++]=I[0],v[D++]=I[1],v[D++]=I[2],!t){let e=(n+1)%_;w.push(H+n),w.push(H+_+n),w.push(H+e),w.push(H+e),w.push(H+_+n),w.push(H+_+e);for(let e=0;e<6;e++){let t=w.length-6;T.push(w[t+e]-re)}}H+=_}let U=l[l.length-1];for(let e=0;e<d.length;e++)i(I,F,d[e][0]),i(R,j,d[e][1]),a(I,I,R),a(I,I,U),v[D++]=I[0],v[D++]=I[1],v[D++]=I[2];let ie=O/3;y[O++]=A[0],y[O++]=A[1],y[O++]=A[2];let ae=H-_;for(let e=0;e<f.length;e++)w.push(f[e][0]>=0?H+f[e][0]:-f[e][0]-1+ae),w.push(f[e][2]>=0?H+f[e][2]:-f[e][2]-1+ae),w.push(f[e][1]>=0?H+f[e][1]:-f[e][1]-1+ae),T.push(ie),T.push(ie),T.push(ie);let oe=[[`position`,new E(v,w,3,!0)],[`normalCompressed`,new E(P(y),T,2,!0)]];return new N(t,oe)}function Ce(e,t,n,r,i){let a=h(t.length*3),o=Array(2*(t.length-1)),s=0,c=0;for(let e=0;e<t.length;e++){for(let n=0;n<3;n++)a[s++]=t[e][n];e>0&&(o[c++]=e-1,o[c++]=e)}let l=[[`position`,new E(a,o,3,!0)]];if(n?.length===t.length&&n[0].length===3){let e=g(n.length*3),r=0;for(let i=0;i<t.length;i++)for(let t=0;t<3;t++)e[r++]=n[i][t];l.push([`normal`,new E(e,o,3,!0)])}if(r&&l.push([`color`,new E(r,v(r.length/4),4)]),i?.length===t.length){let e=w(i,1);l.push([`timeStamps`,new E(e,o,T,!0)])}return new N(e,l,null)}function we(e,t,n,r,i,a=0){let o=Array(18),s=[[-n,a,i/2],[r,a,i/2],[0,t+a,i/2],[-n,a,-i/2],[r,a,-i/2],[0,t+a,-i/2]],c=[0,1,2,3,0,2,2,5,3,1,4,5,5,2,1,1,0,3,3,4,1,4,3,5];for(let e=0;e<6;e++)o[e*3]=s[e][0],o[e*3+1]=s[e][1],o[e*3+2]=s[e][2];return new N(e,[[`position`,new E(o,c,3,!0)]])}function Te(n,r){let i=n.getMutableAttribute(`position`).data;for(let n=0;n<i.length;n+=3){let a=i[n],o=i[n+1],s=i[n+2];e($,a,o,s),t($,$,r),i[n]=$[0],i[n+1]=$[1],i[n+2]=$[2]}}function Ee(e,t=e){let n=e.attributes,r=n.get(`position`)?.data;if(r){let e=t.getMutableAttribute(`position`).data;for(let t=0;t<r.length;t+=3){let n=r[t+1];e[t+1]=-r[t+2],e[t+2]=n}}let i=n.get(`normal`)?.data;if(i){let e=t.getMutableAttribute(`normal`).data;for(let t=0;t<i.length;t+=3){let n=i[t+1];e[t+1]=-i[t+2],e[t+2]=n}}let a=n.get(`normalCompressed`)?.data;if(a){let e=t.getMutableAttribute(`normalCompressed`).data;for(let t=0;t<a.length;t+=2)F(De,a,t,1),I(e,t,De[0],-De[2],De[1],1)}}const De=m();function Oe(e,t,n,i,a){return Math.abs(o(t,e))>a?!1:(s(n,e,t),r(n,n),s(i,n,e),r(i,i),!0)}function ke(e,t,n,r,i,a,o){return Oe(e,t,i,a,o)||Oe(e,n,i,a,o)||Oe(e,r,i,a,o)}const Ae=.99619469809,$=m();export{Ee as cgToGIS,re as createBoxGeometry,ye as createConeGeometry,be as createCylinderGeometry,se as createDiamondGeometry,we as createExtrudedTriangle,Se as createPathExtrusionGeometry,ge as createPointBufferGeometry,he as createPolySphereData,me as createPolySphereGeometry,Ce as createPolylineGeometry,pe as createSphereGeometry,ve as createSquareGeometry,fe as createTetrahedronGeometry,xe as createTubeGeometry,ke as makeOrthoBasisDirUpFallback,Te as transformInPlace};
|
|
2
|
+
import{set as e,transformMat4 as t,subtract as n,normalize as r,scale as i,add as a,dot as o,cross as s,copy as c}from"../../../../core/libs/gl-matrix-2/math/vec3.js";import{clone as l,fromValues as u,create as d}from"../../../../core/libs/gl-matrix-2/factories/vec3f32.js";import{ZEROS as f,UNIT_Z as p,create as m}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{newDoubleArray as h}from"../../../../geometry/support/DoubleArray.js";import{newFloatArray as g,floatArrayFrom as _}from"../../../../geometry/support/FloatArray.js";import{getZeroIndexArray as v,getContinuousIndexArray as y}from"../../../../geometry/support/Indices.js";import{create as b,fromPositionAndNormal as x,intersectRay as S}from"../../../../geometry/support/plane.js";import{wrap as C}from"../../../../geometry/support/ray.js";import{timeStampsToAttribute as w,numTimeStampValuesPerVertex as T}from"../../support/engineContent/line.js";import{Attribute as E}from"./Attribute.js";import{BufferGeometry as D}from"./BufferGeometry.js";import{Buffers as O}from"./Buffers.js";import{scale as k,length as A,normalize as j,add as M}from"./bufferVectorMath.js";import{Geometry as N}from"./Geometry.js";import{compressNormals as P,decompressNormal as F,compressNormal as I}from"./Normals.js";import{assert as L}from"./Util.js";import{getHUDMaterialBufferBaseInstance as R}from"../materials/HUDMaterialBaseInstance.js";import{getInstanceLayout as z}from"../shaders/hudMaterialLayouts.js";const B=[[-.5,-.5,.5],[.5,-.5,.5],[.5,.5,.5],[-.5,.5,.5],[-.5,-.5,-.5],[.5,-.5,-.5],[.5,.5,-.5],[-.5,.5,-.5]],ee=P([0,0,1,-1,0,0,1,0,0,0,-1,0,0,1,0,0,0,-1]),te=[0,0,1,0,1,1,0,1],ne=[0,1,2,2,3,0,4,0,3,3,7,4,1,5,6,6,2,1,1,0,4,4,5,1,3,2,6,6,7,3,5,4,7,7,6,5],V=Array(36);for(let e=0;e<6;e++)for(let t=0;t<6;t++)V[e*6+t]=e;const H=Array(36);for(let e=0;e<6;e++)H[e*6]=0,H[e*6+1]=1,H[e*6+2]=2,H[e*6+3]=2,H[e*6+4]=3,H[e*6+5]=0;function re(e,t){Array.isArray(t)||(t=[t,t,t]);let n=Array(24);for(let e=0;e<8;e++)n[e*3]=B[e][0]*t[0],n[e*3+1]=B[e][1]*t[1],n[e*3+2]=B[e][2]*t[2];return e.setParameters({normalType:1}),new N(e,[[`position`,new E(n,ne,3,!0)],[`normalCompressed`,new E(ee,V,2)],[`uv0`,new E(te,H,2)]])}const U=[[-.5,0,-.5],[.5,0,-.5],[.5,0,.5],[-.5,0,.5],[0,-.5,0],[0,.5,0]],ie=P([0,1,-1,1,1,0,0,1,1,-1,1,0,0,-1,-1,1,-1,0,0,-1,1,-1,-1,0]),ae=[5,1,0,5,2,1,5,3,2,5,0,3,4,0,1,4,1,2,4,2,3,4,3,0],oe=[0,0,0,1,1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7];function se(e,t){Array.isArray(t)||(t=[t,t,t]);let n=Array(18);for(let e=0;e<6;e++)n[e*3]=U[e][0]*t[0],n[e*3+1]=U[e][1]*t[1],n[e*3+2]=U[e][2]*t[2];return e.setParameters({normalType:1}),new N(e,[[`position`,new E(n,ae,3,!0)],[`normalCompressed`,new E(ie,oe,2)]])}const W=u(-.5,0,-.5),G=u(.5,0,-.5),K=u(0,0,.5),q=u(0,.5,0),J=d(),Y=d(),X=d(),Z=d(),Q=d();n(J,W,q),n(Y,W,G),s(X,J,Y),r(X,X),n(J,G,q),n(Y,G,K),s(Z,J,Y),r(Z,Z),n(J,K,q),n(Y,K,W),s(Q,J,Y),r(Q,Q);const ce=[W,G,K,q],le=P([0,-1,0,X[0],X[1],X[2],Z[0],Z[1],Z[2],Q[0],Q[1],Q[2]]),ue=[0,1,2,3,1,0,3,2,1,3,0,2],de=[0,0,0,1,1,1,2,2,2,3,3,3];function fe(e,t){Array.isArray(t)||(t=[t,t,t]);let n=Array(12);for(let e=0;e<4;e++)n[e*3]=ce[e][0]*t[0],n[e*3+1]=ce[e][1]*t[1],n[e*3+2]=ce[e][2]*t[2];return e.setParameters({normalType:1}),new N(e,[[`position`,new E(n,ue,3,!0)],[`normalCompressed`,new E(le,de,2)]])}function pe(e,t,n,r,i={uv:!0}){let a=-Math.PI,o=Math.PI*2,s=-Math.PI/2,c=Math.PI,l=Math.max(3,Math.floor(n)),u=Math.max(2,Math.floor(r)),d=(l+1)*(u+1),f=g(d*3),p=g(d*3),m=g(d*2),h=[],_=0;for(let e=0;e<=u;e++){let n=[],r=e/u,i=s+r*c,d=Math.cos(i);for(let e=0;e<=l;e++){let s=e/l,c=a+s*o,u=Math.cos(c)*d,h=Math.sin(i),g=-Math.sin(c)*d;f[3*_]=u*t,f[3*_+1]=h*t,f[3*_+2]=g*t,p[3*_]=u,p[3*_+1]=h,p[3*_+2]=g,m[2*_]=s,m[2*_+1]=r,n.push(_),++_}h.push(n)}let y=[];for(let e=0;e<u;e++)for(let t=0;t<l;t++){let n=h[e][t],r=h[e][t+1],i=h[e+1][t+1],a=h[e+1][t];e===0?(y.push(n),y.push(i),y.push(a)):e===u-1?(y.push(n),y.push(r),y.push(i)):(y.push(n),y.push(r),y.push(i),y.push(i),y.push(a),y.push(n))}let b=[[`position`,new E(f,y,3,!0)],[`normalCompressed`,new E(P(p),y,2,!0)]];return i.uv&&b.push([`uv0`,new E(m,y,2,!0)]),i.offset&&(b[0][0]=`offset`,b.push([`position`,new E(Float64Array.from(i.offset),v(y.length),3,!0)])),new N(e,b)}function me(e,t,n){let r=he(t,n);return e.setParameters({normalType:1}),new N(e,r)}function he(e,t){let n=[0,-1,0,1,0,0,0,0,1,-1,0,0,0,0,-1,0,1,0],r=[0,1,2,0,2,3,0,3,4,0,4,1,1,5,2,2,5,3,3,5,4,4,5,1];for(let t=0;t<n.length;t+=3)k(n,t,e/A(n,t));let i={};function a(t,r){t>r&&([t,r]=[r,t]);let a=t.toString()+`.`+r.toString();if(i[a])return i[a];let o=n.length;return n.length+=3,M(n,t*3,n,r*3,n,o),k(n,o,e/A(n,o)),o/=3,i[a]=o,o}for(let e=0;e<t;e++){let e=r.length,t=Array(e*4);for(let n=0;n<e;n+=3){let e=r[n],i=r[n+1],o=r[n+2],s=a(e,i),c=a(i,o),l=a(o,e),u=n*4;t[u]=e,t[u+1]=s,t[u+2]=l,t[u+3]=i,t[u+4]=c,t[u+5]=s,t[u+6]=o,t[u+7]=l,t[u+8]=c,t[u+9]=s,t[u+10]=c,t[u+11]=l}r=t,i={}}let o=_(n);for(let e=0;e<o.length;e+=3)j(o,e);return[[`position`,new E(_(n),r,3,!0)],[`normalCompressed`,new E(P(o),r,2,!0)]]}function ge(e,t,{position:r,normal:i,groundDistance:a,size:o,rotation:s,color:c,uvi:l,centerOffset:u,featureAttribute:d,olidColor:m}={}){let h=z(e.parameters).createBuffer(1);return n($,r??f,t.vec3),h.position.setVec(0,$),h.normal.setVec(0,i??p),h.groundDistance.set(0,a??1),o!=null&&h.size?.setVec(0,o),s!=null&&h.rotation?.set(0,s),c!=null&&h.color?.setVec(0,c),l!=null&&h.uvi?.setVec(0,l),u!=null&&h.centerOffset?.setVec(0,u),d!=null&&h.featureAttribute?.setVec(0,d),m!=null&&h.olidColor?.setVec(0,m),new D(e,new O(h),t,null,R())}const _e=[[-1,-1,0],[1,-1,0],[1,1,0],[-1,1,0]];function ve(e,t=_e){let n=Array(12);for(let e=0;e<4;e++)for(let r=0;r<3;r++)n[e*3+r]=t[e][r];let r=[0,1,2,2,3,0],i=[0,0,1],a=[0,0,0,0,0,0],o=[[`position`,new E(n,r,3,!0)],[`normal`,new E(i,a,3,!0)],[`uv0`,new E([0,0,1,0,1,1,0,1],r,2,!0)],[`color`,new E([255,255,255,255],a,4,!0)]];return new N(e,o)}function ye(e,t,n,r,i,a=!0,o=!0){let s=0,c=n,l=t,d=u(0,s,0),f=u(0,s+l,0),p=u(0,-1,0),m=u(0,1,0);i&&(s=l,f=u(0,0,0),d=u(0,s,0),p=u(0,1,0),m=u(0,-1,0));let h=[f,d],_=[p,m],v=Math.sqrt(l*l+c*c);if(i)for(let e=r-1;e>=0;e--){let t=2*Math.PI/r*e,n=u(Math.cos(t)*c,s,Math.sin(t)*c);h.push(n);let i=u(l*Math.cos(t)/v,-c/v,l*Math.sin(t)/v);_.push(i)}else for(let e=0;e<r;e++){let t=2*Math.PI/r*e,n=u(Math.cos(t)*c,s,Math.sin(t)*c);h.push(n);let i=u(l*Math.cos(t)/v,c/v,l*Math.sin(t)/v);_.push(i)}let y=[],b=[];if(a){for(let e=3;e<h.length;e++)y.push(1),y.push(e-1),y.push(e),b.push(0),b.push(0),b.push(0);y.push(h.length-1),y.push(2),y.push(1),b.push(0),b.push(0),b.push(0)}if(o){for(let e=3;e<h.length;e++)y.push(e),y.push(e-1),y.push(0),b.push(e),b.push(e-1),b.push(1);y.push(0),y.push(2),y.push(h.length-1),b.push(1),b.push(2),b.push(_.length-1)}let x=r+2,S=g(x*3);for(let e=0;e<x;e++)S[e*3]=h[e][0],S[e*3+1]=h[e][1],S[e*3+2]=h[e][2];let C=g(x*3);for(let e=0;e<x;e++)C[e*3]=_[e][0],C[e*3+1]=_[e][1],C[e*3+2]=_[e][2];e.setParameters({normalType:1});let w=[[`position`,new E(S,y,3,!0)],[`normalCompressed`,new E(P(C),b,2,!0)]];return new N(e,w)}function be(t,n,c,f,p,m,h){let _=p?l(p):u(1,0,0),v=m?l(m):u(0,0,0);h??=!0;let y=d();r(y,_);let b=d();i(b,y,Math.abs(n));let x=d();i(x,b,-.5),a(x,x,v);let S=u(0,1,0);Math.abs(1-o(y,S))<.2&&e(S,0,0,1);let C=d();s(C,y,S),r(C,C),s(S,C,y);let w=f*2+(h?2:0),T=f+(h?2:0),D=g(w*3),O=g(T*3),k=g(w*2),A=Array(f*3*(h?4:2)),j=Array(f*3*(h?4:2));h&&(D[(w-2)*3]=x[0],D[(w-2)*3+1]=x[1],D[(w-2)*3+2]=x[2],k[(w-2)*2]=0,k[(w-2)*2+1]=0,D[(w-1)*3]=D[(w-2)*3]+b[0],D[(w-1)*3+1]=D[(w-2)*3+1]+b[1],D[(w-1)*3+2]=D[(w-2)*3+2]+b[2],k[(w-1)*2]=1,k[(w-1)*2+1]=1,O[(T-2)*3]=-y[0],O[(T-2)*3+1]=-y[1],O[(T-2)*3+2]=-y[2],O[(T-1)*3]=y[0],O[(T-1)*3+1]=y[1],O[(T-1)*3+2]=y[2]);let M=(e,t,n)=>{A[e]=t,j[e]=n},F=0,I=d(),L=d();for(let e=0;e<f;e++){let t=2*Math.PI/f*e;i(I,S,Math.sin(t)),i(L,C,Math.cos(t)),a(I,I,L),O[e*3]=I[0],O[e*3+1]=I[1],O[e*3+2]=I[2],i(I,I,c),a(I,I,x),D[e*3]=I[0],D[e*3+1]=I[1],D[e*3+2]=I[2],k[e*2]=e/f,k[e*2+1]=0,D[(e+f)*3]=D[e*3]+b[0],D[(e+f)*3+1]=D[e*3+1]+b[1],D[(e+f)*3+2]=D[e*3+2]+b[2],k[(e+f)*2]=e/f,k[e*2+1]=1;let n=(e+1)%f;M(F++,e,e),M(F++,e+f,e),M(F++,n,n),M(F++,n,n),M(F++,e+f,e),M(F++,n+f,n)}if(h){for(let e=0;e<f;e++){let t=(e+1)%f;M(F++,w-2,T-2),M(F++,e,T-2),M(F++,t,T-2)}for(let e=0;e<f;e++){let t=(e+1)%f;M(F++,e+f,T-1),M(F++,w-1,T-1),M(F++,t+f,T-1)}}t.setParameters({normalType:1});let R=[[`position`,new E(D,A,3,!0)],[`normalCompressed`,new E(P(O),j,2,!0)],[`uv0`,new E(k,A,2,!0)]];return new N(t,R)}function xe(e,t,n,r,i,a){r||=10,i??=!0,L(t.length>1);let o=[[0,0,0]],s=[],c=[];for(let e=0;e<r;e++){s.push([0,-e-1,-((e+1)%r)-1]);let t=e/r*2*Math.PI;c.push([Math.cos(t)*n,Math.sin(t)*n])}return Se(e,c,t,o,s,i,a)}function Se(t,o,l,d,f,p,h=u(0,0,0)){let _=o.length,v=g(l.length*_*3+(d.length*6||0)),y=g(l.length*_*3+(d?6:0)),w=[],T=[],D=0,O=0,k=m(),A=m(),j=m(),M=m(),F=m(),I=m(),L=m(),R=m(),z=m(),B=m(),ee=m(),te=m(),ne=m(),V=b();e(z,0,1,0),n(A,l[1],l[0]),r(A,A),p?(a(R,l[0],h),r(j,R)):e(j,0,0,1),ke(A,j,z,z,F,j,Ae),c(M,j),c(te,F);for(let e=0;e<d.length;e++)i(I,F,d[e][0]),i(R,j,d[e][2]),a(I,I,R),a(I,I,l[0]),v[D++]=I[0],v[D++]=I[1],v[D++]=I[2];y[O++]=-A[0],y[O++]=-A[1],y[O++]=-A[2];for(let e=0;e<f.length;e++)w.push(f[e][0]>0?f[e][0]:-f[e][0]-1+d.length),w.push(f[e][1]>0?f[e][1]:-f[e][1]-1+d.length),w.push(f[e][2]>0?f[e][2]:-f[e][2]-1+d.length),T.push(0),T.push(0),T.push(0);let H=d.length,re=d.length-1;for(let e=0;e<l.length;e++){let t=!1;e>0&&(c(k,A),e<l.length-1?(n(A,l[e+1],l[e]),r(A,A)):t=!0,a(B,k,A),r(B,B),a(ee,l[e-1],M),x(l[e],B,V),S(V,C(ee,k),R)?(n(R,R,l[e]),r(j,R),s(F,B,j),r(F,F)):ke(B,M,te,z,F,j,Ae),c(M,j),c(te,F)),p&&(a(R,l[e],h),r(ne,R));for(let n=0;n<_;n++)if(i(I,F,o[n][0]),i(R,j,o[n][1]),a(I,I,R),r(L,I),y[O++]=L[0],y[O++]=L[1],y[O++]=L[2],a(I,I,l[e]),v[D++]=I[0],v[D++]=I[1],v[D++]=I[2],!t){let e=(n+1)%_;w.push(H+n),w.push(H+_+n),w.push(H+e),w.push(H+e),w.push(H+_+n),w.push(H+_+e);for(let e=0;e<6;e++){let t=w.length-6;T.push(w[t+e]-re)}}H+=_}let U=l[l.length-1];for(let e=0;e<d.length;e++)i(I,F,d[e][0]),i(R,j,d[e][1]),a(I,I,R),a(I,I,U),v[D++]=I[0],v[D++]=I[1],v[D++]=I[2];let ie=O/3;y[O++]=A[0],y[O++]=A[1],y[O++]=A[2];let ae=H-_;for(let e=0;e<f.length;e++)w.push(f[e][0]>=0?H+f[e][0]:-f[e][0]-1+ae),w.push(f[e][2]>=0?H+f[e][2]:-f[e][2]-1+ae),w.push(f[e][1]>=0?H+f[e][1]:-f[e][1]-1+ae),T.push(ie),T.push(ie),T.push(ie);let oe=[[`position`,new E(v,w,3,!0)],[`normalCompressed`,new E(P(y),T,2,!0)]];return new N(t,oe)}function Ce(e,t,n,r,i){let a=h(t.length*3),o=Array(2*(t.length-1)),s=0,c=0;for(let e=0;e<t.length;e++){for(let n=0;n<3;n++)a[s++]=t[e][n];e>0&&(o[c++]=e-1,o[c++]=e)}let l=[[`position`,new E(a,o,3,!0)]];if(n?.length===t.length&&n[0].length===3){let e=g(n.length*3),r=0;for(let i=0;i<t.length;i++)for(let t=0;t<3;t++)e[r++]=n[i][t];l.push([`normal`,new E(e,o,3,!0)])}if(r&&l.push([`color`,new E(r,y(r.length/4),4)]),i?.length===t.length){let e=w(i,1);l.push([`timeStamps`,new E(e,o,T,!0)])}return new N(e,l,null)}function we(e,t,n,r,i,a=0){let o=Array(18),s=[[-n,a,i/2],[r,a,i/2],[0,t+a,i/2],[-n,a,-i/2],[r,a,-i/2],[0,t+a,-i/2]],c=[0,1,2,3,0,2,2,5,3,1,4,5,5,2,1,1,0,3,3,4,1,4,3,5];for(let e=0;e<6;e++)o[e*3]=s[e][0],o[e*3+1]=s[e][1],o[e*3+2]=s[e][2];return new N(e,[[`position`,new E(o,c,3,!0)]])}function Te(n,r){let i=n.getMutableAttribute(`position`).data;for(let n=0;n<i.length;n+=3){let a=i[n],o=i[n+1],s=i[n+2];e($,a,o,s),t($,$,r),i[n]=$[0],i[n+1]=$[1],i[n+2]=$[2]}}function Ee(e,t=e){let n=e.attributes,r=n.get(`position`)?.data;if(r){let e=t.getMutableAttribute(`position`).data;for(let t=0;t<r.length;t+=3){let n=r[t+1];e[t+1]=-r[t+2],e[t+2]=n}}let i=n.get(`normal`)?.data;if(i){let e=t.getMutableAttribute(`normal`).data;for(let t=0;t<i.length;t+=3){let n=i[t+1];e[t+1]=-i[t+2],e[t+2]=n}}let a=n.get(`normalCompressed`)?.data;if(a){let e=t.getMutableAttribute(`normalCompressed`).data;for(let t=0;t<a.length;t+=2)F(De,a,t,1),I(e,t,De[0],-De[2],De[1],1)}}const De=m();function Oe(e,t,n,i,a){return Math.abs(o(t,e))>a?!1:(s(n,e,t),r(n,n),s(i,n,e),r(i,i),!0)}function ke(e,t,n,r,i,a,o){return Oe(e,t,i,a,o)||Oe(e,n,i,a,o)||Oe(e,r,i,a,o)}const Ae=.99619469809,$=m();export{Ee as cgToGIS,re as createBoxGeometry,ye as createConeGeometry,be as createCylinderGeometry,se as createDiamondGeometry,we as createExtrudedTriangle,Se as createPathExtrusionGeometry,ge as createPointBufferGeometry,he as createPolySphereData,me as createPolySphereGeometry,Ce as createPolylineGeometry,pe as createSphereGeometry,ve as createSquareGeometry,fe as createTetrahedronGeometry,xe as createTubeGeometry,ke as makeOrthoBasisDirUpFallback,Te as transformInPlace};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{generateUID as e}from"../../../../core/uid.js";import{isColor as t}from"../core/shaderLibrary/ShaderOutput.js";import{computeAttachmentOriginTriangles as n}from"./geometryDataUtils.js";import{updateParameters as r}from"../materials/internal/MaterialUtil.js";import{NoParameters as i}from"../../../webgl/NoParameters.js";class a{constructor(t,n){this.id=e(),this.supportsEdges=!1,this.primitiveVertexCount=3,this._renderPriority=0,this._parameters=new n,r(this._parameters,t),this.validateParameters(this._parameters)}get useIndexing(){return this.parameters.useIndexing??!1}get parameters(){return this._parameters}update(e){return!1}setParameters(e,t=!0){r(this._parameters,e)&&(this.validateParameters(this._parameters),t&&this._parametersChanged())}validateParameters(e){}shouldRender(e){return this.visible&&this.isVisibleForOutput(e.output)&&(!this.parameters.isDecoration||e.bind.decorations)&&(this.parameters.renderOccluded&e.renderOccludedMask)!==0}isVisibleForOutput(e){return!0}get renderPriority(){return this._renderPriority}set renderPriority(e){e!==this._renderPriority&&(this._renderPriority=e,this._parametersChanged())}_parametersChanged(){this.repository?.materialChanged(this)}get renderOccludedFlags(){return this.visible?this.parameters.renderOccluded:0}get testsTransparentRenderOrder(){return this.parameters.testsTransparentRenderOrder}get emissions(){return 0}getConfiguration(e){return this.updateConfiguration(e),this._configuration}updateConfiguration(e){this._configuration.output=e.output,this._configuration.hasEmission=e.hasEmission&&t(e.output),this._configuration.hasHighlightMixTexture=e.output===10&&e.highlightMixTexture!=null,this._configuration.useFloatBlend=e.useFloatBlend.value,this._configuration.emissionDimmingPass=e.transparentWithoutDepthEmissionDimmingPass&&t(e.output)}computeAttachmentOrigin(e,t,r){return n(e,t,r/3)}}class o extends i{constructor(){super(...arguments),this.renderOccluded=1,this.testsTransparentRenderOrder=0,this.isDecoration=!1}}export{a as Material,o as MaterialParameters};
|
|
2
|
+
import{generateUID as e}from"../../../../core/uid.js";import{isColor as t}from"../core/shaderLibrary/ShaderOutput.js";import{computeAttachmentOriginTriangles as n}from"./geometryDataUtils.js";import{updateParameters as r}from"../materials/internal/MaterialUtil.js";import{NoParameters as i}from"../../../webgl/NoParameters.js";class a{constructor(t,n){this.id=e(),this.supportsEdges=!1,this.primitiveVertexCount=3,this._renderPriority=0,this._parameters=new n,r(this._parameters,t),this.validateParameters(this._parameters)}get useIndexing(){return this.parameters.useIndexing??!1}get parameters(){return this._parameters}update(e){return!1}setParameters(e,t=!0){r(this._parameters,e)&&(this.validateParameters(this._parameters),t&&this._parametersChanged())}validateParameters(e){}shouldRender(e){return this.visible&&this.isVisibleForOutput(e.output)&&(!this.parameters.isDecoration||e.bind.decorations)&&(this.parameters.renderOccluded&e.renderOccludedMask)!==0}isVisibleForOutput(e){return!0}get renderPriority(){return this._renderPriority}set renderPriority(e){e!==this._renderPriority&&(this._renderPriority=e,this._parametersChanged())}_parametersChanged(){this.repository?.materialChanged(this)}get renderOccludedFlags(){return this.visible?this.parameters.renderOccluded:0}get testsTransparentRenderOrder(){return this.parameters.testsTransparentRenderOrder}get emissions(){return 0}getConfiguration(e){return this.updateConfiguration(e),this._configuration}updateConfiguration(e){this._configuration.output=e.output,this._configuration.hasEmission=e.hasEmission&&t(e.output),this._configuration.hasHighlightMixTexture=e.output===10&&e.highlightMixTexture!=null,this._configuration.useFloatBlend=e.useFloatBlend.value,this._configuration.emissionDimmingPass=e.transparentWithoutDepthEmissionDimmingPass&&t(e.output)}computeAttachmentOrigin(e,t,r){return n(e,t,r/3)}getPrimitivePositionCount(e,t){return(t??e).indexCount}}class o extends i{constructor(){super(...arguments),this.renderOccluded=1,this.testsTransparentRenderOrder=0,this.isDecoration=!1}}export{a as Material,o as MaterialParameters};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{reciprocalClamped as e}from"../../../../core/mathUtils.js";import{set as t}from"../../../../core/libs/gl-matrix-2/math/mat2.js";import{create as n}from"../../../../core/libs/gl-matrix-2/factories/mat2f64.js";import{setAxisAngle as r}from"../../../../core/libs/gl-matrix-2/math/quat.js";import{create as i}from"../../../../core/libs/gl-matrix-2/factories/quatf64.js";import{multiply as a,copy as o,length as s,scale as c,set as l,dot as u,add as d,subtract as f,normalize as p,transformMat2 as m}from"../../../../core/libs/gl-matrix-2/math/vec2.js";import{ZEROS as h,create as g}from"../../../../core/libs/gl-matrix-2/factories/vec2f64.js";import{cross as _,set as v,transformQuat as y}from"../../../../core/libs/gl-matrix-2/math/vec3.js";import{create as
|
|
2
|
+
import{reciprocalClamped as e}from"../../../../core/mathUtils.js";import{set as t}from"../../../../core/libs/gl-matrix-2/math/mat2.js";import{create as n}from"../../../../core/libs/gl-matrix-2/factories/mat2f64.js";import{setAxisAngle as r}from"../../../../core/libs/gl-matrix-2/math/quat.js";import{create as i}from"../../../../core/libs/gl-matrix-2/factories/quatf64.js";import{multiply as a,copy as o,length as s,scale as c,set as l,dot as u,add as d,subtract as f,normalize as p,transformMat2 as m}from"../../../../core/libs/gl-matrix-2/math/vec2.js";import{ZEROS as h,create as g}from"../../../../core/libs/gl-matrix-2/factories/vec2f64.js";import{cross as _,set as v,transformQuat as y,copy as b}from"../../../../core/libs/gl-matrix-2/math/vec3.js";import{create as x}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{pathNumJoinSubdivisions as S,pathNumRoundCapExtrusionSubdivisions as C}from"../../layers/graphics/Graphics3DPathSymbolLayerConstants.js";import{decompressNormal as w,decodeInt16 as T}from"./Normals.js";import{PathFrame2D as E}from"./PathFrame2D.js";import{constructPathRotationRight as D,isOuterJoinVertex as O}from"./pathGeometryUtils.js";import{decodePathVertexInfo as k}from"./PathVertexInfo.js";class A{constructor(e,t,n,r,i){this.builder=e,this.profile=t,this.extruder=n,this.capType=r,this.upVectorAlignment=i}evaluateVertexPositions(e,t){let{pathVertexInfos:n,profileRightAxes:r,profileUpAxes:i,profileRotationFrameUpAxes:a,framePositionIndices:o}=this.builder,s=a!=null,c=U,l=s?V:c.up,u=I,d=G,f=-1;for(let p=0;p<n.length;++p){let m=k(n[p]),{frameIndex:h}=m;h!==f&&(f=h,w(c.right,r,h),w(c.up,i,h),m.type===0&&(s&&w(l,a,h),D(u,c,l,s))),this._evaluateExtrudedVertex(d,m,c,l,u,s),this._writeVertexPosition(e,t,p,o[h]*3,d)}}_writeVertexPosition(e,t,n,r,i){let f=this.builder.positions,p=L,m=0,h=i.frame.right,g=i.frame.up,y=a(R,i.profileVertex,t);if(i.isCap)_(p,g,h),m=i.capPositionOffset*t[0];else{let e=z,n=B;o(e,i.rotationRight);let r=i.maxDistance;a(e,e,t);let f=s(e);f>0?c(e,e,1/f):l(e,0,0);let m=u(y,e);if(Math.abs(m)>r){l(n,-e[1],e[0]);let t=u(y,n);c(e,e,r*Math.sign(m)),c(n,n,t),d(y,e,n)}v(p,0,0,0)}let b=h[0]*y[0]+g[0]*y[1],x=h[1]*y[0]+g[1]*y[1],S=h[2]*y[0]+g[2]*y[1],C=n*3;e[C]=f[r]+b+p[0]*m,e[C+1]=f[r+1]+x+p[1]*m,e[C+2]=f[r+2]+S+p[2]*m}_evaluateExtrudedVertex(e,t,n,i,a,s){let{profileRotations:l,pathMaxStretchDistances:u}=this.builder,{extruder:m,profile:g,upVectorAlignment:_}=this,{cutoffAngle:v,join:x}=m,w=j[_];switch(e.frame=n,e.maxDistance=0,t.type){case 0:{e.isCap=!1;let c=g.vertices[t.sourceIndex],d=T(l[t.frameIndex])*Math.PI,f=Math.abs(d)>=v,p=O(c,a,d);if(f&&p){o(e.profileVertex,c);let a=x===2?(-.5+t.subdivision/S)*d:(-.5+Math.floor(t.subdivision/2))*d;a!==0&&(r(H,i,a),s?y(W.up,n.up,H):b(W.up,n.up),y(W.right,n.right,H),e.frame=W)}else{let t=w(P,c,d,a);o(e.profileVertex,t)}o(e.rotationRight,p?h:a),e.maxDistance=p?0:u[t.frameIndex];break}case 1:{e.isCap=!0;let n=g.vertices[t.sourceIndex];switch(o(e.profileVertex,n),this.capType){case 0:case 1:case 3:e.capPositionOffset=0;break;case 2:e.capPositionOffset=M(t)?.5:-.5}break}case 2:{e.isCap=!0;let n=M(t)?1:-1;switch(this.capType){case 1:case 2:{let r=g.vertices[t.sourceIndex],i=this.capType===2?n*.5:0;o(e.profileVertex,r),e.capPositionOffset=i;break}case 3:{let r=n*.5,i=g.poles[t.sourceIndex],a=i.position;i.normal,o(e.profileVertex,a),e.capPositionOffset=r;break}}break}case 3:{e.isCap=!0;let n=(M(t)?1:-1)*.5,r=(1-(t.subdivision+1)/C)*Math.PI*.5,i=Math.sin(r),a=Math.cos(r),s=g.poleIndices[t.sourceIndex],l=g.poles[s],u=l.position,m=l.normal,h=g.vertices[t.sourceIndex];f(P,h,u),c(P,P,i),m?(d(P,P,u),o(e.profileVertex,P),e.capPositionOffset=n*a):(p(N,P),c(N,N,i),d(P,P,u),o(e.profileVertex,P),e.capPositionOffset=n*a);break}default:t.type}}}const j={0:(t,n,r)=>{if(Math.abs(r)<=0)return n;let i=e(Math.cos(.5*r));return l(t,(1+(i-1))*n[0],n[1])},1:(n,r,i,a)=>{if(Math.abs(i)===0)return r;let o=e(Math.cos(.5*i)),s=t(F,1+(o-1)*a[0]*a[0],(o-1)*a[0]*a[1],(o-1)*a[0]*a[1],1+(o-1)*a[1]*a[1]);return m(n,r,s)}};function M(e){return e.capSide===1}const N=g(),P=g(),F=n(),I=g(),L=x(),R=g(),z=g(),B=g(),V=x(),H=i(),U=new E,W=new E,G={profileVertex:g(),rotationRight:g(),maxDistance:0,capPositionOffset:0,isCap:!1,frame:U};export{A as PathEvaluator};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{clamp as e}from"../../../../core/mathUtils.js";import{baseObjectMemory as t,integerArrayElementBytes as n,estimateArrayMemory as r}from"../../../../core/memoryEstimations.js";import{set as i,copy as a,exactEquals as o}from"../../../../core/libs/gl-matrix-2/math/vec2.js";import{create as s,clone as c}from"../../../../core/libs/gl-matrix-2/factories/vec2f64.js";import{newFloatArray as l}from"../../../../geometry/support/FloatArray.js";import{getContinuousIndexArray as u,getZeroIndexArray as d}from"../../../../geometry/support/Indices.js";import{addOlidAttribute as f}from"../../layers/graphics/olidUtils.js";import{Attribute as p}from"./Attribute.js";import{Geometry as m}from"./Geometry.js";import{pathVertexInfoPacking as h}from"./PathVertexInfo.js";import{createPositionReader as g}from"./PositionReader.js";class _ extends m{constructor(e,n,r,i){let{vertexIndices:a,framePositionIndices:o,numExtrusionFrames:c}=n,l=u(c),m=d(c),h=[[`position`,new p(n.positions,o,3,!0)],[`profileRight`,new p(n.profileRightAxes,l,2,!0)],[`profileUp`,new p(n.profileUpAxes,l,2,!0)],[`profileRotation`,new p(n.profileRotations,l,1,!0)],[`pathMaxStretchDistance`,new p(n.pathMaxStretchDistances,l,1,!0)],[`pathVertexInfo`,new p(n.pathVertexInfos,a,1,!0)]];n.profileRotationFrameUpAxes&&h.push([`pathRotationUp`,new p(n.profileRotationFrameUpAxes,l,2,!0)]),r.sizeAttributeValue!=null&&h.push([`sizeFeatureAttribute`,new p([r.sizeAttributeValue],m,1,!0)]),r.size!=null&&h.push([`size`,new p([...r.size],m,2,!0)]),r.colorAttributeValue!=null&&h.push([`colorFeatureAttribute`,new p([r.colorAttributeValue],m,1,!0)]),r.color!=null&&h.push([`color`,new p([...r.color],m,4,!0)]),r.opacityAttributeValue!=null&&h.push([`opacityFeatureAttribute`,new p([r.opacityAttributeValue],m,1,!0)]),r.opacity!=null&&h.push([`opacity`,new p([r.opacity],m,1,!0)]),i!=null&&f(h,i,m),super(e,h,null,0),this.builder=n,this.visualVariablesState=r,this._positionCacheMemory=0,this._lastSize=s(),this._usedMemory=3*t}computeBufferMemory(e){let t=super.computeBufferMemory(e),{builder:r}=this;t+=e.arrayMemory(r.framePositionIndices,n,!0),t+=e.arrayMemory(r.vertexIndices,n,!0);let{path:i}=r;t+=e.arrayMemory(i.positions)+e.arrayMemory(i.positionsES)+e.arrayMemory(i.origin),t+=e.arrayMemory(i.directions)+e.arrayMemory(i.frames)+e.arrayMemory(i.minSiblingLengths);let a=i.getVertex(0);return t+=e.arrayMemory(a.vLeft)+e.arrayMemory(a.vRight),t+=e.arrayMemory(a.frame.up)+e.arrayMemory(a.frame.right),t}get indexCount(){return this.attributes.get(`pathVertexInfo`)?.indices.length??0}get readPrimitivePosition(){if(this._invalidateOnSizeChange(),this._readPrimitivePosition==null){let{builder:e,size:t}=this,{vertexIndices:n,numVerticesTotal:i,evaluator:a}=e,o=l(i*3);
|
|
2
|
+
import{clamp as e}from"../../../../core/mathUtils.js";import{baseObjectMemory as t,integerArrayElementBytes as n,estimateArrayMemory as r}from"../../../../core/memoryEstimations.js";import{set as i,copy as a,exactEquals as o}from"../../../../core/libs/gl-matrix-2/math/vec2.js";import{create as s,clone as c}from"../../../../core/libs/gl-matrix-2/factories/vec2f64.js";import{newFloatArray as l}from"../../../../geometry/support/FloatArray.js";import{getContinuousIndexArray as u,getZeroIndexArray as d}from"../../../../geometry/support/Indices.js";import{addOlidAttribute as f}from"../../layers/graphics/olidUtils.js";import{Attribute as p}from"./Attribute.js";import{Geometry as m}from"./Geometry.js";import{pathVertexInfoPacking as h}from"./PathVertexInfo.js";import{createPositionReader as g}from"./PositionReader.js";class _ extends m{constructor(e,n,r,i){let{vertexIndices:a,framePositionIndices:o,numExtrusionFrames:c}=n,l=u(c),m=d(c),h=[[`position`,new p(n.positions,o,3,!0)],[`profileRight`,new p(n.profileRightAxes,l,2,!0)],[`profileUp`,new p(n.profileUpAxes,l,2,!0)],[`profileRotation`,new p(n.profileRotations,l,1,!0)],[`pathMaxStretchDistance`,new p(n.pathMaxStretchDistances,l,1,!0)],[`pathVertexInfo`,new p(n.pathVertexInfos,a,1,!0)]];n.profileRotationFrameUpAxes&&h.push([`pathRotationUp`,new p(n.profileRotationFrameUpAxes,l,2,!0)]),r.sizeAttributeValue!=null&&h.push([`sizeFeatureAttribute`,new p([r.sizeAttributeValue],m,1,!0)]),r.size!=null&&h.push([`size`,new p([...r.size],m,2,!0)]),r.colorAttributeValue!=null&&h.push([`colorFeatureAttribute`,new p([r.colorAttributeValue],m,1,!0)]),r.color!=null&&h.push([`color`,new p([...r.color],m,4,!0)]),r.opacityAttributeValue!=null&&h.push([`opacityFeatureAttribute`,new p([r.opacityAttributeValue],m,1,!0)]),r.opacity!=null&&h.push([`opacity`,new p([r.opacity],m,1,!0)]),i!=null&&f(h,i,m),super(e,h,null,0),this.builder=n,this.visualVariablesState=r,this._positionCacheMemory=0,this._lastSize=s(),this._usedMemory=3*t}computeBufferMemory(e){let t=super.computeBufferMemory(e),{builder:r}=this;t+=e.arrayMemory(r.framePositionIndices,n,!0),t+=e.arrayMemory(r.vertexIndices,n,!0);let{path:i}=r;t+=e.arrayMemory(i.positions)+e.arrayMemory(i.positionsES)+e.arrayMemory(i.origin),t+=e.arrayMemory(i.directions)+e.arrayMemory(i.frames)+e.arrayMemory(i.minSiblingLengths);let a=i.getVertex(0);return t+=e.arrayMemory(a.vLeft)+e.arrayMemory(a.vRight),t+=e.arrayMemory(a.frame.up)+e.arrayMemory(a.frame.right),t}get indexCount(){return this.attributes.get(`pathVertexInfo`)?.indices.length??0}get readPrimitivePosition(){if(this._invalidateOnSizeChange(),this._readPrimitivePosition==null){let{builder:e,size:t}=this,{vertexIndices:n,numVerticesTotal:i,evaluator:a}=e,o=l(i*3);a.evaluateVertexPositions(o,t),this._readPrimitivePosition=g(o,n,3),this._positionCacheMemory=r(o,8),this._usedMemory+=this._positionCacheMemory,this.notifyMemoryChange?.(this._positionCacheMemory)}return this._readPrimitivePosition}_invalidateReadPrimitivePosition(){super._invalidateReadPrimitivePosition();let e=this._positionCacheMemory;this._positionCacheMemory=0,this._usedMemory-=e,e&&this.notifyMemoryChange?.(-e)}onPathChanged(){this.builder.onPathChanged(),this.invalidateBoundingInfo(),i(this._lastSize,-1,-1),this._invalidateReadPrimitivePosition()}get size(){let{parameters:t}=this.material,n=c(t.size);if(t.vvSize){let{offset:r,factor:i,minSize:a,maxSize:o,fallback:s}=t.vvSize,c=this.visualVariablesState.sizeAttributeValue??NaN;Number.isNaN(c)?(n[0]*=s[0],n[1]*=s[2]):(n[0]*=e(r[0]+c*i[0],a[0],o[0]),n[1]*=e(r[2]+c*i[2],a[2],o[2]))}else t.hasPathSize&&this.visualVariablesState.size&&a(n,this.visualVariablesState.size);return n}_computePrimitivePositionIndices(){let e=this.attributes.get(`pathVertexInfo`),t=this.attributes.get(`position`);if(e&&t){let n=t.indices,r=e.indices,i=e.data,a=h.getField(0);return r.map(t=>n[a.get(i[e.stride*t])])}return t?.indices??null}get boundingInfo(){return this._invalidateOnSizeChange(),super.boundingInfo}_invalidateOnSizeChange(){let{size:e}=this;o(e,this._lastSize)||(a(this._lastSize,e),this.invalidateBoundingInfo(),this._invalidateReadPrimitivePosition())}}function v(e){return e instanceof _}export{_ as PathGeometry,v as isPathGeometry};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{set as e,scale as t,add as n}from"../../../../core/libs/gl-matrix-2/math/vec3.js";import{fromValues as r,create as i}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{center as a,scale as o}from"../../../../geometry/support/aaBoundingBox.js";import{BufferViewVec3f as s}from"../../../../geometry/support/buffer/BufferView.js";import{isDepth as c,isColorOrOLID as l,is2DGeometryOutput as u,isColor as d,isNormals as f,isShadowLike as p,isColorHighlightOLIDOrDepth as m}from"../core/shaderLibrary/ShaderOutput.js";import h from"../lib/GLMaterial.js";import{intersectTriangleGeometry as g}from"../lib/RayIntersections.js";import{intersectTriangleGeometryWithScreenPolygon as _}from"../lib/screenPolygonTriangleIntersections.js";import{assert as v}from"../lib/Util.js";import{applyPolygonOffsetToHit as y,intersectWithPolygonOffset as b}from"./intersectWithPolygonOffset.js";import{TriangleMaterial as x}from"./TriangleMaterial.js";import{writeAttributes as S,writePosition as C}from"./internal/bufferWriterUtils.js";import{getLayout as w,ColorMaterialPassParameters as T,ColorMaterialTechnique as E}from"../shaders/ColorMaterialTechnique.js";import{ColorMaterialTechniqueConfiguration as D}from"../shaders/ColorMaterialTechniqueConfiguration.js";import{configureShadedMaterial as O}from"../shaders/ShadedMaterialConfiguration.js";import{alphaCutoff as k}from"../../../../webscene/support/AlphaCutoff.js";class A extends x{constructor(e,t){super(e,M),this.supportsEdges=!0,this._pp0=r(0,0,1),this._pp1=r(0,0,0),this.produces=new Map([[2,e=>this._isMaterialPass(e)&&!this.transparent],[3,e=>this.parameters.shading===0&&this._isOpaqueNoSSAODepthPass(e)],[4,e=>this._isMaterialPass(e)&&this.transparent&&this.parameters.writeDepth],[5,e=>this.parameters.shading===0&&c(e)&&this.transparent&&this.parameters.writeDepth],[8,e=>l(e)&&this.transparent&&!this.parameters.writeDepth],[18,e=>u(e)]]),this._configuration=new D(t)}updateConfiguration(e){super.updateConfiguration(e),this._configuration.cullFace=this.parameters.cullFace,this._configuration.hasVertexColors=this.parameters.hasVertexColors&&!this.parameters.vvColor,this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.writeDepth=this.parameters.writeDepth,this._configuration.hasOccludees=e.hasOccludees,this._configuration.hasVVColor=!!this.parameters.vvColor,this._configuration.draped=this.parameters.draped,this._configuration.shading=this.parameters.draped||!d(e.output)&&!f(e.output)?0:this.parameters.shading,this._configuration.screenSizeEnabled=this.parameters.screenSizeEnabled,this._configuration.emissionSource=+!!this.emissions,O(this._configuration,e,this.parameters,this._configuration.shading===1)}get visible(){return this.parameters.color[3]>=k}get transparent(){return this.parameters.color[3]<1||this.parameters.forceTransparentMode}get emissions(){return this.parameters.emissiveStrength>0?this.transparent?2:1:0}intersectRay(e,t,n,r,i,a){if(!this.parameters.screenSizeEnabled)return super.intersectRay(e,t,n,r,i,a);this._intersectScreenSizeRay(e,n,r,i,a)}intersectRayDraped(e,t,n,r){if(!this.parameters.screenSizeEnabled)return super.intersectRayDraped(e,t,n,r);this._pp0[0]=this._pp1[0]=n[0],this._pp0[1]=this._pp1[1]=n[1],this._intersectScreenSizeRay(e,t,this._pp0,this._pp1,r)}intersectScreenPolygon(e,t,n,r){return this.parameters.screenSizeEnabled?y(_(e,n,t,r,this._createScreenSizeVertexDisplacement(e,n)),this._configuration,n.camera):super.intersectScreenPolygon(e,t,n,r)}_intersectScreenSizeRay(e,t,n,r,i){g(e,t,n,r,this._createScreenSizeVertexDisplacement(e,t),b(i,this._configuration,t.camera,n,r))}_createScreenSizeVertexDisplacement(r,i){let s=r.attributes.get(`offset`).data;return{applyToVertex:(r,a,o,c,l)=>{let u=e(P,s[l*3],s[l*3+1],s[l*3+2]);e(r,a,o,c);let d=this.parameters.screenSizeScale*(i.camera?.computeScreenPixelSizeAt(u)??1);return t(u,u,d),n(r,r,u),r},applyToAabb:e=>{let t=a(e,P);return o(e,this.parameters.screenSizeScale*(i.camera?.computeScreenPixelSizeAt(t)??1))}}}_isMaterialPass(e){return this.parameters.castShadows&&p(e)||m(e)||f(e)&&this.parameters.shading===1}_isOpaqueNoSSAODepthPass(e){return c(e)&&this.parameters.writeDepth&&!this.transparent}createGLMaterial(e){return new j(e)}createBufferWriter(){return new N(w(this.parameters))}}class j extends h{beginSlot(e){return this.getTechnique(E,e)}}class M extends T{constructor(){super(...arguments),this.forceTransparentMode=!1,this.writeDepth=!0,this.hasVertexColors=!1,this.polygonOffset=0,this.hasSlicePlane=!1,this.cullFace=0,this.draped=!1,this.castShadows=!1,this.screenSizeEnabled=!1,this.useIndexing=!1,this.shading=0,this.receiveShadows=!0,this.receiveAmbientOcclusion=!0}get shadingEnabled(){return this.shading===1}}class N{constructor(e){this.layout=e}elementCount(e){return e.get(`position`).indices.length}write(e,t,n,r){if(r==null)return;S(n,this.layout,e,t,r);let i=r.buffer.getField(`offset`,s);if(i&&n.has(`offset`)){let e=n.get(`offset`);v(e.size===3),C(e,t,i,r.offset)}}}const P=i();export{A as ColorMaterial,M as Parameters};
|
|
2
|
+
import{set as e,scale as t,add as n}from"../../../../core/libs/gl-matrix-2/math/vec3.js";import{fromValues as r,create as i}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{center as a,scale as o}from"../../../../geometry/support/aaBoundingBox.js";import{BufferViewVec3f as s}from"../../../../geometry/support/buffer/BufferView.js";import{isDepth as c,isColorOrOLID as l,is2DGeometryOutput as u,isColor as d,isNormals as f,isShadowLike as p,isColorHighlightOLIDOrDepth as m}from"../core/shaderLibrary/ShaderOutput.js";import h from"../lib/GLMaterial.js";import{intersectTriangleGeometry as g}from"../lib/RayIntersections.js";import{intersectTriangleGeometryWithScreenPolygon as _}from"../lib/screenPolygonTriangleIntersections.js";import{assert as v}from"../lib/Util.js";import{applyPolygonOffsetToHit as y,intersectWithPolygonOffset as b}from"./intersectWithPolygonOffset.js";import{TriangleMaterial as x}from"./TriangleMaterial.js";import{writeAttributes as S,writePosition as C}from"./internal/bufferWriterUtils.js";import{getLayout as w,ColorMaterialPassParameters as T,ColorMaterialTechnique as E}from"../shaders/ColorMaterialTechnique.js";import{ColorMaterialTechniqueConfiguration as D}from"../shaders/ColorMaterialTechniqueConfiguration.js";import{configureShadedMaterial as O}from"../shaders/ShadedMaterialConfiguration.js";import{alphaCutoff as k}from"../../../../webscene/support/AlphaCutoff.js";class A extends x{constructor(e,t){super(e,M),this.supportsEdges=!0,this._pp0=r(0,0,1),this._pp1=r(0,0,0),this.produces=new Map([[2,e=>this._isMaterialPass(e)&&!this.transparent],[3,e=>this.parameters.shading===0&&this._isOpaqueNoSSAODepthPass(e)],[4,e=>this._isMaterialPass(e)&&this.transparent&&this.parameters.writeDepth],[5,e=>this.parameters.shading===0&&c(e)&&this.transparent&&this.parameters.writeDepth],[8,e=>l(e)&&this.transparent&&!this.parameters.writeDepth],[18,e=>u(e)]]),this._configuration=new D(t)}updateConfiguration(e){super.updateConfiguration(e),this._configuration.cullFace=this.parameters.cullFace,this._configuration.hasVertexColors=this.parameters.hasVertexColors&&!this.parameters.vvColor,this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.writeDepth=this.parameters.writeDepth,this._configuration.hasOccludees=e.hasOccludees,this._configuration.hasVVColor=!!this.parameters.vvColor,this._configuration.draped=this.parameters.draped,this._configuration.shading=this.parameters.draped||!d(e.output)&&!f(e.output)?0:this.parameters.shading,this._configuration.screenSizeEnabled=this.parameters.screenSizeEnabled,this._configuration.emissionSource=+!!this.emissions,this._configuration.snowCover=e.snowCover>0&&this._configuration.shading===1,O(this._configuration,e,this.parameters,this._configuration.shading===1)}get visible(){return this.parameters.color[3]>=k}get transparent(){return this.parameters.color[3]<1||this.parameters.forceTransparentMode}get emissions(){return this.parameters.emissiveStrength>0?this.transparent?2:1:0}intersectRay(e,t,n,r,i,a){if(!this.parameters.screenSizeEnabled)return super.intersectRay(e,t,n,r,i,a);this._intersectScreenSizeRay(e,n,r,i,a)}intersectRayDraped(e,t,n,r){if(!this.parameters.screenSizeEnabled)return super.intersectRayDraped(e,t,n,r);this._pp0[0]=this._pp1[0]=n[0],this._pp0[1]=this._pp1[1]=n[1],this._intersectScreenSizeRay(e,t,this._pp0,this._pp1,r)}intersectScreenPolygon(e,t,n,r){return this.parameters.screenSizeEnabled?y(_(e,n,t,r,this._createScreenSizeVertexDisplacement(e,n)),this._configuration,n.camera):super.intersectScreenPolygon(e,t,n,r)}_intersectScreenSizeRay(e,t,n,r,i){g(e,t,n,r,this._createScreenSizeVertexDisplacement(e,t),b(i,this._configuration,t.camera,n,r))}_createScreenSizeVertexDisplacement(r,i){let s=r.attributes.get(`offset`).data;return{applyToVertex:(r,a,o,c,l)=>{let u=e(P,s[l*3],s[l*3+1],s[l*3+2]);e(r,a,o,c);let d=this.parameters.screenSizeScale*(i.camera?.computeScreenPixelSizeAt(u)??1);return t(u,u,d),n(r,r,u),r},applyToAabb:e=>{let t=a(e,P);return o(e,this.parameters.screenSizeScale*(i.camera?.computeScreenPixelSizeAt(t)??1))}}}_isMaterialPass(e){return this.parameters.castShadows&&p(e)||m(e)||f(e)&&this.parameters.shading===1}_isOpaqueNoSSAODepthPass(e){return c(e)&&this.parameters.writeDepth&&!this.transparent}createGLMaterial(e){return new j(e)}createBufferWriter(){return new N(w(this.parameters))}}class j extends h{beginSlot(e){return this.getTechnique(E,e)}}class M extends T{constructor(){super(...arguments),this.forceTransparentMode=!1,this.writeDepth=!0,this.hasVertexColors=!1,this.polygonOffset=0,this.hasSlicePlane=!1,this.cullFace=0,this.draped=!1,this.castShadows=!1,this.screenSizeEnabled=!1,this.useIndexing=!1,this.shading=0,this.receiveShadows=!0,this.receiveAmbientOcclusion=!0}get shadingEnabled(){return this.shading===1}}class N{constructor(e){this.layout=e}elementCount(e){return e.get(`position`).indices.length}write(e,t,n,r){if(r==null)return;S(n,this.layout,e,t,r);let i=r.buffer.getField(`offset`,s);if(i&&n.has(`offset`)){let e=n.get(`offset`);v(e.size===3),C(e,t,i,r.offset)}}}const P=i();export{A as ColorMaterial,M as Parameters};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import e from"../../../../core/Logger.js";import{clamp as t}from"../../../../core/mathUtils.js";import{createRenderScreenPointArray3 as n,createScreenPointArray as r}from"../../../../core/screenUtils.js";import{secondsFromMilliseconds as i,Seconds as a}from"../../../../core/time.js";import{copy as o,set as s}from"../../../../core/libs/gl-matrix-2/math/vec2.js";import{create as c}from"../../../../core/libs/gl-matrix-2/factories/vec2f64.js";import{set as l,subtract as u,dot as d,scale as f,add as p,copy as m,length as h,distance as g,lerp as _,transformMat4 as v,normalize as y,applyTranslation as b}from"../../../../core/libs/gl-matrix-2/math/vec3.js";import{create as x}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{ONES as ee}from"../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{fromPoints as S,distance2 as te,closestLineSegmentPoint as ne,projectPoint as re,projectPointFraction as ie,create as ae}from"../../../../geometry/support/lineSegment.js";import{fromPoints as C,signedDistance as w,getNormal as oe,create as T}from"../../../../geometry/support/plane.js";import{BufferViewUint32 as E,BufferViewVec3f as se}from"../../../../geometry/support/buffer/BufferView.js";import{isHighlightOrOLID as ce,isColor as D,isDepth as le,isColorHighlightOLIDOrDepth as ue,is2DGeometryOutput as de}from"../core/shaderLibrary/ShaderOutput.js";import{getScalarAttributeView as fe}from"../lib/attributeViewUtils.js";import pe from"../lib/GLMaterial.js";import{LineMaterial as me}from"../lib/LineMaterial.js";import{ribbonLineVertexInfoPacking as O}from"../lib/RibbonLineVertexInfo.js";import{projectWorldLineSegmentToRenderScreen as he,screenPolygonIntersectsBufferedSegment as ge}from"../lib/screenPolygonOverlapUtils.js";import{Hit as _e,DrapedHit as ve}from"../lib/screenPolygonTriangleIntersections.js";import{ScreenSizePerspectiveEvaluator as ye}from"../lib/screenSizePerspectiveUtils.js";import{isTranslationMatrix as be,assert as k}from"../lib/Util.js";import{createVerticesView as xe}from"../lib/VerticesView.js";import{isImagePattern as Se}from"./lineStippleUtils.js";import{VisualVariablePassParameters as Ce}from"./VisualVariablePassParameters.js";import{getNumJoinSubdivisions as we,getRibbonLinePositions as A,isClosed as j,ribbonLineVertexCount as Te,writeRibbonLineTextureBuffer as Ee,writeRibbonLineVertices as De}from"./internal/ribbonLineBufferUtils.js";import{intersectRayWithWorldSizedLineSegment as Oe,intersectScreenPolygonWithWorldSizedLineSegment as ke}from"./internal/worldSizedRibbonLineIntersectionUtils.js";import{getLayout as Ae,getTextureBufferLayout as je}from"../shaders/RibbonLineLayouts.js";import{RibbonLineTechnique as Me}from"../shaders/RibbonLineTechnique.js";import{RibbonLineTechniqueConfiguration as Ne}from"../shaders/RibbonLineTechniqueConfiguration.js";import{alphaCutoff as Pe}from"../../../../webscene/support/AlphaCutoff.js";class Fe extends me{constructor(e,t){super(e,Le),this.produces=new Map([[2,e=>ce(e)||D(e)&&this.parameters.renderOccluded===8],[3,e=>le(e)],[10,e=>ue(e)&&this.parameters.renderOccluded===8],[11,e=>ue(e)&&this.parameters.renderOccluded===8],[4,e=>D(e)&&this.parameters.writeDepth&&this.parameters.renderOccluded!==8],[8,e=>D(e)&&!this.parameters.writeDepth&&this.parameters.renderOccluded!==8],[18,e=>de(e)]]),this._configuration=new Ne(t.state.isGlobal),this._isAssumedMetalDriver=t.stage.renderer.renderContext.rctx.isAssumedMetalDriver}updateConfiguration(e){super.updateConfiguration(e),this._configuration.useFlatJoinVarying=!this._isAssumedMetalDriver;let t=this.parameters.stipplePattern!=null&&this.parameters.stippleTexture!=null&&e.output!==10,n=t&&this.parameters.isImagePattern()&&this._configuration.draped,r=this.parameters.usesWorldSizedWidth(n);this._configuration.polygonOffset=this.parameters.polygonOffset,this._configuration.stippleEnabled=t,this._configuration.stippleOffColorEnabled=t&&this.parameters.stippleOffColor!=null,this._configuration.stipplePreferContinuous=t&&this.parameters.stipplePreferContinuous,this._configuration.numJoinSubdivisions=we(this.parameters.join,t),this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.roundJoins=this.parameters.join===`round`,this._configuration.capType=this.parameters.cap,this._configuration.applyMarkerOffset=this.parameters.markerParameters!=null&&Be(this.parameters.markerParameters),this._configuration.polygonOffsetIndex=this.parameters.polygonOffsetIndex,this._configuration.writeDepth=this.parameters.writeDepth,this._configuration.innerColorEnabled=this.parameters.innerWidth>0&&this.parameters.innerColor!=null,this._configuration.falloffEnabled=this.parameters.falloff>0,this._configuration.wireframe=this.parameters.wireframe,this._configuration.animation=this.parameters.animation,this._configuration.emissionSource=+!!this.emissions,this._configuration.hasScreenSizePerspective=!!this.parameters.screenSizePerspective&&!r,this._configuration.worldSized=r,this._configuration.imagePattern=n,this._configuration.hasVertexColor=this.parameters.hasVertexColor,this._configuration.hasVertexSize=this.parameters.hasVertexSize,this._configuration.hasLineDistance=this.parameters.hasLineDistance}get visible(){return this.parameters.color[3]>=Pe||this.parameters.stipplePattern!=null&&(this.parameters.stippleOffColor?.[3]??0)>Pe}get emissions(){return this.parameters.emissiveStrength>0?this.parameters.renderOccluded===8?1:2:0}setParameters(e,t){e.animation=this.parameters.animation,super.setParameters(e,t)}intersectRayDraped(e,n,r,i,a,o,s){if(!n.options.selectionMode)return;let c=this._getLineSize(e,!0),l=A(e,!!this.parameters.isClosed),u=r[0],d=r[1],f=M(c,o,s,this.parameters.usesWorldSizedWidth()),p=Number.MAX_VALUE,m=0;for(let e of ze(F,I,l,j(this.parameters,l.count))){let n=u-F[0],r=d-F[1],i=I[0]-F[0],a=I[1]-F[1],o=i*n+a*r,s=i*i+a*a,c=t(o/s,0,1),l=i*c-n,f=a*c-r,h=l*l+f*f;h<p&&(p=h,m=e)}p<f*f&&i(a.distance,a.renderDistance,a.normal,m)}intersectRay(t,n,r,i,a,o){let{options:s,camera:c}=r;if(!s.selectionMode||!t.visible||!c)return;if(!be(n)){e.getLogger(`esri.views.3d.webgl-engine.materials.RibbonLineMaterial`).error(`intersection assumes a translation-only matrix`);return}let l=this._getLineSize(t);this.parameters.worldSized?this._intersectRayWithWorldSizedLine(t,n,r,l,o):this._intersectRayWithScreenSizedLine(t,n,r,l,o)}_intersectRayWithScreenSizedLine(e,t,n,r,i){let{camera:a}=n,s=A(e,!!this.parameters.isClosed),c=V;o(c,n.point);let _=r*a.pixelRatio,v=$*a.pixelRatio,y=_/2+v;l(q[0],c[0]-y,c[1]+y,0),l(q[1],c[0]+y,c[1]+y,0),l(q[2],c[0]+y,c[1]-y,0),l(q[3],c[0]-y,c[1]-y,0);for(let e=0;e<4;e++)if(!a.unprojectFromRenderScreen(q[e],J[e]))return;C(a.eye,J[0],J[1],Y),C(a.eye,J[1],J[2],X),C(a.eye,J[2],J[3],Z),C(a.eye,J[3],J[0],Q);let b=Number.MAX_VALUE,x=0;for(let e of this._forEachTransformedLineSegment(N,P,s,t,j(this.parameters,s.count))){if(w(Y,N)<0&&w(Y,P)<0||w(X,N)<0&&w(X,P)<0||w(Z,N)<0&&w(Z,P)<0||w(Q,N)<0&&w(Q,P)<0)continue;let t=a.projectToRenderScreen(N,H),n=a.projectToRenderScreen(P,U);if(t==null||n==null)continue;if(t[2]<0&&n[2]>0){u(z,N,P);let e=a.frustum,n=-w(e[4],N)/d(z,oe(e[4]));if(f(z,z,n),p(N,N,z),!a.projectToRenderScreen(N,t))continue}else if(t[2]>0&&n[2]<0){u(z,P,N);let e=a.frustum,t=-w(e[4],P)/d(z,oe(e[4]));if(f(z,z,t),p(P,P,z),!a.projectToRenderScreen(P,n))continue}else if(t[2]<0&&n[2]<0)continue;t[2]=0,n[2]=0;let i=S(t,n,G),o=te(i,c);if(!(o>=b)){if(this.parameters.screenSizePerspective){let e=this.computeScreenSizePerspectiveWidth(i,N,P,c,a,r,v);if(o>=e*e)continue}b=o,m(Ge,N),m(Ke,P),x=e}}if(b<y*y){let{rayBegin:e,rayEnd:t}=n,r=Number.MAX_VALUE;if(ne(S(Ge,Ke,G),S(e,t,K),B)){u(B,B,e);let n=h(B);f(B,B,1/n),r=n/g(e,t)}i(r,r,B,x)}}_intersectRayWithWorldSizedLine(e,t,n,r,i){let{camera:a,ray:o,metersPerRenderUnit:s}=n,c=A(e,!!this.parameters.isClosed),l=r/(2*s),u=1/0,d=0;for(let e of this._forEachTransformedLineSegment(N,P,c,t,j(this.parameters,c.count))){let t=Oe(N,P,l,a,o,W);if(t!=null&&t<u&&(u=t,d=e,m(B,W),t===0))break}u<1/0&&i(u,u,B,d)}intersectScreenPolygon(t,n,r,i){let{options:a}=r;if(!a.selectionMode||!t.visible)return null;if(!be(n))return e.getLogger(`esri.views.3d.webgl-engine.materials.RibbonLineMaterial`).error(`intersection assumes a translation-only matrix`),null;let o=this._getLineSize(t);return this.parameters.worldSized?this._intersectWorldSizedPolygon(t,n,r,i,o):this._intersectScreenSizedPolygon(t,n,r,i,o)}_intersectScreenSizedPolygon(e,t,n,r,i){let{camera:a,screenPolygonPrimitiveProcessor:o}=n,s=A(e,!!this.parameters.isClosed),c=$,l=c*a.pixelRatio,u=new _e(4);for(let e of this._forEachTransformedLineSegment(N,P,s,t,j(this.parameters,s.count)))for(let[t,n]of o.processLineSegment(Je,N,P)){if(!he(a,t,n,H,U))continue;let o=S(H,U,G),s=i/2+c;this.parameters.screenSizePerspective&&(_(V,H,U,.5),s=Math.max(s,this.computeScreenSizePerspectiveWidth(o,t,n,V,a,i,l)/a.pixelRatio)),a.renderToScreen(H,Ue),a.renderToScreen(U,We),ge(r,Ue,We,s)&&(re(S(t,n,K),a.eye,L),u.updateIfCloserFromValues(g(a.eye,L),e,L,null))}return u}_intersectWorldSizedPolygon(e,t,n,r,i){let{camera:a,screenPolygonPrimitiveProcessor:o,metersPerRenderUnit:s}=n,c=A(e,!!this.parameters.isClosed),l=i/(2*s),u=new _e(4);for(let e of this._forEachTransformedLineSegment(N,P,c,t,j(this.parameters,c.count)))for(let[t,n]of o.processLineSegment(Je,N,P)){re(S(t,n,K),a.eye,L);let i=g(a.eye,L);u.valid&&i>=u.distance||ke(t,n,l,a,r)&&u.updateIfCloserFromValues(i,e,L,null)}return u}intersectScreenPolygonDraped(e,t,n,r,i,a){if(!n.options.selectionMode)return null;let o=this._getLineSize(e,!0),s=A(e,!!this.parameters.isClosed),c=M(o,i,a,this.parameters.usesWorldSizedWidth());for(let e of ze(F,I,s,j(this.parameters,s.count),t))if(ge(r,F,I,c))return new ve(e);return null}createPrimitivePositionReader(e){let t=e.vertex.getField(`ribbonLineVertexInfo`,E),n=e.storage.getField(`position`,se),r=O.getField(0);return(e,i)=>n.getVec(r.get(t.get(i)),e)}computeAttachmentOrigin(e,t,n){return!this.parameters.wireframe&&super.computeAttachmentOrigin(e,t,n)}createBufferWriter(){return new Re(Ae(this.parameters),je(this.parameters),this.parameters)}createGLMaterial(e){return new Ie(e)}validateParameters(e){k(e.hasLineDistance||e.stipplePattern==null,`Patterned ribbon lines require line distances`),e.join!==`miter`&&(e.miterLimit=0),e.markerParameters!=null&&(e.markerScale=e.markerParameters.width/e.width)}update(e){return this.parameters.hasAnimation?(this.setParameters({timeElapsed:i(e.time)},!1),e.dt!==0):!1}computeScreenSizePerspectiveWidth(e,t,n,r,i,a,o){let s=ie(e,r);_(L,t,n,s),v(He,L,i.viewMatrix);let c=h(He),l=this.computeCameraAbsCosAngle(L,i,this._configuration.spherical);return Ve.update(l,c,this.parameters.screenSizePerspective,this.parameters.screenSizePerspectiveMinPixelReferenceSize),Ve.apply(a)*i.pixelRatio/2+o}computeCameraAbsCosAngle(e,t,n){return n?y(B,e):l(B,0,0,1),u(R,e,t.eye),y(R,R),Math.abs(d(B,R))}_getLineSize(e,n=!1){let r=this.parameters.width;if(this.parameters.vvSize){let i=fe(e,`sizeFeatureAttribute`).get(0);Number.isNaN(i)?n&&(r*=this.parameters.vvSize.fallback[0]):r*=t(this.parameters.vvSize.offset[0]+i*this.parameters.vvSize.factor[0],this.parameters.vvSize.minSize[0],this.parameters.vvSize.maxSize[0])}else if(this.parameters.hasVertexSize){let t=fe(e,`size`);t!=null&&(r*=t.get(0))}return r}*_forEachTransformedLineSegment(e,t,n,r,i){let a=i?n.count:n.count-1;for(let i=0;i<a;i++)n.getVec(i,e),b(e,e,r),n.getVec((i+1)%n.count,t),b(t,t,r),yield i}}class Ie extends pe{constructor(){super(...arguments),this._stipplePattern=null}dispose(){super.dispose(),this._stippleTextures?.release(this._stipplePattern),this._stipplePattern=null}beginSlot(e){let{stipplePattern:t}=this._material.parameters;return this._stipplePattern!==t&&(this._material.setParameters({stippleTexture:this._stippleTextures.swap(t,this._stipplePattern)}),this._stipplePattern=t),this.getTechnique(Me,e)}}class Le extends Ce{constructor(){super(...arguments),this._width=0,this.color=ee,this.hasVertexColor=!0,this.hasVertexSize=!0,this.hasLineDistance=!0,this.join=`miter`,this.cap=0,this.miterLimit=5,this.shadingEnabled=!1,this.receiveShadows=!0,this.receiveAmbientOcclusion=!0,this.writeDepth=!0,this.polygonOffset=0,this.polygonOffsetIndex=0,this.stippleTexture=null,this.stipplePreferContinuous=!0,this.markerParameters=null,this.markerScale=1,this.hasSlicePlane=!1,this.vvFastUpdate=!1,this.isClosed=!1,this.falloff=0,this.innerWidth=0,this.wireframe=!1,this.timeElapsed=a(0),this.animation=0,this.animationSpeed=1,this.trailLength=1,this.startTime=a(0),this.endTime=a(1/0),this.worldSized=!1}get width(){return this.isImagePattern()?this.stipplePattern.width:this._width}set width(e){this._width=e}get transparent(){return this.color[3]<1||this.hasAnimation||this.stipplePattern!=null&&(this.stippleOffColor?.[3]??0)<1}get hasAnimation(){return this.animation!==0}usesWorldSizedWidth(e=this.isImagePattern()){return this.worldSized||e}isImagePattern(){return Se(this.stipplePattern)&&this.stippleTexture!=null}}class Re{constructor(e,t,n){this.layout=e,this.textureBufferLayout=t,this._parameters=n,this.maxTextureBufferItemIndex=O.getField(0).max}_isClosed(e){return j(this._parameters,e)}allocate(e){return this.layout.createBuffer(e)}elementCountTextureBuffer(e){let t=e.get(`position`);return t.data.length/3+(this._isClosed(t.data.length/t.stride)?3:2)}elementCount(e){let t=e.get(`position`),n=t.indices.length/2+1;return Te(n,this._isClosed(t.data.length/t.stride),this._parameters)}rebaseBuffers(e,t,n,r){if(r?.buffer.copyFrom(e.storage,0,r.offset),t!=null){let r=n.from,i=e.vertex.getField(`ribbonLineVertexInfo`,E),a=t.buffer.getField(`ribbonLineVertexInfo`,E),o=O.getField(0);for(let e=0;e<i.count;e++){let n=i.get(e),s=o.get(n)+r;a.set(t.offset+e,n===0?0:o.set(n,s))}}}write(e,t,n,r,i,a){a!=null&&this._writeTextureBuffer(e,n,a),r!=null&&this._writeVertexBuffer(n,r,i)}_writeTextureBuffer(e,t,n){let r=xe(t.get(`position`),3),i=t.get(`timeStamps`);i!=null&&n.buffer.layout.fields.has(`timeStamps`)&&k(i.size===4),Ee({position:r,color:t.get(`color`)?.data,size:t.get(`size`)?.data,colorFeature:t.get(`colorFeatureAttribute`)?.data,sizeFeature:t.get(`sizeFeatureAttribute`)?.data,opacityFeature:t.get(`opacityFeatureAttribute`)?.data,distancesToStart:t.get(`distanceToStart`)?.data,timeStamps:i?.data,olidColor:t.get(`olidColor`)?.data},this._isClosed(r.count),n,e)}_writeVertexBuffer(e,t,n){let r=e.get(`position`),i=r.indices,a=r.data.length/3,o=this._isClosed(r.data.length/r.stride),s=a+(o?3:2);i&&i.length!==2*(a-1)&&console.warn(`RibbonLineMaterial does not support indices`),k(n!=null,`Using a texture layout, but the texture range for this instance was not provided`);let c=n.from;k(n.numElements===s,`Expected number of elements in TextureBuffer to equal number of points`),De(a,o,this._parameters,t,c)}}function M(e,t,n,r){return r?e/(2*n)+$*t:(e/2+$)*t}function*ze(e,t,n,r,i){let a=r?n.count:n.count-1,c=i?.[0]??0,l=i?.[1]??0;s(e,n.get(0,0)+c,n.get(0,1)+l);for(let r=1;r<=a;r++){let i=r%n.count;s(t,n.get(i,0)+c,n.get(i,1)+l),yield r,o(e,t)}}function Be(e){return e.anchor===1&&e.hideOnShortSegments&&e.placement===`begin-end`&&e.worldSpace}const Ve=new ye,N=x(),P=x(),F=c(),I=c(),L=x(),He=x(),R=x(),z=x(),B=x(),V=x(),H=n(),U=n(),Ue=r(),We=r(),Ge=x(),Ke=x(),W=x(),G=ae(),K=ae(),q=[n(),n(),n(),n()],J=[x(),x(),x(),x()],Y=T(),X=T(),Z=T(),Q=T(),$=4,qe={getDrapedRibbonLineMaxDistance:M},Je=[x(),x()];export{Le as Parameters,Fe as RibbonLineMaterial,qe as test};
|
|
2
|
+
import e from"../../../../core/Logger.js";import{clamp as t}from"../../../../core/mathUtils.js";import{createRenderScreenPointArray3 as n,createScreenPointArray as r}from"../../../../core/screenUtils.js";import{secondsFromMilliseconds as i,Seconds as a}from"../../../../core/time.js";import{copy as o,set as s}from"../../../../core/libs/gl-matrix-2/math/vec2.js";import{create as c}from"../../../../core/libs/gl-matrix-2/factories/vec2f64.js";import{set as l,subtract as u,dot as d,scale as f,add as p,copy as m,length as h,distance as g,lerp as _,transformMat4 as v,normalize as y,applyTranslation as b}from"../../../../core/libs/gl-matrix-2/math/vec3.js";import{create as x}from"../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{ONES as ee}from"../../../../core/libs/gl-matrix-2/factories/vec4f64.js";import{fromPoints as S,distance2 as te,closestLineSegmentPoint as ne,projectPoint as re,projectPointFraction as ie,create as ae}from"../../../../geometry/support/lineSegment.js";import{fromPoints as C,signedDistance as w,getNormal as oe,create as T}from"../../../../geometry/support/plane.js";import{BufferViewVec3f as se,BufferViewUint32 as ce}from"../../../../geometry/support/buffer/BufferView.js";import{isHighlightOrOLID as le,isColor as E,isDepth as ue,isColorHighlightOLIDOrDepth as de,is2DGeometryOutput as fe}from"../core/shaderLibrary/ShaderOutput.js";import{getScalarAttributeView as D}from"../lib/attributeViewUtils.js";import pe from"../lib/GLMaterial.js";import{LineMaterial as me}from"../lib/LineMaterial.js";import{ribbonLineVertexInfoPacking as he}from"../lib/RibbonLineVertexInfo.js";import{projectWorldLineSegmentToRenderScreen as ge,screenPolygonIntersectsBufferedSegment as _e}from"../lib/screenPolygonOverlapUtils.js";import{Hit as ve,DrapedHit as ye}from"../lib/screenPolygonTriangleIntersections.js";import{ScreenSizePerspectiveEvaluator as be}from"../lib/screenSizePerspectiveUtils.js";import{isTranslationMatrix as xe,assert as O}from"../lib/Util.js";import{createVerticesView as Se}from"../lib/VerticesView.js";import{isImagePattern as Ce}from"./lineStippleUtils.js";import{VisualVariablePassParameters as we}from"./VisualVariablePassParameters.js";import{getNumJoinSubdivisions as Te,getRibbonLinePositions as k,isClosed as A,getUnpaddedRibbonLinePositionCount as Ee,ribbonLineVertexCount as De,writeRibbonLineTextureBuffer as Oe,writeRibbonLineVertices as ke}from"./internal/ribbonLineBufferUtils.js";import{intersectRayWithWorldSizedLineSegment as Ae,intersectScreenPolygonWithWorldSizedLineSegment as je}from"./internal/worldSizedRibbonLineIntersectionUtils.js";import{getLayout as Me,getTextureBufferLayout as Ne}from"../shaders/RibbonLineLayouts.js";import{RibbonLineTechnique as Pe}from"../shaders/RibbonLineTechnique.js";import{RibbonLineTechniqueConfiguration as Fe}from"../shaders/RibbonLineTechniqueConfiguration.js";import{alphaCutoff as j}from"../../../../webscene/support/AlphaCutoff.js";class Ie extends me{constructor(e,t){super(e,Re),this.produces=new Map([[2,e=>le(e)||E(e)&&this.parameters.renderOccluded===8],[3,e=>ue(e)],[10,e=>de(e)&&this.parameters.renderOccluded===8],[11,e=>de(e)&&this.parameters.renderOccluded===8],[4,e=>E(e)&&this.parameters.writeDepth&&this.parameters.renderOccluded!==8],[8,e=>E(e)&&!this.parameters.writeDepth&&this.parameters.renderOccluded!==8],[18,e=>fe(e)]]),this._configuration=new Fe(t.state.isGlobal),this._isAssumedMetalDriver=t.stage.renderer.renderContext.rctx.isAssumedMetalDriver}updateConfiguration(e){super.updateConfiguration(e),this._configuration.useFlatJoinVarying=!this._isAssumedMetalDriver;let t=this.parameters.stipplePattern!=null&&this.parameters.stippleTexture!=null&&e.output!==10,n=t&&this.parameters.isImagePattern()&&this._configuration.draped,r=this.parameters.usesWorldSizedWidth(n);this._configuration.polygonOffset=this.parameters.polygonOffset,this._configuration.stippleEnabled=t,this._configuration.stippleOffColorEnabled=t&&this.parameters.stippleOffColor!=null,this._configuration.stipplePreferContinuous=t&&this.parameters.stipplePreferContinuous,this._configuration.numJoinSubdivisions=Te(this.parameters.join,t),this._configuration.hasSlicePlane=this.parameters.hasSlicePlane,this._configuration.roundJoins=this.parameters.join===`round`,this._configuration.capType=this.parameters.cap,this._configuration.applyMarkerOffset=this.parameters.markerParameters!=null&&Ve(this.parameters.markerParameters),this._configuration.polygonOffsetIndex=this.parameters.polygonOffsetIndex,this._configuration.writeDepth=this.parameters.writeDepth,this._configuration.innerColorEnabled=this.parameters.innerWidth>0&&this.parameters.innerColor!=null,this._configuration.falloffEnabled=this.parameters.falloff>0,this._configuration.wireframe=this.parameters.wireframe,this._configuration.animation=this.parameters.animation,this._configuration.emissionSource=+!!this.emissions,this._configuration.hasScreenSizePerspective=!!this.parameters.screenSizePerspective&&!r,this._configuration.worldSized=r,this._configuration.imagePattern=n,this._configuration.hasVertexColor=this.parameters.hasVertexColor,this._configuration.hasVertexSize=this.parameters.hasVertexSize,this._configuration.hasLineDistance=this.parameters.hasLineDistance}get visible(){return this.parameters.color[3]>=j||this.parameters.stipplePattern!=null&&(this.parameters.stippleOffColor?.[3]??0)>j}get emissions(){return this.parameters.emissiveStrength>0?this.parameters.renderOccluded===8?1:2:0}setParameters(e,t){e.animation=this.parameters.animation,super.setParameters(e,t)}intersectRayDraped(e,n,r,i,a,o,s){if(!n.options.selectionMode)return;let c=this._getLineSize(e,!0),l=k(e,!!this.parameters.isClosed),u=r[0],d=r[1],f=M(c,o,s,this.parameters.usesWorldSizedWidth()),p=Number.MAX_VALUE,m=0;for(let e of Be(F,I,l,A(this.parameters,l.count))){let n=u-F[0],r=d-F[1],i=I[0]-F[0],a=I[1]-F[1],o=i*n+a*r,s=i*i+a*a,c=t(o/s,0,1),l=i*c-n,f=a*c-r,h=l*l+f*f;h<p&&(p=h,m=e)}p<f*f&&i(a.distance,a.renderDistance,a.normal,m)}intersectRay(t,n,r,i,a,o){let{options:s,camera:c}=r;if(!s.selectionMode||!t.visible||!c)return;if(!xe(n)){e.getLogger(`esri.views.3d.webgl-engine.materials.RibbonLineMaterial`).error(`intersection assumes a translation-only matrix`);return}let l=this._getLineSize(t);this.parameters.worldSized?this._intersectRayWithWorldSizedLine(t,n,r,l,o):this._intersectRayWithScreenSizedLine(t,n,r,l,o)}_intersectRayWithScreenSizedLine(e,t,n,r,i){let{camera:a}=n,s=k(e,!!this.parameters.isClosed),c=V;o(c,n.point);let _=r*a.pixelRatio,v=Q*a.pixelRatio,y=_/2+v;l(K[0],c[0]-y,c[1]+y,0),l(K[1],c[0]+y,c[1]+y,0),l(K[2],c[0]+y,c[1]-y,0),l(K[3],c[0]-y,c[1]-y,0);for(let e=0;e<4;e++)if(!a.unprojectFromRenderScreen(K[e],q[e]))return;C(a.eye,q[0],q[1],J),C(a.eye,q[1],q[2],Y),C(a.eye,q[2],q[3],X),C(a.eye,q[3],q[0],Z);let b=Number.MAX_VALUE,x=0;for(let e of this._forEachTransformedLineSegment(N,P,s,t,A(this.parameters,s.count))){if(w(J,N)<0&&w(J,P)<0||w(Y,N)<0&&w(Y,P)<0||w(X,N)<0&&w(X,P)<0||w(Z,N)<0&&w(Z,P)<0)continue;let t=a.projectToRenderScreen(N,H),n=a.projectToRenderScreen(P,U);if(t==null||n==null)continue;if(t[2]<0&&n[2]>0){u(z,N,P);let e=a.frustum,n=-w(e[4],N)/d(z,oe(e[4]));if(f(z,z,n),p(N,N,z),!a.projectToRenderScreen(N,t))continue}else if(t[2]>0&&n[2]<0){u(z,P,N);let e=a.frustum,t=-w(e[4],P)/d(z,oe(e[4]));if(f(z,z,t),p(P,P,z),!a.projectToRenderScreen(P,n))continue}else if(t[2]<0&&n[2]<0)continue;t[2]=0,n[2]=0;let i=S(t,n,W),o=te(i,c);if(!(o>=b)){if(this.parameters.screenSizePerspective){let e=this.computeScreenSizePerspectiveWidth(i,N,P,c,a,r,v);if(o>=e*e)continue}b=o,m(Ke,N),m(qe,P),x=e}}if(b<y*y){let{rayBegin:e,rayEnd:t}=n,r=Number.MAX_VALUE;if(ne(S(Ke,qe,W),S(e,t,G),B)){u(B,B,e);let n=h(B);f(B,B,1/n),r=n/g(e,t)}i(r,r,B,x)}}_intersectRayWithWorldSizedLine(e,t,n,r,i){let{camera:a,ray:o,metersPerRenderUnit:s}=n,c=k(e,!!this.parameters.isClosed),l=r/(2*s),u=1/0,d=0;for(let e of this._forEachTransformedLineSegment(N,P,c,t,A(this.parameters,c.count))){let t=Ae(N,P,l,a,o,Je);if(t!=null&&t<u&&(u=t,d=e,m(B,Je),t===0))break}u<1/0&&i(u,u,B,d)}intersectScreenPolygon(t,n,r,i){let{options:a}=r;if(!a.selectionMode||!t.visible)return null;if(!xe(n))return e.getLogger(`esri.views.3d.webgl-engine.materials.RibbonLineMaterial`).error(`intersection assumes a translation-only matrix`),null;let o=this._getLineSize(t);return this.parameters.worldSized?this._intersectWorldSizedPolygon(t,n,r,i,o):this._intersectScreenSizedPolygon(t,n,r,i,o)}_intersectScreenSizedPolygon(e,t,n,r,i){let{camera:a,screenPolygonPrimitiveProcessor:o}=n,s=k(e,!!this.parameters.isClosed),c=Q,l=c*a.pixelRatio,u=new ve(4);for(let e of this._forEachTransformedLineSegment(N,P,s,t,A(this.parameters,s.count)))for(let[t,n]of o.processLineSegment($,N,P)){if(!ge(a,t,n,H,U))continue;let o=S(H,U,W),s=i/2+c;this.parameters.screenSizePerspective&&(_(V,H,U,.5),s=Math.max(s,this.computeScreenSizePerspectiveWidth(o,t,n,V,a,i,l)/a.pixelRatio)),a.renderToScreen(H,We),a.renderToScreen(U,Ge),_e(r,We,Ge,s)&&(re(S(t,n,G),a.eye,L),u.updateIfCloserFromValues(g(a.eye,L),e,L,null))}return u}_intersectWorldSizedPolygon(e,t,n,r,i){let{camera:a,screenPolygonPrimitiveProcessor:o,metersPerRenderUnit:s}=n,c=k(e,!!this.parameters.isClosed),l=i/(2*s),u=new ve(4);for(let e of this._forEachTransformedLineSegment(N,P,c,t,A(this.parameters,c.count)))for(let[t,n]of o.processLineSegment($,N,P)){re(S(t,n,G),a.eye,L);let i=g(a.eye,L);u.valid&&i>=u.distance||je(t,n,l,a,r)&&u.updateIfCloserFromValues(i,e,L,null)}return u}intersectScreenPolygonDraped(e,t,n,r,i,a){if(!n.options.selectionMode)return null;let o=this._getLineSize(e,!0),s=k(e,!!this.parameters.isClosed),c=M(o,i,a,this.parameters.usesWorldSizedWidth());for(let e of Be(F,I,s,A(this.parameters,s.count),t))if(_e(r,F,I,c))return new ye(e);return null}getPrimitivePositionCount(e,t){let n=(t??e).storage.getField(`position`,se),r=Ee(n.count,this.parameters.isClosed);return 2*Math.max(0,r-1)}createPrimitivePositionReader(e,t){let n=(t??e).storage.getField(`position`,se);return(e,t)=>n.getVec(1+Math.ceil(t/2),e)}computeAttachmentOrigin(e,t,n){return!this.parameters.wireframe&&super.computeAttachmentOrigin(e,t,n)}createBufferWriter(){return new ze(Me(this.parameters),Ne(this.parameters),this.parameters)}createGLMaterial(e){return new Le(e)}validateParameters(e){O(e.hasLineDistance||e.stipplePattern==null,`Patterned ribbon lines require line distances`),e.join!==`miter`&&(e.miterLimit=0),e.markerParameters!=null&&(e.markerScale=e.markerParameters.width/e.width)}update(e){return this.parameters.hasAnimation?(this.setParameters({timeElapsed:i(e.time)},!1),e.dt!==0):!1}computeScreenSizePerspectiveWidth(e,t,n,r,i,a,o){let s=ie(e,r);_(L,t,n,s),v(Ue,L,i.viewMatrix);let c=h(Ue),l=this.computeCameraAbsCosAngle(L,i,this._configuration.spherical);return He.update(l,c,this.parameters.screenSizePerspective,this.parameters.screenSizePerspectiveMinPixelReferenceSize),He.apply(a)*i.pixelRatio/2+o}computeCameraAbsCosAngle(e,t,n){return n?y(B,e):l(B,0,0,1),u(R,e,t.eye),y(R,R),Math.abs(d(B,R))}_getLineSize(e,n=!1){let r=this.parameters.width;if(this.parameters.vvSize){let i=D(e,`sizeFeatureAttribute`).get(0);Number.isNaN(i)?n&&(r*=this.parameters.vvSize.fallback[0]):r*=t(this.parameters.vvSize.offset[0]+i*this.parameters.vvSize.factor[0],this.parameters.vvSize.minSize[0],this.parameters.vvSize.maxSize[0])}else if(this.parameters.hasVertexSize){let t=D(e,`size`);t!=null&&(r*=t.get(0))}return r}*_forEachTransformedLineSegment(e,t,n,r,i){let a=i?n.count:n.count-1;for(let i=0;i<a;i++)n.getVec(i,e),b(e,e,r),n.getVec((i+1)%n.count,t),b(t,t,r),yield i}}class Le extends pe{constructor(){super(...arguments),this._stipplePattern=null}dispose(){super.dispose(),this._stippleTextures?.release(this._stipplePattern),this._stipplePattern=null}beginSlot(e){let{stipplePattern:t}=this._material.parameters;return this._stipplePattern!==t&&(this._material.setParameters({stippleTexture:this._stippleTextures.swap(t,this._stipplePattern)}),this._stipplePattern=t),this.getTechnique(Pe,e)}}class Re extends we{constructor(){super(...arguments),this._width=0,this.color=ee,this.hasVertexColor=!0,this.hasVertexSize=!0,this.hasLineDistance=!0,this.join=`miter`,this.cap=0,this.miterLimit=5,this.shadingEnabled=!1,this.receiveShadows=!0,this.receiveAmbientOcclusion=!0,this.writeDepth=!0,this.polygonOffset=0,this.polygonOffsetIndex=0,this.stippleTexture=null,this.stipplePreferContinuous=!0,this.markerParameters=null,this.markerScale=1,this.hasSlicePlane=!1,this.vvFastUpdate=!1,this.isClosed=!1,this.falloff=0,this.innerWidth=0,this.wireframe=!1,this.timeElapsed=a(0),this.animation=0,this.animationSpeed=1,this.trailLength=1,this.startTime=a(0),this.endTime=a(1/0),this.worldSized=!1}get width(){return this.isImagePattern()?this.stipplePattern.width:this._width}set width(e){this._width=e}get transparent(){return this.color[3]<1||this.hasAnimation||this.stipplePattern!=null&&(this.stippleOffColor?.[3]??0)<1}get hasAnimation(){return this.animation!==0}usesWorldSizedWidth(e=this.isImagePattern()){return this.worldSized||e}isImagePattern(){return Ce(this.stipplePattern)&&this.stippleTexture!=null}}class ze{constructor(e,t,n){this.layout=e,this.textureBufferLayout=t,this._parameters=n,this.maxTextureBufferItemIndex=he.getField(0).max}_isClosed(e){return A(this._parameters,e)}allocate(e){return this.layout.createBuffer(e)}elementCountTextureBuffer(e){let t=e.get(`position`);return t.data.length/3+(this._isClosed(t.data.length/t.stride)?3:2)}elementCount(e){let t=e.get(`position`),n=t.indices.length/2+1;return De(n,this._isClosed(t.data.length/t.stride),this._parameters)}rebaseBuffers(e,t,n,r){if(r?.buffer.copyFrom(e.storage,0,r.offset),t!=null){let r=n.from,i=e.vertex.getField(`ribbonLineVertexInfo`,ce),a=t.buffer.getField(`ribbonLineVertexInfo`,ce),o=he.getField(0);for(let e=0;e<i.count;e++){let n=i.get(e),s=o.get(n)+r;a.set(t.offset+e,n===0?0:o.set(n,s))}}}write(e,t,n,r,i,a){a!=null&&this._writeTextureBuffer(e,n,a),r!=null&&this._writeVertexBuffer(n,r,i)}_writeTextureBuffer(e,t,n){let r=Se(t.get(`position`),3),i=t.get(`timeStamps`);i!=null&&n.buffer.layout.fields.has(`timeStamps`)&&O(i.size===4),Oe({position:r,color:t.get(`color`)?.data,size:t.get(`size`)?.data,colorFeature:t.get(`colorFeatureAttribute`)?.data,sizeFeature:t.get(`sizeFeatureAttribute`)?.data,opacityFeature:t.get(`opacityFeatureAttribute`)?.data,distancesToStart:t.get(`distanceToStart`)?.data,timeStamps:i?.data,olidColor:t.get(`olidColor`)?.data},this._isClosed(r.count),n,e)}_writeVertexBuffer(e,t,n){let r=e.get(`position`),i=r.indices,a=r.data.length/3,o=this._isClosed(r.data.length/r.stride),s=a+(o?3:2);i&&i.length!==2*(a-1)&&console.warn(`RibbonLineMaterial does not support indices`),O(n!=null,`Using a texture layout, but the texture range for this instance was not provided`);let c=n.from;O(n.numElements===s,`Expected number of elements in TextureBuffer to equal number of points`),ke(a,o,this._parameters,t,c)}}function M(e,t,n,r){return r?e/(2*n)+Q*t:(e/2+Q)*t}function*Be(e,t,n,r,i){let a=r?n.count:n.count-1,c=i?.[0]??0,l=i?.[1]??0;s(e,n.get(0,0)+c,n.get(0,1)+l);for(let r=1;r<=a;r++){let i=r%n.count;s(t,n.get(i,0)+c,n.get(i,1)+l),yield r,o(e,t)}}function Ve(e){return e.anchor===1&&e.hideOnShortSegments&&e.placement===`begin-end`&&e.worldSpace}const He=new be,N=x(),P=x(),F=c(),I=c(),L=x(),Ue=x(),R=x(),z=x(),B=x(),V=x(),H=n(),U=n(),We=r(),Ge=r(),Ke=x(),qe=x(),Je=x(),W=ae(),G=ae(),K=[n(),n(),n(),n()],q=[x(),x(),x(),x()],J=T(),Y=T(),X=T(),Z=T(),Q=4,Ye={getDrapedRibbonLineMaxDistance:M},$=[x(),x()];export{Re as Parameters,Ie as RibbonLineMaterial,Ye as test};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{transformMat4 as e,distance as t,copy as n}from"../../../../../core/libs/gl-matrix-2/math/vec3.js";import{create as r}from"../../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{BufferViewVec3f as i,BufferViewFloat as a,BufferViewVec4Unorm8 as o,BufferViewVec4u8 as s,BufferViewVec4f16 as c,BufferViewUint32 as l}from"../../../../../geometry/support/buffer/BufferView.js";import{olidEnabled as u}from"../../effects/geometry/olidUtils.js";import{encodeRibbonLineVertexInfo as d}from"../../lib/RibbonLineVertexInfo.js";import{assert as f}from"../../lib/Util.js";import{createVerticesView as p}from"../../lib/VerticesView.js";import{n as m}from"../../../../../chunks/RibbonLine.glsl.js";function h(e,t){return(e===`round`?m:0)+ +!!t}function g(e,t){return e.isClosed&&t>2}function _(e,t,n){let r=t?e:e-2,i=h(n.join,n.stipplePattern!=null),a=(t?2:4)+r*(i*2+4)+2;return n.wireframe?2+(a-2)*4:a}function v(e,t,n,r,i){let{buffer:a,offset:o}=r,s=a.getField(`ribbonLineVertexInfo`,l).typedBuffer,c=h(n.join,n.stipplePattern!=null),u=o+1,f=(e,t,n)=>{s[u++]=d(i+n+1,t,e)};t||(f(1,7,0),f(1,5,0));let p=t?e:e-1;for(let e=+!t;e<p;e++){f(0,2,e),f(0,0,e);for(let t=0;t<c;t++){let n=(t+1)/(c+1);f(n,2,e),f(n,0,e)}f(1,6,e),f(1,4,e)}f(0,t?2:3,p),f(0,+!t,p),s[o]=s[o+1],s[u]=s[u-1],u++,n.wireframe&&y(s,o,u)}function y(e,t,n){let r=n;for(let i=t;i<=n-4;i+=2)e[r++]=e[i],e[r++]=e[i+2],e[r++]=e[i+1],e[r++]=e[i+2],e[r++]=e[i+1],e[r++]=e[i+3]}function b(r,l,d,p){let m=r.position,{buffer:h,offset:g}=d,_=h.getField(`position`,i);f(_!=null,`Expected valid position field in texture buffer`);let v=h.getField(`u0`,a),y=r.distancesToStart,b=h.getField(`color`,o),S=h.getField(`size`,a),C=h.getField(`colorFeatureAttribute`,a),w=h.getField(`sizeFeatureAttribute`,a),
|
|
2
|
+
import{transformMat4 as e,distance as t,copy as n}from"../../../../../core/libs/gl-matrix-2/math/vec3.js";import{create as r}from"../../../../../core/libs/gl-matrix-2/factories/vec3f64.js";import{BufferViewVec3f as i,BufferViewFloat as a,BufferViewVec4Unorm8 as o,BufferViewVec4u8 as s,BufferViewVec4f16 as c,BufferViewUint32 as l}from"../../../../../geometry/support/buffer/BufferView.js";import{olidEnabled as u}from"../../effects/geometry/olidUtils.js";import{encodeRibbonLineVertexInfo as d}from"../../lib/RibbonLineVertexInfo.js";import{assert as f}from"../../lib/Util.js";import{createVerticesView as p}from"../../lib/VerticesView.js";import{n as m}from"../../../../../chunks/RibbonLine.glsl.js";function h(e,t){return(e===`round`?m:0)+ +!!t}function g(e,t){return e.isClosed&&t>2}function _(e,t,n){let r=t?e:e-2,i=h(n.join,n.stipplePattern!=null),a=(t?2:4)+r*(i*2+4)+2;return n.wireframe?2+(a-2)*4:a}function v(e,t,n,r,i){let{buffer:a,offset:o}=r,s=a.getField(`ribbonLineVertexInfo`,l).typedBuffer,c=h(n.join,n.stipplePattern!=null),u=o+1,f=(e,t,n)=>{s[u++]=d(i+n+1,t,e)};t||(f(1,7,0),f(1,5,0));let p=t?e:e-1;for(let e=+!t;e<p;e++){f(0,2,e),f(0,0,e);for(let t=0;t<c;t++){let n=(t+1)/(c+1);f(n,2,e),f(n,0,e)}f(1,6,e),f(1,4,e)}f(0,t?2:3,p),f(0,+!t,p),s[o]=s[o+1],s[u]=s[u-1],u++,n.wireframe&&y(s,o,u)}function y(e,t,n){let r=n;for(let i=t;i<=n-4;i+=2)e[r++]=e[i],e[r++]=e[i+2],e[r++]=e[i+1],e[r++]=e[i+2],e[r++]=e[i+1],e[r++]=e[i+3]}function b(r,l,d,p){let m=r.position,{buffer:h,offset:g}=d,_=h.getField(`position`,i);f(_!=null,`Expected valid position field in texture buffer`);let v=h.getField(`u0`,a),y=r.distancesToStart,b=h.getField(`color`,o),S=h.getField(`size`,a),C=h.getField(`colorFeatureAttribute`,a),w=h.getField(`sizeFeatureAttribute`,a),T=h.getField(`opacityFeatureAttribute`,a),A=u()?h.getField(`olidColor`,o):null,j=A==null?null:new s(A.buffer,A.start,A.stride),M=h.getField(`timeStamps`,c),N=0;for(let i=0;i<m.count;i++){m.getVec(i,O),p!=null&&e(O,O,p),v!=null&&i>0&&(y==null?N+=t(k,O):N=y[i]??N);let a=g+i+1;if(_.setVec(a,O),v!=null&&(v.set(a,N),n(k,O)),S?.set(a,E(r.size,i,1)),b!=null){let e=r.color??D,t=Math.min(i*4,e.length-4);b.setValues(a,e[t],e[t+1],e[t+2],e[t+3])}if(C?.set(a,E(r.colorFeature,i)),T?.set(a,E(r.opacityFeature,i)),w?.set(a,E(r.sizeFeature,i)),M!=null&&r.timeStamps!=null&&M.setValues(a,r.timeStamps[i*4],r.timeStamps[i*4+1],r.timeStamps[i*4+2],r.timeStamps[i*4+3]),j!=null&&r.olidColor!=null){let e=Math.min(i*4,r.olidColor.length-4);j.setValues(a,r.olidColor[e],r.olidColor[e+1],r.olidColor[e+2],r.olidColor[e+3])}}x(h,m.count,l,g),l&&v!=null&&(m.getVec(0,O),p!=null&&e(O,O,p),v.set(g+m.count+1,y?.[m.count]??N+t(k,O)))}function x(e,t,n,r=0){let i=r+1,a=r+t;n?(e.copyItem(a,r),e.copyItem(i,a+1),e.copyItem(i+1,a+2)):(e.copyItem(i,r),e.copyItem(a,a+1))}function S(e,t){let n=C(e.count,t);return e.slice(1,n)}function C(e,t){return e-(t&&e>4?3:2)}function w(e,t){if(e.type===1)return S(e.buffers.storage.getField(`position`,i),t);let n=e.attributes.get(`position`);return p(n,3)}function T(e,r){let o=e.buffers.storage,s=o.getField(`u0`,a);if(s==null)return;let c=S(o.getField(`position`,i),r),l=0;for(let e=0;e<c.count;e++)c.getVec(e,O),e>0&&(l+=t(k,O)),s.set(e+1,l),n(k,O);r&&c.count>2?(c.getVec(0,O),s.set(0,l),s.set(c.count+1,l+t(k,O)),s.set(c.count+2,s.get(2))):(s.set(0,0),s.set(c.count+1,l))}function E(e,t,n=0){return typeof e==`number`?e:e?.[e.length===1?0:t]??n}const D=[1,1,1,1],O=r(),k=r();export{x as fillRibbonLinePadding,h as getNumJoinSubdivisions,S as getRibbonLineBufferPositions,w as getRibbonLinePositions,C as getUnpaddedRibbonLinePositionCount,g as isClosed,_ as ribbonLineVertexCount,T as updateRibbonLineDistances,b as writeRibbonLineTextureBuffer,v as writeRibbonLineVertices};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{__decorate as e}from"tslib";import{parameter as t}from"../core/shaderTechnique/ShaderTechniqueConfiguration.js";import{TriangleTechniqueConfiguration as n}from"../materials/TriangleTechniqueConfiguration.js";class r extends n{constructor(e){super(),this.spherical=e,this.cullFace=0,this.emissionSource=0,this.shading=0,this.hasVertexColors=!1,this.writeDepth=!0,this.hasOccludees=!1,this.hasVVColor=!1,this.draped=!1,this.receiveShadows=!1,this.hasShadowHighlights=!1,this.receiveAmbientOcclusion=!1,this.receiveGlobalIllumination=!1,this.screenSizeEnabled=!1,this.pbrMode=0,this.hasColorTexture=!1,this.useFillLights=!1,this.useCustomDTRExponentForWater=!1,this.textureCoordinateType=0,this.normalType=1,this.olidColorInstanced=!1,this.hasVVInstancing=!1,this.hasVVSize=!1,this.hasVVOpacity=!1,this.
|
|
2
|
+
import{__decorate as e}from"tslib";import{parameter as t}from"../core/shaderTechnique/ShaderTechniqueConfiguration.js";import{TriangleTechniqueConfiguration as n}from"../materials/TriangleTechniqueConfiguration.js";class r extends n{constructor(e){super(),this.spherical=e,this.cullFace=0,this.emissionSource=0,this.shading=0,this.hasVertexColors=!1,this.writeDepth=!0,this.hasOccludees=!1,this.hasVVColor=!1,this.draped=!1,this.receiveShadows=!1,this.hasShadowHighlights=!1,this.receiveAmbientOcclusion=!1,this.receiveGlobalIllumination=!1,this.screenSizeEnabled=!1,this.snowCover=!1,this.pbrMode=0,this.hasColorTexture=!1,this.useFillLights=!1,this.useCustomDTRExponentForWater=!1,this.textureCoordinateType=0,this.normalType=1,this.olidColorInstanced=!1,this.hasVVInstancing=!1,this.hasVVSize=!1,this.hasVVOpacity=!1,this.renderOccluded=!1}}e([t({count:3})],r.prototype,`cullFace`,void 0),e([t({count:8})],r.prototype,`emissionSource`,void 0),e([t({count:3})],r.prototype,`shading`,void 0),e([t()],r.prototype,`hasVertexColors`,void 0),e([t()],r.prototype,`writeDepth`,void 0),e([t()],r.prototype,`hasOccludees`,void 0),e([t()],r.prototype,`hasVVColor`,void 0),e([t()],r.prototype,`draped`,void 0),e([t()],r.prototype,`receiveShadows`,void 0),e([t()],r.prototype,`hasShadowHighlights`,void 0),e([t()],r.prototype,`receiveAmbientOcclusion`,void 0),e([t()],r.prototype,`receiveGlobalIllumination`,void 0),e([t()],r.prototype,`screenSizeEnabled`,void 0),e([t()],r.prototype,`snowCover`,void 0);export{r as ColorMaterialTechniqueConfiguration};
|