Loaded .babylon file not working properly

Hey!!!

Loaded my .babylon file into the sandbox and I noticed the model isn’t forming correctly. Some of the bones are apart then come together.
LOG File
Exporter version: 2.93.4, Blender version: 2.93.4
========= Conversion from Blender to Babylon.js =========
Scene settings used :
Inline textures : false
Material Type : PBR
Positions Precision : 4
Normals Precision : 3
UVs Precision : 3
Vert Color Precision: 3
Mat Weight Precision: 2
Keep Z-up r-handed : no
Texture directory : /home/mekaboo/Pictures/
Python World class constructor completed
WARNING: No active camera has been assigned, or is not in a currently enabled collection
processing begun of skeleton: Character, id: 0
processing begun of bone: mixamorig:Hips, index: 0
processing begun of bone: mixamorig:Spine, index: 1
processing begun of bone: mixamorig:Spine1, index: 2
processing begun of bone: mixamorig:Spine2, index: 3
processing begun of bone: mixamorig:Neck, index: 4
processing begun of bone: mixamorig:Head, index: 5
processing begun of bone: mixamorig:HeadTop_End, index: 6
processing begun of bone: mixamorig:LeftEye, index: 7
processing begun of bone: mixamorig:RightEye, index: 8
processing begun of bone: mixamorig:LeftShoulder, index: 9
processing begun of bone: mixamorig:LeftArm, index: 10
processing begun of bone: mixamorig:LeftForeArm, index: 11
processing begun of bone: mixamorig:LeftHand, index: 12
processing begun of bone: mixamorig:LeftHandThumb1, index: 13
processing begun of bone: mixamorig:LeftHandThumb2, index: 14
processing begun of bone: mixamorig:LeftHandThumb3, index: 15
processing begun of bone: mixamorig:LeftHandThumb4, index: 16
processing begun of bone: mixamorig:LeftHandIndex1, index: 17
processing begun of bone: mixamorig:LeftHandIndex2, index: 18
processing begun of bone: mixamorig:LeftHandIndex3, index: 19
processing begun of bone: mixamorig:LeftHandIndex4, index: 20
processing begun of bone: mixamorig:LeftHandMiddle1, index: 21
processing begun of bone: mixamorig:LeftHandMiddle2, index: 22
processing begun of bone: mixamorig:LeftHandMiddle3, index: 23
processing begun of bone: mixamorig:LeftHandMiddle4, index: 24
processing begun of bone: mixamorig:LeftHandRing1, index: 25
processing begun of bone: mixamorig:LeftHandRing2, index: 26
processing begun of bone: mixamorig:LeftHandRing3, index: 27
processing begun of bone: mixamorig:LeftHandRing4, index: 28
processing begun of bone: mixamorig:LeftHandPinky1, index: 29
processing begun of bone: mixamorig:LeftHandPinky2, index: 30
processing begun of bone: mixamorig:LeftHandPinky3, index: 31
processing begun of bone: mixamorig:LeftHandPinky4, index: 32
processing begun of bone: mixamorig:RightShoulder, index: 33
processing begun of bone: mixamorig:RightArm, index: 34
processing begun of bone: mixamorig:RightForeArm, index: 35
processing begun of bone: mixamorig:RightHand, index: 36
processing begun of bone: mixamorig:RightHandPinky1, index: 37
processing begun of bone: mixamorig:RightHandPinky2, index: 38
processing begun of bone: mixamorig:RightHandPinky3, index: 39
processing begun of bone: mixamorig:RightHandPinky4, index: 40
processing begun of bone: mixamorig:RightHandRing1, index: 41
processing begun of bone: mixamorig:RightHandRing2, index: 42
processing begun of bone: mixamorig:RightHandRing3, index: 43
processing begun of bone: mixamorig:RightHandRing4, index: 44
processing begun of bone: mixamorig:RightHandMiddle1, index: 45
processing begun of bone: mixamorig:RightHandMiddle2, index: 46
processing begun of bone: mixamorig:RightHandMiddle3, index: 47
processing begun of bone: mixamorig:RightHandMiddle4, index: 48
processing begun of bone: mixamorig:RightHandIndex1, index: 49
processing begun of bone: mixamorig:RightHandIndex2, index: 50
processing begun of bone: mixamorig:RightHandIndex3, index: 51
processing begun of bone: mixamorig:RightHandIndex4, index: 52
processing begun of bone: mixamorig:RightHandThumb1, index: 53
processing begun of bone: mixamorig:RightHandThumb2, index: 54
processing begun of bone: mixamorig:RightHandThumb3, index: 55
processing begun of bone: mixamorig:RightHandThumb4, index: 56
processing begun of bone: mixamorig:LeftUpLeg, index: 57
processing begun of bone: mixamorig:LeftLeg, index: 58
processing begun of bone: mixamorig:LeftFoot, index: 59
processing begun of bone: mixamorig:LeftToeBase, index: 60
processing begun of bone: mixamorig:LeftToe_End, index: 61
processing begun of bone: mixamorig:RightUpLeg, index: 62
processing begun of bone: mixamorig:RightLeg, index: 63
processing begun of bone: mixamorig:RightFoot, index: 64
processing begun of bone: mixamorig:RightToeBase, index: 65
processing begun of bone: mixamorig:RightToe_End, index: 66
processing action greet: in[1 - 245], out[0 - 245]
processing begun of mesh: Beta_Surface
WARNING: No materials have been assigned:
Custom split normals with tangents being used
num positions : 18939
num normals : 18939
num tangents : 75756
num uvs : 37878
num uvs2 : 0
num colors : 0
num triangles : 28272
Skeleton stats:
Total Influencers: 21069
Avg # of influencers per vertex: 1.1125
Highest # of influencers observed: 4, num vertices with this: 215
exported as 4 influencers
num skeletonWeights and skeletonIndices: 75756
processing begun of mesh: Beta_Joints
WARNING: No materials have been assigned:
Custom split normals with tangents being used
num positions : 13651
num normals : 13651
num tangents : 54604
num uvs : 27302
num uvs2 : 0
num colors : 0
num triangles : 20840
Skeleton stats:
Total Influencers: 13813
Avg # of influencers per vertex: 1.0119
Highest # of influencers observed: 4, num vertices with this: 54
exported as 4 influencers
num skeletonWeights and skeletonIndices: 54604
========= Writing of JSON file started =========
writing mesh: Beta_Surface
writing mesh: Beta_Joints
========= Writing of JSON file completed =========
========= end of processing =========
elapsed time: 1 min, 17.2685 secs

Tried to upload scene file but not being able to…sorry about that

I appreciate the help :blue_heart:

@Mekaboo this is impossible to troubleshoot just like this. You would need to share your blender project or something that could help @JCPalmer understand what could go wrong.

2 Likes

Sorry about that @sebavan and @JCPalmer

I created a pull request with my .glb/.babylon files. I did this because Im having a hard time uploading since they are not jpg/png

Please do not create PR to share files :slight_smile:

You can either put them on your own repo or use OneDrive, GDrive, DropBox or any kind of file sharing site.

@JCPalmer you can download the files from Meka GLB/Babylon files by Mekaboo · Pull Request #55 · BabylonJS/Assets · GitHub

1 Like

My apologies…didn’t know :relaxed:

np @Mekaboo

1 Like

@sebavan @JCPalmer I created a Git repo for pieces I will be using on my site. Just created a male version of what I sent earlier and having the same issues when placed into the Sandbox:

Hi again @Mekaboo :slight_smile:

I downloaded the .blend files you posted and looked at the transforms for the various parts of the characters - meshes and the rig. You have issues with the transforms (see image blow) . You need to set all the rotation values to 0, and all the scale values to 1 - so apply transforms. Do the rig first then check all the meshes and apply transforms to those as well. Ensure that all the origins are all at 0,0,0.

I also zeroed out the hips translation animatiopn frames as the character jumps around a bit.

Here are two zip files containing the two character new .blend files, the appropriate .babylon files and manifests and log files. I added a camera and a light to the scenes

I tested the .babylon files in the sandbox - animation seems OK.

my_megaboydoll.zip

my_mekadoll.zip

Stay Safe, gryff :slight_smile:

Rig starting transforms - note rotation and scale

transforms01

4 Likes

Hey again @gryff :blush:

This is Fantastic…thank ya so very much for the help :hearts:
While in Blender I only changed the scale portion because of the instructions. Didn’t think of touching the Rotation portion. Tested in the Sandbox and the animation wasnt working…will figure this out. Once again thank ya so very much!!