joepal wrote:I've also implemented a potential fix on the MPFB side. But I'd need to set up a windows development environment to test it.
If I can help you could send me the .py file(s), I do run this on Windows.
( email is assetdk-at-outlook.dk ) I tried to install the plugins, in the makehuman\V1py2\plugins directory...(also they do show up the plugin_log). Import materials are still not working.
However, there are two observations:
1. after starting blender: in MakeHuman there is a message on the "Community/Socket" fan:
Starting server thread.
Opening server socket...
Opened on host 127.0.0.1
Opened at port 12345
Waiting for connection.
Connected with 127.0.0.1:65046
Client says: '{
"function": "getUserDir",
"error": "",
"params": {
},
"data": null
}
'
About to serialize JSON. This might take some time.
Waiting for connection.2. The debug log looks like this:
Debug client attached.
WARNING: Could not register preferences class. Maybe it was registered by an earlier version of MPFB?
[INFO ] mpfb.init ..............................: Socket service says makeHuman user dir is at C:\Users\asset\Documents\makehuman\v1py3
[INFO ] mpfb.init ..............................: MPFB initialization has finished.
Progress: 0.00%
( 0.0000 sec | 0.0000 sec) Importing OBJ 'C:\\Users\\asset\\AppData\\Roaming\\Blender Foundation\\Blender\\2.92\\scripts\\addons\\mpfb\\data\\3dobjs\\base.obj'...
Progress: 0.00%
( 0.0045 sec | 0.0000 sec) Parsing OBJ file...
Progress: 0.00%
WARNING, skipping malformatted line: #
WARNING, skipping malformatted line: #
WARNING, skipping malformatted line: #
WARNING, skipping malformatted line: #
WARNING, skipping malformatted line: #
WARNING, skipping malformatted line: #
( 0.5532 sec | 0.5474 sec) Done, loading materials and images...
Progress: 33.33%
( 0.5615 sec | 0.5557 sec) Done, building geometries (verts:19158 faces:18486 materials: 1 smoothgroups:0) ...
Progress: 66.67%
( 1.5316 sec | 1.5258 sec) Done.
Progress: 66.67%
Progress: 100.00%
( 1.5376 sec | 1.5331 sec) Finished importing: 'C:\\Users\\asset\\AppData\\Roaming\\Blender Foundation\\Blender\\2.92\\scripts\\addons\\mpfb\\data\\3dobjs\\base.obj'
Progress: 100.00%
Progress: 100.00%
[DEBUG] material.makeskinmaterial ..............: bumpMapTexture is not set in mhmat
[DEBUG] material.makeskinmaterial ..............: diffuseTexture is set in mhmat
[DEBUG] material.makeskinmaterial ..............: displacementMapTexture is not set in mhmat
[DEBUG] material.makeskinmaterial ..............: metallicMapTexture is not set in mhmat
[DEBUG] material.makeskinmaterial ..............: normalMapTexture is not set in mhmat
[DEBUG] material.makeskinmaterial ..............: roughnessMapTexture is not set in mhmat
[DEBUG] material.makeskinmaterial ..............: transmissionMapTexture is not set in mhmat
[DUMP ] material.makeskinmaterial ..............: template_values
{ 'bump_or_normal': 'false',
'bumpmap_filename': '""',
'diffuse_filename': '"C:\\Users\\asset\\Documents\\makehuman\\v1py3\\data\\skins\\Light_Skin_Male_Freckles/young_lightskinned_male_diffuse_Freckles.png"',
'displacementmap_filename': '""',
'has_bumpmap': 'false',
'has_diffuse': 'true',
'has_displacementmap': 'false',
'has_metallicmap': 'false',
'has_normalmap': 'false',
'has_roughnessmap': 'false',
'has_transmissionmap': 'false',
'metallicmap_filename': '""',
'normalmap_filename': '""',
'roughnessmap_filename': '""',
'transmissionmap_filename': '""'}
fake_module: addon missing 'bl_info' gives bad performance!: 'C:\\Users\\asset\\AppData\\Roaming\\Blender Foundation\\Blender\\2.92\\scripts\\addons\\9_export_mhx2\\__init__.py'