@needle-tools/engine 4.13.0-next.266306a → 4.13.0-next.2d429c0

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.
@@ -1,7 +1,7 @@
1
1
  import { Vector2 as ee, Vector3 as y, Vector4 as me, Quaternion as V, PlaneGeometry as Sn, WebGLRenderer as Lr, PerspectiveCamera as ce, OrthographicCamera as au, Scene as Mi, Mesh as H, Texture as Fe, Uniform$1 as Gi, Color as re, ShaderMaterial as Xn, Box3 as Pi, ShadowMaterial as t0, Euler as lt, MeshStandardMaterial as pt, Box3Helper as Xx, GridHelper as i0, Object3D as M, Material as be, Matrix3 as n0, Matrix4 as J, Layers as wo, Ray as Es, MathUtils as Ps, AxesHelper as Oi, MeshBasicMaterial as we, DoubleSide as Ri, BufferGeometry as _n, Group as Os, CylinderGeometry as s0, SphereGeometry as lu, BoxGeometry as La, SpriteMaterial as Qx, Sprite as Yx, Shape as Kx, ExtrudeGeometry as Zx, Fog as o0, DirectionalLight as Fp, PointLight as Hm, TextureLoader as Sr, EdgesGeometry as Jx, LineSegments as r0, LineBasicMaterial as Gm, Line as Da, BufferAttribute as mt, Raycaster as cu, Sphere as hu, ArrayCamera as eS, Plane as Cr, SkinnedMesh as mo, InterleavedBufferAttribute as a0, Skeleton as tS, Bone as iS, WebGLCubeRenderTarget as nS, CubeCamera as sS, AnimationClip as ki, FileLoader as qm, PropertyBinding as ja, KeyframeTrack as oS, LinearSRGBColorSpace as Ts, ShaderChunk as Zt, UniformsLib as rS, DataTexture as Xm, RGBAFormat as du, EquirectangularReflectionMapping as Hn, SRGBColorSpace as As, Clock as aS, NeutralToneMapping as Ba, AgXToneMapping as uu, ACESFilmicToneMapping as fu, NoToneMapping as Cd, PCFSoftShadowMap$1 as lS, BasicNodeLibrary as cS, WebGLRenderTarget as Qn, DepthTexture as l0, NearestFilter as Pd, LoopRepeat as hS, LoopOnce as Up, AnimationMixer as Qm, CompressedTexture as dS, FrontSide as xo, Camera as uS, Frustum as Iy, AudioListener as fS, PositionalAudio as pS, AudioLoader as zp, EventDispatcher as Ym, BackSide as pu, MeshDepthMaterial as mS, CustomBlending as gS, MaxEquation as yS, AlwaysStencilFunc as _S, GreaterEqualStencilFunc as bS, NotEqualStencilFunc as vS, GreaterStencilFunc as wS, LessEqualStencilFunc as xS, EqualStencilFunc as SS, LessStencilFunc as CS, NeverStencilFunc as Ly, InvertStencilOp as PS, DecrementWrapStencilOp as OS, IncrementWrapStencilOp as kS, DecrementStencilOp as MS, IncrementStencilOp as RS, ReplaceStencilOp as ES, ZeroStencilOp as TS, KeepStencilOp as AS, CubeTexture as c0, AmbientLight as IS, HemisphereLight as LS, Loader as DS, RawShaderMaterial as h0, GLSL3 as jS, AlwaysDepth as BS, GreaterEqualDepth as FS, GreaterDepth as US, LessEqualDepth as zS, LessDepth as NS, NotEqualDepth as $S, EqualDepth as WS, BatchedMesh as Dy, MeshPhysicalMaterial as Np, LinearFilter as Od, UnsignedByteType as VS, RingGeometry as HS, Line3 as GS, AdditiveBlending as d0, BoxHelper as qS, SpotLight as XS, DirectionalLightHelper as QS, CameraHelper as YS, LOD as KS, Triangle as ZS, NormalBlending as JS, ReinhardToneMapping as Km, LinearToneMapping as Zm, HalfFloatType as Sf, VideoTexture as eC, CubeUVReflectionMapping as u0, CompressedCubeTexture as tC, EquirectangularRefractionMapping as iC, CatmullRomCurve3 as nC, VectorKeyframeTrack as sC, QuaternionKeyframeTrack as oC, Audio as rC, ShaderLib as kd, UniformsUtils as f0, MirroredRepeatWrapping as jy, MeshNormalMaterial as aC, AudioContext as lC, PMREMGenerator$1 as cC } from "./three-VvRoMeIN.js";
2
2
  import { createLoaders as Jm, getRaycastMesh as p0, LODsManager as Xo, NEEDLE_progressive as We, addDracoAndKTX2Loaders as hC, configureLoader as dC, setKTX2TranscoderLocation as uC, setDracoDecoderLocation as fC } from "./gltf-progressive-eiJCrjLb.js";
3
3
  import { GroundedSkybox as Fa, Font as pC, TextGeometry as mC, FontLoader as gC, GLTFLoader as Is, TransformControlsGizmo as m0, EXRLoader as eg, RGBELoader as g0, Stats as yC, nodeFrame as By, OrbitControls as y0, PositionalAudioHelper as _C, HorizontalBlurShader as bC, VerticalBlurShader as vC, GLTFExporter as _0, strToU8 as b0, zipSync as wC, XRControllerModelFactory as xC, XRHandMeshModel as SC, Line2 as CC, LineGeometry as PC, LineMaterial as OC, TransformControls as kC, InteractiveGroup as MC, HTMLMesh as RC, VertexNormalsHelper as EC, OBJLoader as tg, FBXLoader as v0, mergeVertices as TC } from "./three-examples-BhfOE7NG.js";
4
- import { fetchProfile as AC, MotionController as IC, $70d766613f57b014$export$2e2bcd8739ae039 as Fy, ByteBuffer as LC, v5 as Uy, md5 as zy, SIZE_PREFIX_LENGTH as w0, Builder as ig, createNoise4D as DC, Matrix4 as Cf, BatchedParticleRenderer as jC, ParticleSystem as BC, RenderMode as gs, ConstantColor as FC, Vector4 as UC, ConstantValue as zC, TrailParticle as Ny, WorkerBase as NC, MeshBVH as $C } from "./vendor-DkOlNbVJ.js";
4
+ import { fetchProfile as AC, MotionController as IC, $70d766613f57b014$export$2e2bcd8739ae039 as Fy, ByteBuffer as LC, v5 as Uy, md5 as zy, SIZE_PREFIX_LENGTH as w0, Builder as ig, createNoise4D as DC, Matrix4 as Cf, BatchedParticleRenderer as jC, ParticleSystem as BC, RenderMode as gs, ConstantColor as FC, Vector4 as UC, ConstantValue as zC, TrailParticle as Ny, WorkerBase as NC, MeshBVH as $C } from "./vendor-BiyIZ61v.js";
5
5
  import { __webpack_exports__default as Ce, __webpack_exports__Text as x0, __webpack_exports__Block as S0, __webpack_exports__update as WC, SimpleStateBehavior as VC, __webpack_exports__Inline as Pf, __webpack_exports__FontLibrary as $y, ThreeMeshUI as Wy } from "./three-mesh-ui-CcMp-FQm.js";
6
6
  import { EffectAttribute as HC } from "./postprocessing-DdM-tz1j.js";
7
7
  const Of = /* @__PURE__ */ new Map();
@@ -1917,9 +1917,9 @@ Oo('if(!globalThis["NEEDLE_PROJECT_BUILD_TIME"]) globalThis["NEEDLE_PROJECT_BUIL
1917
1917
  Oo('if(!globalThis["NEEDLE_PUBLIC_KEY"]) globalThis["NEEDLE_PUBLIC_KEY"] = "unknown";');
1918
1918
  Oo('globalThis["__NEEDLE_ENGINE_VERSION__"] = "4.13.0";');
1919
1919
  Oo('globalThis["__NEEDLE_ENGINE_GENERATOR__"] = "undefined";');
1920
- Oo('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "Tue Feb 10 2026 13:10:59 GMT+0000 (Coordinated Universal Time)";');
1920
+ Oo('globalThis["__NEEDLE_PROJECT_BUILD_TIME__"] = "Tue Feb 10 2026 16:28:20 GMT+0000 (Coordinated Universal Time)";');
1921
1921
  Oo('globalThis["__NEEDLE_PUBLIC_KEY__"] = "' + NEEDLE_PUBLIC_KEY + '";');
1922
- const Xi = "4.13.0", Rc = "undefined", Ad = "Tue Feb 10 2026 13:10:59 GMT+0000 (Coordinated Universal Time)";
1922
+ const Xi = "4.13.0", Rc = "undefined", Ad = "Tue Feb 10 2026 16:28:20 GMT+0000 (Coordinated Universal Time)";
1923
1923
  G0 && console.log(`Engine version: ${Xi} (generator: ${Rc})
1924
1924
  Project built at ${Ad}`);
1925
1925
  const ur = NEEDLE_PUBLIC_KEY, yo = "needle_isActiveInHierarchy", ca = "builtin_components", rd = "needle_editor_guid";
@@ -3665,7 +3665,7 @@ function OP(s, e) {
3665
3665
  }, s ? new Fy(s, e) : new Fy(e);
3666
3666
  }
3667
3667
  async function p_() {
3668
- const s = await import("./vendor-DkOlNbVJ.js").then((e) => e.bundler);
3668
+ const s = await import("./vendor-BiyIZ61v.js").then((e) => e.bundler);
3669
3669
  return console.log(s), s.default === void 0 ? s : s.default;
3670
3670
  }
3671
3671
  class kP {
@@ -4078,7 +4078,7 @@ class AP {
4078
4078
  }
4079
4079
  console.debug(`Connecting to networking backend on
4080
4080
  ` + Bi);
4081
- const o = await import("./vendor-DkOlNbVJ.js").then((c) => c.index), r = o.default?.WebsocketBuilder ?? o.WebsocketBuilder, a = o.default?.ExponentialBackoff ?? o.ExponentialBackoff, l = new r(Bi).withMaxRetries(10).withBackoff(new a(2e3, 4)).onOpen(() => {
4081
+ const o = await import("./vendor-BiyIZ61v.js").then((c) => c.index), r = o.default?.WebsocketBuilder ?? o.WebsocketBuilder, a = o.default?.ExponentialBackoff ?? o.ExponentialBackoff, l = new r(Bi).withMaxRetries(10).withBackoff(new a(2e3, 4)).onOpen(() => {
4082
4082
  this._connectingToWebsocketPromise = null, this._ws = l, this.connected = !0, L() || yi ? console.log(`Connected to networking backend
4083
4083
  ` + Bi) : console.debug("Connected to networking backend", Bi), n(!0), this.onSendQueued(Bn.OnConnection);
4084
4084
  }).onClose((c) => {
@@ -6391,7 +6391,7 @@ var Id;
6391
6391
  s.runMeshBVHRaycast = t;
6392
6392
  let i = !1, n = null, o = null, r = null, a = null;
6393
6393
  function l() {
6394
- i || (i = !0, import("./vendor-DkOlNbVJ.js").then((b) => b.index$1).then((b) => {
6394
+ i || (i = !0, import("./vendor-BiyIZ61v.js").then((b) => b.index$1).then((b) => {
6395
6395
  n = b.acceleratedRaycast, o = b.MeshBVH, r = b.StaticGeometryGenerator, a = b.computeBoundsTree;
6396
6396
  }).catch((b) => {
6397
6397
  (Yt || L()) && console.error("Failed to load BVH library...", b.message);
@@ -15208,7 +15208,7 @@ var T;
15208
15208
  e.ready = i;
15209
15209
  async function n() {
15210
15210
  if (e.MODULE) return e.MODULE;
15211
- const o = await import("./vendor-DkOlNbVJ.js").then((r) => r.index$2);
15211
+ const o = await import("./materialx-DUlX6ZVi.js");
15212
15212
  return e.MODULE = o, e.MAYBEMODULE = o, t.forEach((r) => r(o)), t.length = 0, o;
15213
15213
  }
15214
15214
  e.load = n;
@@ -20724,6 +20724,7 @@ function bR(s, e, t) {
20724
20724
  case "model/fbx":
20725
20725
  case "model/vnd.autodesk.fbx":
20726
20726
  case "model/obj":
20727
+ case "application/materialx+xml":
20727
20728
  return o;
20728
20729
  }
20729
20730
  }
@@ -20749,7 +20750,7 @@ function bR(s, e, t) {
20749
20750
 
20750
20751
  Consider registering a custom loader via the 'onCreateCustomModelLoader' callback: 'NeedleEngineModelLoader.onCreateCustomModelLoader(args => { })'
20751
20752
 
20752
- Content-Type: "${t.headers.get("content-type")}
20753
+ Content-Type: "${t.headers.get("content-type")}"
20753
20754
  "Text: "${o}"
20754
20755
  Binary:`, i);
20755
20756
  } else
@@ -21637,7 +21638,7 @@ function cw(s) {
21637
21638
  }
21638
21639
  const DR = x("debugextensions");
21639
21640
  let Qd;
21640
- const jR = import("./vendor-DkOlNbVJ.js").then((s) => s.index$3).then(async (s) => (Qd = s.GLTFAnimationPointerExtension, Qd)).catch((s) => {
21641
+ const jR = import("./vendor-BiyIZ61v.js").then((s) => s.index$2).then(async (s) => (Qd = s.GLTFAnimationPointerExtension, Qd)).catch((s) => {
21641
21642
  console.warn("Failed to import GLTFLoaderAnimationPointer. Please use @needle-tools/three-animationpointer for full KHR_animation support", s);
21642
21643
  }), kr = new Array();
21643
21644
  function YD(s) {