Skip to content

Commit 5172815

Browse files
committed
version
1 parent 98f6675 commit 5172815

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# KHR_animation_pointer for three.js
22

3-
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.
3+
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 allowing you to animate anything in your 3D scene, from material, light or camera properties to custom code.
44

55
### Animate anything
66
- all material properties 💎 (including texture transforms)
@@ -37,13 +37,15 @@ loader.register(p => {
3737
});
3838
```
3939

40-
### How to create glTF files using KHR_animation_pointer
40+
*Note: To animate custom code you might need to register your own path resolver in the GLTFAnimationPointerExtension plugin*
41+
42+
### How to create glTF files with KHR_animation_pointer animations
4143

4244
You can use one of the listed tools below to export glTF animations in the right format
4345

4446
- [Blender 4.3](https://www.blender.org/) and newer - *experimental KHR_animation_pointer support, currently only in 'scene animation' mode ([#2285](https://github.com/KhronosGroup/glTF-Blender-IO/issues/2285))*
45-
- [Needle Engine for Unity](https://engine.needle.tools/docs/unity/) - defaults to KHR_animation_pointer and battle tested since 2022
46-
- [UnityGLTF](https://github.com/KhronosGroup/UnityGLTF)
47+
- [Needle Engine for Unity](https://engine.needle.tools/docs/unity/) - using KHR_animation_pointer by default in all projects since 2022
48+
- [UnityGLTF](https://github.com/KhronosGroup/UnityGLTF) - enable KHR_animation_pointer in settings to use in Exports
4749

4850

4951
**Mini Unity Tutorial**
@@ -58,6 +60,7 @@ You can use one of the listed tools below to export glTF animations in the right
5860

5961
- [Khronos KHR_animation_pointer spec](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_animation_pointer)
6062
- [three.js repository PR #24108](https://github.com/mrdoob/three.js/pull/24108)
63+
- [three.js example](https://threejs.org/examples/?q=gltf#webgl_loader_gltf_animation_pointer) - created in Unity
6164

6265

6366

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@needle-tools/three-animation-pointer",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "KHR_animation_pointer support for three.js",
55
"type": "module",
66
"main": "dist/three-animation-pointer.js",

0 commit comments

Comments
 (0)