Expert

needle-tools/needle-tiny: SeeThrough Component, USDZ Upgrades & Raycast Control

(view changes)
Episode created today Duration: 2:00
2:00

In the third week of October 2025, development on the needle-engine repository focused heavily on enhancing the USDZ export pipeline and introducing powerful new components for interactive scenes. Marcel Wiessler led a significant refactoring of the USDZ exporter, introducing a new serializable `USDMaterial` class and overhauling the material building process for better organization and functionality. The core raycasting system also received an important upgrade with new `raycastAllowed` and `raycastPreference` properties on `Object3D`, providing developers with granular control over object intersection behavior, which is now respected by the physics system. A notable addition is the new `SeeThrough` component, which dynamically fades out objects that occlude a target from the camera, a useful feature for architectural visualizations. For user interaction, the `CursorFollow` component was enhanced with a `snapToSurface` option for snapping objects to surfaces below the cursor. Several existing components were polished: `SplineWalker` gained a `pullStrength` property and a fix for scroll interruption, `OrbitControls` can now constrain camera movement using `targetBounds`, and `ScrollFollow` was optimized to prevent unwanted interpolation. On the build system front, an experimental Vite plugin was introduced to encapsulate entire websites into a single `needle-app.js` web component, and the default build timeout was increased to 60 seconds and made user-configurable. Finally, various fixes addressed issues in WebXR raycasting, `RendererLightmap` for multi-material objects, and UI color calculations for `Button` states inside a `CanvasGroup`. These changes are reflected in version bumps up to 4.11.1.

web development3d webwebglthreejswebxrreal-time 3dneedleneedle engineneedle-tools/needle-tinyviteweb componentsusdzexportraycastingphysicscomponentsseethroughocclusioncamera controlsorbitcontrolsuser interactionbuild systemv4.11.1

© 2025 Needle Tools GmbH. All rights reserved.