MH can't seem to find downloaded expressions

Tech support and suggestions forum. If you only have a basic question on how to get started, please use the "newbies" forum in the community section.

Moderator: joepal

MH can't seem to find downloaded expressions

Postby SaltyCowdawg » Thu Oct 31, 2019 1:15 am

Hi folks,

Been a while since I posted. In fact it's been a while since I used MH and Blender.

From the community plugin I downloaded quite a few of the expressions with the intent of using one or more for a scene I'm working on. After downloading them I went to the Pose/Animate tab went to the expressions subtab and lo an behold none of the new expressions I downloaded showed up in the right hand panel.

Am I the only one this is happening to or is this a known bug?

How do I (or can I) work around this issue?
Peter L. Berghold <peter@berghold.net> or <Salty.Cowdawg@gmail.com>
Retired IT with 30+ years in the business
User avatar
SaltyCowdawg
 
Posts: 458
Joined: Fri Aug 09, 2013 3:12 pm
Location: Ayden NC

Re: MH can't seem to find downloaded expressions

Postby loki1950 » Thu Oct 31, 2019 2:31 am

Hi Salty have you checked your makehuman folder under v1py3\data\expressions if they are there could you post your log file right after you open the expressions tab.

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: MH can't seem to find downloaded expressions

Postby SaltyCowdawg » Thu Oct 31, 2019 12:39 pm

This being Linux they end up in ~/Documents/makehuman/v1py3/data/expressions when downloaded. Current directory contents:
Code: Select all
Devious          Happy_Stoner  inebriated2   mildsmile     Sick     suspicious
Fulfilled_smile  inebriated1   Me_Satisfied  not_thrilled  smile06  thatlook


Here are the logs when I open the expression tabs. I'd already looked at them and decided nothing useful there.
Code: Select all
[2019-10-31 08:30:16,114] log.py->debug():97 -- DEBUG -- showing task Expressions
[2019-10-31 08:30:16,143] log.py->message():118 -- MESSAGE -- Automatically guessed coordinate system for BVH file data/poseunits/face-poseunits.bvh (Z-up)
[2019-10-31 08:30:16,225] log.py->message():118 -- MESSAGE -- unit pose frame count:60
[2019-10-31 08:30:29,894] log.py->debug():97 -- DEBUG -- hiding category Pose/Animate




Here is what I see in the expresssion tab. I should be seeing the devious expression and it is not showing up anywhere.

expressions_menu.png
Expressions Tab
Peter L. Berghold <peter@berghold.net> or <Salty.Cowdawg@gmail.com>
Retired IT with 30+ years in the business
User avatar
SaltyCowdawg
 
Posts: 458
Joined: Fri Aug 09, 2013 3:12 pm
Location: Ayden NC

Re: MH can't seem to find downloaded expressions

Postby loki1950 » Thu Oct 31, 2019 1:50 pm

Looks like it is ignoring the custom folder completely and the why is beyond my experience have to bring in the big dogs ;) @joepal @Aranuvir @punkduck.

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: MH can't seem to find downloaded expressions

Postby jcpalmer » Thu Oct 31, 2019 6:23 pm

The default skeleton must be used for expression transfer. It should be noted that if you wish a smaller skeleton afterward, you can convert the default skeleton to the 25 bone Kinect2 custom rig. You do not actually need a Kinect to do this. That rig can also do IK. The "key" in this workflow is that you chose shapekeys as the destination of the expressions you transferred.

The default destination for expressions is directly to shapekeys. If going that route, keys can only be made using this process on meshes which have no modifiers that change the number of vertices. Helper visibility & hide faces modifiers are put on the body mesh. Apply them. You can still have the sub-surf modifier though.

mh 0.6.2.JPG

When you are going the shapekey route, the info section (a window type in 2.80) will give you statistics as well as a couple of warning messages. A message, not shown, states that a key is ignored because not enough vertices were changed. Seems to happen a lot with the tongue with like 5 stray changes.

mh info.JPG

This transfer was developed for later going the real time performance environment WebGL. I require very clean data only, not umpteen changes so small that you are never going to see them. I have 24 of my own micro expressions which get combined on the fly downstream. Here is an old scene showing them.

One final note on keys, you can later merge the meshes. Keys have the same names & they get combined just fine.

None of this applies when you change the destination to Pose Library. There, the only "trick" is you need to actually create a library, so that there is a place to write to. The 'Transfer' button will then be enabled.

Finally, if your character is just standing / looking forward, you will get more accurate expressions, un-checking `No Location Translation'.
jcpalmer
 
Posts: 115
Joined: Tue Dec 16, 2014 4:14 pm

Re: MH can't seem to find downloaded expressions

Postby Aranuvir » Thu Oct 31, 2019 8:24 pm

@Salty: Thanks for posting. There is a bug. Looks like the code does not read from subfolders. I'll take closer look at it. Current workaround: move files to top level...
Aranuvir
 
Posts: 1314
Joined: Sun Oct 12, 2014 2:12 pm

Re: MH can't seem to find downloaded expressions

Postby Aranuvir » Thu Oct 31, 2019 8:40 pm

There is also a fix, now, if you are running from source. (Which shouldn't be a problem on Linux ;) )
Aranuvir
 
Posts: 1314
Joined: Sun Oct 12, 2014 2:12 pm

Re: MH can't seem to find downloaded expressions

Postby jcpalmer » Fri Nov 01, 2019 3:35 pm

Whoops, I saw Blender, then community Plug-in. I did not connect this with downloading assets. This info is probably going to be need to get those expressions to Blender, unless you just want one, though. I know MHX2 would only transfer the stock expressions back before I abandoned using it.
jcpalmer
 
Posts: 115
Joined: Tue Dec 16, 2014 4:14 pm

Re: MH can't seem to find downloaded expressions

Postby j2l » Wed Jan 01, 2020 9:40 am

Happy new year!

I don't know what I do wrong but it's not working for me (Win 10, plugin 0.6.2, MH 1.2 alpha 4), I applied all modifiers except armature of course, no location translation is NOT ticked, I import a default character with default skeleton, tag=Anger01, I checked this expression file is present within the path,
I get:
In Console:
Code: Select all
dir:C:\Users\nobody\Documents\makehuman\v1py3\data\expressions
armature exported units is DECIMETERS, headTail: 8.448142051696777, footTail: -7.787008285522461
dir:C:\Users\nobody\Documents\makehuman12a4\makehuman\data\expressions

In Info:
Code: Select all
bpy.ops.object.editmode_toggle()
bpy.ops.object.editmode_toggle()
bpy.ops.object.posemode_toggle()
bpy.ops.pose.select_all(action='SELECT')
bpy.ops.pose.transforms_clear()
bpy.ops.pose.select_all(action='SELECT')
bpy.ops.pose.transforms_clear()
bpy.ops.mh_community.expressions_trans()


Nothing more.
It stops in Pose Mode. No shape key created.

I have previous models (from 1.2 alpha 1,2,3) in C:\Users\nobody\Documents\makehuman\v1py3
I guess the path issue is fixed since October 31?
I installed alpha 4 on December.

Expressions are both in C:\Users\nobody\Documents\makehuman\v1py3\data\expressions and C:\Users\nobody\Documents\makehuman12a4\makehuman\data\expressions
Should I move them elsewhere?
j2l
 
Posts: 2
Joined: Wed Jan 01, 2020 9:19 am

Re: MH can't seem to find downloaded expressions

Postby jcpalmer » Mon Jan 06, 2020 3:35 pm

I think you misunderstand what a tag is. It is not the name.
anger tag.JPG

I always needed an entire set of my custom expressions, so I gave them a common tag. Never thought to do singles.

I am only running alpha 3 right now. I suggest one of these alternatives to refine the problem, if it is not just a wrong tag issue.
- Do not specify any tag
- Create a new Pose Library, then Switch to Pose library for output.
jcpalmer
 
Posts: 115
Joined: Tue Dec 16, 2014 4:14 pm

Next

Return to Bugs, problems and feature requests

Who is online

Users browsing this forum: No registered users and 1 guest