Skip to content

Commit 1a466a6

Browse files
authored
Update README.md
1 parent 00c9fb6 commit 1a466a6

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

README.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This package adds a [three.js](https://github.com/mrdoob/three.js) GLTFLoader plugin for [KHR_animation_pointer](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_animation_pointer) support.
44

55
### Animate anything
6-
- all material properties 💎
6+
- all material properties 💎 (including texture transforms)
77
- cameras 🎥
88
- lights 💡
99
- custom code/scripts 📄
@@ -14,7 +14,13 @@ This package adds a [three.js](https://github.com/mrdoob/three.js) GLTFLoader pl
1414
<img width="1240" height="696" alt="image" src="https://github.com/user-attachments/assets/baa109d8-974b-4c97-9ae9-31a4391e651b" />
1515
</a>
1616

17-
### Usage
17+
https://github.com/user-attachments/assets/13fe4102-00ee-430f-9a17-9611fa543f77
18+
19+
[three.js Example](https://threejs.org/examples/?q=gltf#webgl_loader_gltf_animation_pointer)
20+
21+
22+
23+
### How to use
1824

1925
Install the package:
2026
`npm i @needle-tools/three-animation-pointer`
@@ -31,10 +37,6 @@ loader.register(p => {
3137
});
3238
```
3339

34-
https://github.com/user-attachments/assets/13fe4102-00ee-430f-9a17-9611fa543f77
35-
36-
[Live Example](https://three.needle.tools/examples/?q=pointer#webgl_loader_gltf_animation_pointer)
37-
3840
### How to create glTF files using KHR_animation_pointer
3941

4042
You can use one of the listed tools below to export glTF animations in the right format
@@ -43,6 +45,15 @@ You can use one of the listed tools below to export glTF animations in the right
4345
- [Needle Engine for Unity](https://engine.needle.tools/docs/unity/) - defaults to KHR_animation_pointer and battle tested since 2022
4446
- [UnityGLTF](https://github.com/KhronosGroup/UnityGLTF)
4547

48+
49+
**Mini Unity Tutorial**
50+
51+
https://github.com/user-attachments/assets/e118a33d-9725-4313-b1d4-b4dbfc7a5a48
52+
53+
*Note: If you use UnityGLTF for exporting the glTF file make sure to enable the `KHR_animation_pointer` option in the UnityGLTF export settings.*
54+
55+
56+
4657
## Links
4758

4859
- [Khronos KHR_animation_pointer spec](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_animation_pointer)

0 commit comments

Comments
 (0)