New Unreal Skeleton

If your topic doesn't fit anywhere else, put it here.

Moderator: joepal

Re: New Unreal Skeleton

Postby fortuna » Fri Jul 16, 2021 11:46 am

There is something wrong with the rotation of fbx export that has nothing to do with Unreal Engine.
But the Unreal Engine helps to understand what is going on.

First I want to show how it should look under correct conditions.
Under Windows 10 there exits a standard tool that is able to display various 3D models: 3D Viewer

Correct fbx files should be display this way (left side 3D Viewer, right side Unreal Engine Skeleton)
Although this fbx is an Unreal export, it is the same with fbx from other sources.

As you can see the model is facing to front and the skeleton is upwards. root bone rotations are at zero.
Attachments
fbx-correct.jpg
fortuna
 
Posts: 22
Joined: Mon Jan 18, 2021 12:12 pm

Re: New Unreal Skeleton

Postby fortuna » Fri Jul 16, 2021 11:52 am

If i export a fbx from MakeHuman, it looks the following in the 3dviewer and Unreal Engine.

As you can see there are two rotations existing.
In the 3D viewer the skeleton is laying towards x and the root bone in unreal shows the same.
One rotation is 90 degrees around x-axis and the other 180 degrees around y-axis.
plus or minus i don't know.
Attachments
fbx-wrong-y90-x180.jpg
fortuna
 
Posts: 22
Joined: Mon Jan 18, 2021 12:12 pm

Re: New Unreal Skeleton

Postby fortuna » Fri Jul 16, 2021 11:55 am

I found out that meanwhile MakeHuman is available on github and mangaged to fork and compile it. I'll try on fixing it. Hope it will not be to hard to fix some numbers. :lol:

I started to test other formats first, by exporting them and loading into 3d viewer: obj is correct and stl fail with other rotations. So it seems to fix it in the export routine would be the right place.

Will now switch to the developer forum.
fortuna
 
Posts: 22
Joined: Mon Jan 18, 2021 12:12 pm

Re: New Unreal Skeleton

Postby loki1950 » Fri Jul 16, 2021 6:10 pm

You are mistaken in compiling MH it is written in Python which is an interpretive language it is not compiled what the compiled versions is is just a token chain a way of making execution a tad faster by skipping the parsing phase.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo Ideapad 320-15ABR Win 10/Mint 19
User avatar
loki1950
 
Posts: 1219
Joined: Thu Dec 18, 2014 6:27 pm
Location: Ottawa,Ontario

Re: New Unreal Skeleton

Postby fortuna » Fri Jul 16, 2021 9:57 pm

Yes! ;)
fortuna
 
Posts: 22
Joined: Mon Jan 18, 2021 12:12 pm

Previous

Return to General discussions about makehuman

Who is online

Users browsing this forum: No registered users and 1 guest

cron