Replies: 1 comment
-
I think I have a solution for you. I downloaded the "skeleton_final.glb" file from that blog post, didn't do any additional changes to it. Set doubleSided = true for all materials so they can be seen. You have two choices for dealing with the alpha order issue:
Hope you are fine with some TypeScript.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm looking to make a 2D skeletal animation exported from Blender to GLTF and playing it in Pixi3D.
I have found this blog post from gskinner website, Matthew created a simple 2D skeletal animation and imported it into three.js
This is the main part of code I use to render it on the screen:
Using original GLB file from repository mentioned in blog post.
Then I decided to reexport it from Blender 3.4.
Comparing GLTF data in devtool console (not sure if this is correct observations)
Left - Original, Right - My new file
In Blender docs they say about export animation
I did "stash" it, but I guess something is still wrong.
I put glb gltf and blender file into zip
SkeletalAnimationFromBlender.zip
Skeleton_Final.glb - original file form repository
04_Skeleton_Final_.gltf - export from my new Blender file
04_Skeleton_Final_.blend - my new Blender file
I think Blender+GLTF+Pixi3D could be an alternative of Spine. Just need to find a proper workflow.
Maybe you will be interested to make this as an example of how this can be done for 2D and put it in your "Examples" list.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions