Load and visualize an animated musculoskeletal model #2340
Unanswered
hwy1992129
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I want to visualize a musculoskeletal model with different animation options.
I export a gltf/glb. I used gltfjsx to convert gltf/glb into jsx.
However, since the model is composed of more than 100 geometry, the converted jsx is not what I want.
How to loop load the geometry? Animation data is also required.. Any example for me to learn?
I found some examples like the codes below.... but I don't know how to add the animation...
useLayoutEffect(() => void scene.traverse((obj) => obj.isMesh && (obj.material = material)), [])
Beta Was this translation helpful? Give feedback.
All reactions