Open asidique opened 3 years ago
Hi @asidique Did you find a solution for this? we have imported the sample gltf characters into blender and re-exported and the mesh is distorted. Spent hours looking for an answer, so any guidance would be much appreciated!
I was dealing with this as well and found a solution. Changing the bone direction setting from the default "Temperance" to "Blender" when importing the .glb file from Sumerian fixed the issue for me.
@crowers Have a look at the suggestion above
Hey all, I'm trying the same steps, but using Babylon, instead of Three.js though I export/import without any changes and using the mentioned "Blender" instead of "Temperance", I get the following error when loading the Host
Uncaught (in promise) TypeError: valueStore.referenceValue.normalize is not a function
node_modules chatbotDemo.js:16772
node_modules chatbotDemo.js:18264
loadCharacterAnimations HostObject.js:268
loadAssets HostObject.js:202
So, it's not even distorted...it's not loading at all :/
Help much appreciated and I hope the project is still alive! :)
@nisabek When exporting animation needs to be unticked and it should load fine in Babylon.
With respect to the following:
"You can clone the repository to obtain glTF character animation assets tailored to work well with the Host API. You can use them as-is, modify them in DCC software such as Blender or use them as a guide to develop your own 3D assets."
I am attempting to create custom materials and textures for the host model. I am able to import anyone of the models into Blender successfully _(i.e. examples/assets/glTF/characters/adultfemale/grace/grace.gltf) and can modify the materials in blender accordingly. The issue occurs when I export the model and attempt to use it in the ThreeJS example.
As you can see below, the grace.gltf model is completely distorted. This is what happens when I do not make any changes to the model, and simply import and export grace.gltf from blender. I listed some steps to reproduce below as well.
Blender 2.83.10 w/ Khronos glTF Blender I/O v1.2.75 -> This version was chosen because the .glTF models were created with v1.2.75
Result
Prerequisites Download the amazon-sumerian-hosts project Download & Install Blender
Steps to Reproduce:
I'm not sure if this is an issue with Blender or if this is an issue with how the .gltf files are parsed but I'm looking for some more information on what the workflow to customize hosts / create new ones are. Since it's mentioned that Blender can be used as a tool to do these customizations, I'm wondering what I'm missing here.