aws-samples / aws-samples/amazon-sumerian-hosts

Simple Import/Export from Blender Results in Distorted Mesh

Open
#37 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
210
Forks
83
PR merge metrics
No merged PRs in 30d

Description

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/adult_female/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**
![Preview](https://i.imgur.com/bS61dPF.png)

**Prerequisites**
Download the amazon-sumerian-hosts project
Download & Install Blender

**Steps to Reproduce:**
1. Open Blender and Import _examples/assets/glTF/characters/adult_female/grace/grace.gltf_ (any character model will do)
2. Export the file into a a new character folder i.e. _examples/assets/glTF/characters/adult_female/grace_2/grace.gltf_
**Make sure to use the .gltf Separate format in blender**
3. Modify three.html so that the character from examples/assets/glTF/characters/adult_female/grace_2/grace.gltf is loaded.
4. Refresh the server and hard reload the page

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.