mirror of
https://gitee.com/ice-gl/icegl-three-vue-tres.git
synced 2025-04-05 06:22:43 +08:00
2 lines
5.0 KiB
JavaScript
2 lines
5.0 KiB
JavaScript
import{a9 as t,C as n}from"./three.a9V66irq1725721021019.js";import{d as e,x as s}from"./@tresjs.bIWdfO9a1725721021019.js";import{b as o}from"./index.HwcLpeBY1725721021019.js";import{P as r}from"./tweakpane.yHWGBmom1725721021019.js";import{_ as a}from"./accumulativeShadowsCom.vue_vue_type_script_setup_true_lang.dU05LERf1725721021019.js";import{d as i,r as c,Y as u,a2 as p,o as l,f as m,g as f,j as h,aj as d,ak as g,u as b,al as j,m as w,L as x}from"./@vue._6MD2XyK1725721021019.js";import"./@vueuse.Ex-1AOlz1725721021019.js";import"./three-stdlib.-DW5PGsS1725721021019.js";import"./@pmndrs._LoKiQ331725721021019.js";import"./object-hash.xtAmzdrT1725721021019.js";import"./@amap.9EMhYPgf1725721021019.js";import"./jszip.NwxLGTBs1725721021019.js";const y=_;function _(t,n){const e=R();return(_=function(t,n){return e[t-=365]})(t,n)}!function(t,n){const e=_,s=R();for(;;)try{if(937432===-parseInt(e(396))/1*(-parseInt(e(426))/2)+-parseInt(e(428))/3+parseInt(e(427))/4+parseInt(e(370))/5*(parseInt(e(424))/6)+parseInt(e(407))/7*(-parseInt(e(366))/8)+parseInt(e(387))/9*(-parseInt(e(372))/10)+-parseInt(e(425))/11*(-parseInt(e(384))/12))break;s.push(s.shift())}catch(o){s.push(s.shift())}}();const v=function(){let t=!0;return function(n,e){const s=t?function(){if(e){const t=e[_(365)](n,arguments);return e=null,t}}:function(){};return t=!1,s}}();!function(){v(this,(function(){const t=_,n=new RegExp(t(422)),e=new RegExp(t(381),"i"),s=W(t(416));n[t(410)](s+t(397))&&e[t(410)](s+t(395))?W():s("0")}))()}();const I=function(){let t=!0;return function(n,e){const s=t?function(){if(e){const t=e[_(365)](n,arguments);return e=null,t}}:function(){};return t=!1,s}}();I(void 0,(function(){const t=_;let n;try{n=Function(t(400)+t(405)+");")()}catch(o){n=window}const e=n[t(421)]=n[t(421)]||{},s=[t(373),"warn","info",t(389),t(399),t(417),t(431)];for(let r=0;r<s[t(392)];r++){const n=I.constructor[t(374)][t(408)](I),o=s[r],a=e[o]||n;n.__proto__=I[t(408)](I),n[t(379)]=a.toString[t(408)](a),e[o]=n}}))();const T=x(y(404),{position:[2,3,4],fov:45,near:1,far:1e3},null,-1),M=x(y(430),{intensity:.5},null,-1),C=x(y(385),{position:[2,.5,-1.5],"receive-shadow":"","cast-shadow":"",name:y(394)},[x("TresSphereGeometry",{args:[.5]}),x(y(367),{color:16724991,roughness:0,metalness:1})],-1),S=x("TresMesh",{position:[-1.5,.5,1.5],"receive-shadow":"","cast-shadow":"",name:y(403)},[x(y(414),{args:[.5,.5,1]}),x("TresMeshStandardMaterial",{color:3407871,roughness:0,metalness:0})],-1),k=x(y(385),{position:[0,.9,0],"receive-shadow":"","cast-shadow":"",name:y(420)},[x(y(412),{args:[.5,.2,80,64]}),x(y(367),{color:16777011,roughness:.3,metalness:.5})],-1),z=i({__name:y(398),setup(i){const x=y,v=c({alpha:!0,shadows:!0,shadowMap:!0,toneMapping:t}),I=c({enableDamping:!0,autoRotate:!1}),z=u();p((()=>{const t=_;if(z[t(369)]){z.value[t(402)][t(371)][t(369)][t(418)]=new n(t(378))}}));const R=c({opacity:.8,alphaTest:.9,color:"#000000",blend:2,lightPosition:{x:3,y:5,z:3},frames:60,blendWindow:100,ambient:.5}),W=new r({title:"参数"});return W[x(380)](R,x(386),{label:"透明度",min:0,max:1,step:.1}),W[x(380)](R,"alphaTest",{label:x(376),min:0,max:1,step:.1}),W[x(380)](R,x(368),{label:"颜色"}),W[x(380)](R,x(390),{label:"颜色混合",min:0,max:3,step:.1}),W[x(380)](R,"lightPosition",{label:"光源位置",x:{min:-5,max:5},y:{min:1,max:5},z:{min:-5,max:5}}),W[x(380)](R,"frames",{label:"渲染帧数",min:1,max:100,step:1}),W[x(380)](R,x(413),{label:x(390),min:1,max:100,step:1}),W[x(380)](R,"ambient",{label:x(391),min:0,max:1,step:.1}),(t,n)=>{const r=x;return l(),m(b(s),w(v,{ref_key:r(383),ref:z,"window-size":""}),{default:f((()=>[T,h(b(e),d(g(I)),null,16),M,C,S,k,h(a,d(g(R)),null,16),(l(),m(j,null,{default:f((()=>[h(b(o),{files:[r(375),r(393),r(406),r(419),r(423),r(382)],path:r(377)})])),_:1}))])),_:1},16)}}});function R(){const t=["debu","init","table","background","neg-y.jpg","torus","console","function *\\( *\\)","pos-z.jpg","1693134BWWVUl","33SMKevY","852146tNjUWH","7253244NFnhEh","3127008RplUWD","constructor","TresAmbientLight","trace","apply","423528aZqtau","TresMeshStandardMaterial","color","value","10ncIRev","scene","1651050EhCVdx","log","prototype","pos-x.jpg","透明检测","https://opensource-1314935952.cos.ap-nanjing.myqcloud.com/images/skyBox/6jpg/","grey","toString","addBinding","\\+\\+ *(?:[a-zA-Z_$][0-9a-zA-Z_$]*)","neg-z.jpg","tcRef","107196NiKnok","TresMesh","opacity","9OVXBmi","action","error","blend","ambient","length","neg-x.jpg","sphere","input","2wdCuGT","chain","accumulativeShadows","exception","return (function() ","gger","context","cube","TresPerspectiveCamera",'{}.constructor("return this")( )',"pos-y.jpg","147CClMSC","bind","string","test","call","TresTorusKnotGeometry","blendWindow","TresCylinderGeometry"];return(R=function(){return t})()}function W(t){function n(t){const e=_;if(typeof t===e(409))return function(t){}.constructor("while (true) {}")[e(365)]("counter");1!==(""+t/t).length||t%20==0?function(){return!0}.constructor(e(415)+e(401))[e(411)](e(388)):function(){return!1}[e(429)]("debugger")[e(365)]("stateObject"),n(++t)}try{if(t)return n;n(0)}catch(e){}}export{z as default};
|