@needle-tools/engine 4.8.8-next.857d744 → 4.8.8-next.937fc15
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/CHANGELOG.md +4 -5
- package/README.md +31 -23
- package/dist/{needle-engine.bundle-C0MpXHGe.min.js → needle-engine.bundle--r19rtjt.min.js} +82 -82
- package/dist/{needle-engine.bundle-gnU2UVys.umd.cjs → needle-engine.bundle-CAvlLwYK.umd.cjs} +104 -104
- package/dist/{needle-engine.bundle-BATGweff.js → needle-engine.bundle-Dao6Iztd.js} +690 -692
- package/dist/needle-engine.js +2 -2
- package/dist/needle-engine.min.js +1 -1
- package/dist/needle-engine.umd.cjs +1 -1
- package/lib/engine/engine_camera.js +3 -3
- package/lib/engine/engine_camera.js.map +1 -1
- package/lib/engine/engine_context.d.ts +1 -1
- package/lib/engine/engine_context.js +1 -1
- package/lib/engine/engine_context.js.map +1 -1
- package/lib/engine/engine_loaders.callbacks.d.ts +1 -0
- package/lib/engine/engine_loaders.callbacks.js +1 -0
- package/lib/engine/engine_loaders.callbacks.js.map +1 -1
- package/lib/engine/webcomponents/needle-engine.d.ts +2 -2
- package/lib/engine/webcomponents/needle-engine.js +11 -18
- package/lib/engine/webcomponents/needle-engine.js.map +1 -1
- package/lib/engine-components/Camera.d.ts +2 -0
- package/lib/engine-components/Camera.js +5 -1
- package/lib/engine-components/Camera.js.map +1 -1
- package/lib/engine-components/DropListener.d.ts +4 -3
- package/lib/engine-components/DropListener.js +4 -3
- package/lib/engine-components/DropListener.js.map +1 -1
- package/lib/engine-components/OrbitControls.d.ts +29 -6
- package/lib/engine-components/OrbitControls.js +41 -3
- package/lib/engine-components/OrbitControls.js.map +1 -1
- package/lib/engine-components/Skybox.js +8 -9
- package/lib/engine-components/Skybox.js.map +1 -1
- package/lib/engine-components/api.d.ts +1 -0
- package/lib/engine-components/api.js.map +1 -1
- package/lib/engine-components/export/usdz/USDZExporter.d.ts +1 -1
- package/lib/engine-components/export/usdz/USDZExporter.js +1 -1
- package/lib/engine-components/export/usdz/USDZExporter.js.map +1 -1
- package/lib/engine-components/webxr/WebXRImageTracking.js.map +1 -1
- package/package.json +1 -1
- package/plugins/common/files.js +6 -3
- package/plugins/vite/editor-connection.js +4 -4
- package/src/engine/engine_camera.ts +4 -4
- package/src/engine/engine_context.ts +1 -1
- package/src/engine/engine_loaders.callbacks.ts +1 -0
- package/src/engine/webcomponents/needle-engine.ts +10 -17
- package/src/engine-components/Camera.ts +7 -1
- package/src/engine-components/DropListener.ts +4 -3
- package/src/engine-components/OrbitControls.ts +63 -10
- package/src/engine-components/Skybox.ts +9 -10
- package/src/engine-components/api.ts +2 -1
- package/src/engine-components/export/usdz/USDZExporter.ts +1 -1
- package/src/engine-components/webxr/WebXRImageTracking.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -12,11 +12,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
12
12
|
- Change: OrbitControls with locked target constraint is now updating the constraint position when calling e.g. `setTargetPosition`
|
|
13
13
|
- Add: `setCameraFocusRect` method on Needle Context for easier responsive layouting.
|
|
14
14
|
With this you can e.g. overlay the webgl scene with HTML elements and pass in a div element for keeping important elements visible.
|
|
15
|
-
[Example 1 Website](https://responsive-layout-z23hmxb22no6t.needle.run
|
|
16
|
-
[](https://responsive-layout-z23hmxb22no6t.needle.run
|
|
17
|
-
[Example 2 Website](https://responsive-layout-click-example-z23hmxbzuyk6y.needle.run
|
|
18
|
-
[](https://responsive-layout-click-example-z23hmxbzuyk6y.needle.run
|
|
19
|
-
|
|
15
|
+
[Example 1 Website](<https://responsive-layout-z23hmxb22no6t.needle.run/>) | [Code on Stackblitz](<https://stackblitz.com/edit/needle-engine-camera-focus-rect?file=src%2Fsidebar.ts,index.html,src%2Fmain.ts>)
|
|
16
|
+
[](<https://responsive-layout-z23hmxb22no6t.needle.run/>)
|
|
17
|
+
[Example 2 Website](<https://responsive-layout-click-example-z23hmxbzuyk6y.needle.run/>) | [Code on Stackblitz](<https://stackblitz.com/edit/needle-engine-camera-focus-rect-click-to-move?file=index.html,src%2Fmain.ts>)
|
|
18
|
+
[](<https://responsive-layout-click-example-z23hmxbzuyk6y.needle.run/>)
|
|
20
19
|
|
|
21
20
|
## [4.8.7] - 2025-08-27
|
|
22
21
|
- Add: New [@needle-tools/three-animation-pointer](<https://www.npmjs.com/package/@needle-tools/three-animation-pointer>) package
|
package/README.md
CHANGED
|
@@ -1,61 +1,69 @@
|
|
|
1
1
|
# Needle Engine
|
|
2
2
|
|
|
3
|
-
<img src="https://engine.needle.tools/docs/imgs/banner.webp" />
|
|
3
|
+
<!-- <img src="https://engine.needle.tools/docs/imgs/banner.webp" /> -->
|
|
4
4
|
|
|
5
5
|
**[Needle Engine](https://needle.tools)** is a fast web engine for complex and simple 3D applications alike.
|
|
6
|
-
It is flexible, extensible and has built-in support for collaboration and XR! It is built around the **glTF standard** for 3D assets.
|
|
7
|
-
|
|
6
|
+
It is flexible, extensible and has built-in support for collaboration and XR! It is built around the **glTF standard** for 3D assets and is using three.js under the hood - so all your existing knowledge applies.
|
|
8
7
|
|
|
8
|
+
→ 📑 [Documentation](https://docs.needle.tools)
|
|
9
|
+
→ 💎 [Samples](https://samples.needle.tools)
|
|
10
|
+
→ 🏓 [Changelog](https://github.com/needle-tools/needle-engine-support/releases)
|
|
9
11
|
|
|
10
12
|
## Features
|
|
11
|
-
-
|
|
13
|
+
- Components System: Add your custom components with easy
|
|
12
14
|
- WebXR support & iOS Quicklook support for interactive AR
|
|
13
|
-
-
|
|
15
|
+
- Networking is built-in
|
|
14
16
|
- Advanced PBR Rendering
|
|
15
17
|
- Animate Everything
|
|
16
18
|
- Animation Statemachines & Timeline Animations
|
|
17
19
|
- Lightmaps
|
|
18
20
|
- Physics
|
|
19
21
|
- Postprocessing
|
|
20
|
-
-
|
|
21
|
-
- Automatic Texture & Mesh LOD Generation
|
|
22
|
+
- Texture & Mesh LOD Generation
|
|
22
23
|
- Progressive Texture and Mesh Loading
|
|
23
24
|
*Higher resolution assets are loaded on demand*
|
|
24
25
|
- Dynamic Content Loading & Multi-Scene support
|
|
25
26
|
- Integrations for Unity or Blender
|
|
26
27
|
- Commercial & Educational Licenses
|
|
27
|
-
- [
|
|
28
|
-
- [More features](https://docs.needle.tools/features)
|
|
28
|
+
- [↪ more features](https://docs.needle.tools/features)
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
<br />
|
|
32
32
|
|
|
33
|
-
[Needle Engine Changelog](https://github.com/needle-tools/needle-engine-support/releases)
|
|
34
33
|
|
|
35
34
|
|
|
36
35
|
## Editor Integrations
|
|
37
36
|
|
|
38
|
-
**Powerful integrations for Unity and Blender** allow artists and developers to collaborate and manage web applications inside battle-tested 3d editors. Needle Engine integrations allow you to use editor features for exporting models, author materials, animate and sequence animations, bake lightmaps and more.
|
|
37
|
+
**Powerful integrations for Unity and Blender** allow artists and developers to collaborate and manage web applications inside battle-tested 3d editors. Needle Engine integrations allow you to use editor features for exporting models, author materials, animate and sequence animations, bake lightmaps and more.
|
|
38
|
+
- 🎲 [Download Unity Integration](https://engine.needle.tools/downloads/unity)
|
|
39
|
+
- 🐵 [Download Blender Integration](https://engine.needle.tools/downloads/blender)
|
|
40
|
+
- 📜 [Code only](https://engine.needle.tools/docs/three/)
|
|
39
41
|
|
|
40
|
-
- [Download Unity Integration](https://engine.needle.tools/downloads/unity)
|
|
41
42
|
|
|
42
|
-
|
|
43
|
+
## Getting Started
|
|
43
44
|
|
|
44
|
-
|
|
45
|
+
Follow the [Getting Started Guide](https://docs.needle.tools/getting-started) to download and install Needle Engine or [try one of our samples](https://engine.needle.tools/samples) ⚡
|
|
45
46
|
|
|
46
47
|
|
|
47
|
-
##
|
|
48
|
+
## Examples
|
|
48
49
|
|
|
49
|
-
|
|
50
|
-
You can also find a [list of sample projects](https://engine.needle.tools/samples) that you can try live in the browser and download to give your project a headstart.
|
|
51
|
-
For writing custom components read the [Scripting Guide](https://docs.needle.tools/scripting) or try [Needle Engine on StackBlitz](https://stackblitz.com/@marwie/collections/needle-engine) ⚡
|
|
50
|
+
### [Custom loading overlay & wait for LODs](https://lods-loading-overlay-z23hmxbz29h8vr.needle.run/) | [Code on Stackblitz](https://stackblitz.com/edit/needle-engine-wait-for-lods?file=README.md)
|
|
52
51
|
|
|
52
|
+
### [Motors & More Shop Example with React](https://reactshoppingcart-z23hmxbzcfkmf.needle.run/) | [Code on Stackblitz](https://stackblitz.com/edit/needle-react-shopping-cart-2)
|
|
53
53
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
54
|
+
### [Postprocessing Effects with custom Magnifier effect](https://antialiasing-and-postprocessing-zubcksz1o8daw.needle.run/) | [Code on Stackblitz](https://stackblitz.com/edit/needle-engine-postprocessing?file=README.md)
|
|
55
|
+
[](https://antialiasing-and-postprocessing-zubcksz1o8daw.needle.run/)
|
|
56
|
+
|
|
57
|
+
### [AR Restaurant Example](https://ar-restaurant-example-zubcks1t14le.needle.run/) | [Code on Github](https://github.com/needle-engine/ar-restaurant-example)
|
|
58
|
+
|
|
59
|
+
### [Camera Focus DIV Example 1](https://responsive-layout-z23hmxb22no6t.needle.run/) | [Code on Stackblitz](<https://stackblitz.com/edit/needle-engine-camera-focus-rect?file=src%2Fsidebar.ts,index.html,src%2Fmain.ts>)
|
|
60
|
+
[](https://responsive-layout-z23hmxb22no6t.needle.run/)
|
|
61
|
+
|
|
62
|
+
### [Camera Focus DIV Example 2](https://responsive-layout-click-example-z23hmxbzuyk6y.needle.run/) | [Code on Stackblitz](<https://stackblitz.com/edit/needle-engine-camera-focus-rect-click-to-move?file=index.html,src%2Fmain.ts>)
|
|
63
|
+
[](https://responsive-layout-click-example-z23hmxbzuyk6y.needle.run/)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
👋 Find more examples on [samples.needle.tools](https://samples.needle.tools/), [docs.needle.tools](https://docs.needle.tools) and in the [Needle Engine Stackblitz Collection](https://stackblitz.com/@marwie/collections/needle-engine)
|
|
59
67
|
|
|
60
68
|
<br />
|
|
61
69
|
|