export file to blender showing only materials

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

Moderator: joepal

Re: export file to blender showing only materials

Postby Aranuvir » Mon Feb 08, 2021 7:31 pm

https://github.com/makehumancommunity/m ... master.zip
The folder 9_export... is for MH the other (import_...) for Blender.
Aranuvir
 
Posts: 1314
Joined: Sun Oct 12, 2014 2:12 pm

Re: export file to blender showing only materials

Postby brandonchampney » Wed Feb 10, 2021 12:22 pm

Hello,

Going to try again today to figure this out.

Like I said Blender is not recognizing the import plugin for MakeHuman.

Before when I had everything recognizing the plugins for makehuman and blender, MakeHuman was coming over to blender no model saved just materials.

II started everything again reinstalled makehuman. MakeHuman is recognizing the plugin but when I look art the folder it just saved into there were just materials.

I sent a log to a previous person and not sure I understood what happened from that.

I am going to try and export from MakeHuman and come back and share the log with anyone who is interested

Thanks
brandonchampney
 
Posts: 16
Joined: Sun Feb 07, 2021 2:57 pm

Re: export file to blender showing only materials

Postby brandonchampney » Wed Feb 10, 2021 12:26 pm

Here is the log from trying to export another human to file

Log make human

Setting language to english
Setting language to english
Initializing default theme first.
Theme default version 1.2.0
Loaded theme data/themes/default.mht
Using Qt system style macintosh
Loading human
Loading binary mesh data/3dobjs/base.npz.
NPZ-File: maxmimum number of faces for one vertex: 5
Loading material from file data/skins/default.mhmat
VectorUniform(AdditiveShading) = [0.]
Shader: adding built-in uniform b'gl_NormalMatrix'
Shader: adding built-in uniform b'gl_ModelViewProjectionMatrix'
VectorUniform(AdditiveShading) = [0.]
Loaded vertex weights MakeHuman weights from file /Applications/MakeHuman.app/Contents/Resources/makehuman/data/rigs/default_weights.mhw
Loading scene
Loading scene file: data/scenes/default.mhscene
Loading main GUI
Assigning setting loaddir value /Users/brandonchampney/Documents/MakeHuman/v1py3/models that was loaded before the setting was declared.
Assigning setting savedir value /Users/brandonchampney/Documents/MakeHuman/v1py3/models that was loaded before the setting was declared.
Assigning setting exportdir value /Users/brandonchampney/Dropbox/trying making human that was loaded before the setting was declared.
Creating new texture for dynamic image data/litspheres/adaptive_skin_tone.png.
initTexture: 256, 256, False
Loading plugins
Importing plugin 0_modeling_0_modifiers
Imported plugin 0_modeling_0_modifiers
Loading plugin 0_modeling_0_modifiers
Loading modifiers from data/modifiers/modeling_modifiers.json
Attempting to load targets from NPZ file.
1258 targets loaded from NPZ file succesfully.
Loaded 249 modifiers from file data/modifiers/modeling_modifiers.json
Loaded 249 modifier descriptions from file data/modifiers/modeling_modifiers_desc.json
Loaded plugin 0_modeling_0_modifiers
Importing plugin 0_modeling_8_random
Imported plugin 0_modeling_8_random
Loading plugin 0_modeling_8_random
Loaded plugin 0_modeling_8_random
Importing plugin 0_modeling_9_custom_targets
Imported plugin 0_modeling_9_custom_targets
Loading plugin 0_modeling_9_custom_targets
Loaded plugin 0_modeling_9_custom_targets
Importing plugin 0_modeling_a_measurement
Imported plugin 0_modeling_a_measurement
Loading plugin 0_modeling_a_measurement
Loading modifiers from data/modifiers/measurement_modifiers.json
Loaded 20 modifiers from file data/modifiers/measurement_modifiers.json
Loaded 20 modifier descriptions from file data/modifiers/measurement_modifiers_desc.json
Loaded plugin 0_modeling_a_measurement
Importing plugin 0_modeling_background
Imported plugin 0_modeling_background
Loading plugin 0_modeling_background
Loaded plugin 0_modeling_background
Importing plugin 1_convert_model_tags
Imported plugin 1_convert_model_tags
Loading plugin 1_convert_model_tags
Loaded plugin 1_convert_model_tags
Importing plugin 1_mhapi
Imported plugin 1_mhapi
Loading plugin 1_mhapi
Loaded plugin 1_mhapi
Importing plugin 2_foot_posing
Imported plugin 2_foot_posing
Loading plugin 2_foot_posing
Loaded plugin 2_foot_posing
Importing plugin 2_posing_expression
Imported plugin 2_posing_expression
Loading plugin 2_posing_expression
Loaded plugin 2_posing_expression
Importing plugin 3_libraries_animation
Imported plugin 3_libraries_animation
Loading plugin 3_libraries_animation
Loaded plugin 3_libraries_animation
Importing plugin 3_libraries_clothes_chooser
Imported plugin 3_libraries_clothes_chooser
Loading plugin 3_libraries_clothes_chooser
Loaded plugin 3_libraries_clothes_chooser
Importing plugin 3_libraries_eye_chooser
Imported plugin 3_libraries_eye_chooser
Loading plugin 3_libraries_eye_chooser
According to mh.getSysDataPath here's high poly eyes data/eyes/high-poly/high-poly.mhclo
Selecting proxy file "data/eyes/high-poly/high-poly.mhclo" from eyes library.
Loading binary proxy data/eyes/high-poly/high-poly.mhpxy.
Loading proxy file: data/eyes/high-poly/high-poly.mhpxy.
Loading material from file /Applications/MakeHuman.app/Contents/Resources/makehuman/data/eyes/materials/brown.mhmat
VectorUniform(AdditiveShading) = [0.]
Shader: adding built-in uniform b'gl_NormalMatrix'
Shader: adding built-in uniform b'gl_ModelViewProjectionMatrix'
VectorUniform(AdditiveShading) = [0.]
Loading binary mesh /Applications/MakeHuman.app/Contents/Resources/makehuman/data/eyes/high-poly/high-poly.npz.
NPZ-File: maxmimum number of faces for one vertex: 4
remapping weights for proxy HighPolyEyes
remapping weights for HighPolyEyes took 0.03325 seconds
Loaded plugin 3_libraries_eye_chooser
Importing plugin 3_libraries_eyebrows
Imported plugin 3_libraries_eyebrows
Loading plugin 3_libraries_eyebrows
Loaded plugin 3_libraries_eyebrows
Importing plugin 3_libraries_eyelashes
Imported plugin 3_libraries_eyelashes
Loading plugin 3_libraries_eyelashes
Loaded plugin 3_libraries_eyelashes
Importing plugin 3_libraries_material_chooser
Imported plugin 3_libraries_material_chooser
Loading plugin 3_libraries_material_chooser
Loaded plugin 3_libraries_material_chooser
Importing plugin 3_libraries_polygon_hair_chooser
Imported plugin 3_libraries_polygon_hair_chooser
Loading plugin 3_libraries_polygon_hair_chooser
Loaded plugin 3_libraries_polygon_hair_chooser
Importing plugin 3_libraries_pose
Imported plugin 3_libraries_pose
Loading plugin 3_libraries_pose
Loaded plugin 3_libraries_pose
Importing plugin 3_libraries_proxy_chooser
Imported plugin 3_libraries_proxy_chooser
Loading plugin 3_libraries_proxy_chooser
Loaded plugin 3_libraries_proxy_chooser
Importing plugin 3_libraries_skeleton
Imported plugin 3_libraries_skeleton
Loading plugin 3_libraries_skeleton
Loaded plugin 3_libraries_skeleton
Importing plugin 3_libraries_teeth
Imported plugin 3_libraries_teeth
Loading plugin 3_libraries_teeth
Loaded plugin 3_libraries_teeth
Importing plugin 3_libraries_tongue
Imported plugin 3_libraries_tongue
Loading plugin 3_libraries_tongue
Loaded plugin 3_libraries_tongue
Importing plugin 4_rendering_9_viewer
Imported plugin 4_rendering_9_viewer
Loading plugin 4_rendering_9_viewer
Loaded plugin 4_rendering_9_viewer
Importing plugin 4_rendering_opengl
Imported plugin 4_rendering_opengl
Loading plugin 4_rendering_opengl
Assigning setting rendering_width value 800 that was loaded before the setting was declared.
Assigning setting rendering_height value 600 that was loaded before the setting was declared.
Assigning setting GL_RENDERER_SSS value False that was loaded before the setting was declared.
Assigning setting GL_RENDERER_AA value True that was loaded before the setting was declared.
Loaded plugin 4_rendering_opengl
Importing plugin 4_rendering_scene
Imported plugin 4_rendering_scene
Loading plugin 4_rendering_scene
Setting rendering_width is already declared. Adding it again has no effect.
Setting rendering_height is already declared. Adding it again has no effect.
Loaded plugin 4_rendering_scene
Importing plugin 5_settings_0_settings
Imported plugin 5_settings_0_settings
Loading plugin 5_settings_0_settings
Setting language to english
Theme makehuman version 1.2.0
Loaded theme data/themes/makehuman.mht
Loaded Qt style data/themes/makehuman.qss
Reloading texture for dynamic image data/litspheres/adaptive_skin_tone.png.
initTexture: 256, 256, False
Creating new texture for image /Applications/MakeHuman.app/Contents/Resources/makehuman/data/eyes/materials/brown_eye.png.
initTexture: 1024, 1024, False
Creating new texture for image /Applications/MakeHuman.app/Contents/Resources/makehuman/data/litspheres/skinmat_eye.png.
initTexture: 256, 256, False
Loaded plugin 5_settings_0_settings
Importing plugin 5_settings_mouse
Imported plugin 5_settings_mouse
Loading plugin 5_settings_mouse
Loaded plugin 5_settings_mouse
Importing plugin 5_settings_shortcuts
Imported plugin 5_settings_shortcuts
Loading plugin 5_settings_shortcuts
Loaded plugin 5_settings_shortcuts
Importing plugin 5_settings_userplugins
Imported plugin 5_settings_userplugins
Loading plugin 5_settings_userplugins
Loaded plugin 5_settings_userplugins
Importing plugin 6_help
Imported plugin 6_help
Loading plugin 6_help
Loaded plugin 6_help
Importing plugin 7_data
Imported plugin 7_data
Loading plugin 7_data
Loaded plugin 7_data
Importing plugin 7_example
Imported plugin 7_example
Loading plugin 7_example
Loaded plugin 7_example
Importing plugin 7_expression_mixer
Imported plugin 7_expression_mixer
Loading plugin 7_expression_mixer
Loaded plugin 7_expression_mixer
Importing plugin 7_logging
Imported plugin 7_logging
Loading plugin 7_logging
Loaded plugin 7_logging
Importing plugin 7_material_editor
Imported plugin 7_material_editor
Loading plugin 7_material_editor
Loaded plugin 7_material_editor
Importing plugin 7_profile
Imported plugin 7_profile
Loading plugin 7_profile
Loaded plugin 7_profile
Importing plugin 7_save_targets
Imported plugin 7_save_targets
Loading plugin 7_save_targets
Loaded plugin 7_save_targets
Importing plugin 7_scene_editor
Imported plugin 7_scene_editor
Loading plugin 7_scene_editor
Setting rendering_width is already declared. Adding it again has no effect.
Setting rendering_height is already declared. Adding it again has no effect.
Assigning setting Scene_Editor_FileDlgPath value /Users/brandonchampney/Documents/MakeHuman/v1py3/data/scenes that was loaded before the setting was declared.
Loaded plugin 7_scene_editor
Importing plugin 7_scripting
Imported plugin 7_scripting
Loading plugin 7_scripting
Loaded plugin 7_scripting
Importing plugin 7_shell
Imported plugin 7_shell
Loading plugin 7_shell
Loaded plugin 7_shell
Importing plugin 7_targets
Imported plugin 7_targets
Loading plugin 7_targets
Loaded plugin 7_targets
Importing plugin 8_asset_downloader
Imported plugin 8_asset_downloader
Loading plugin 8_asset_downloader
Loaded plugin 8_asset_downloader
Importing plugin 8_server_socket
Imported plugin 8_server_socket
Loading plugin 8_server_socket
Loaded plugin 8_server_socket
Importing plugin 9_export_bvh
Imported plugin 9_export_bvh
Loading plugin 9_export_bvh
Loaded plugin 9_export_bvh
Importing plugin 9_export_collada
Imported plugin 9_export_collada
Loading plugin 9_export_collada
Loaded plugin 9_export_collada
Importing plugin 9_export_fbx
Imported plugin 9_export_fbx
Loading plugin 9_export_fbx
Loaded plugin 9_export_fbx
Importing plugin 9_export_light
Imported plugin 9_export_light
Loading plugin 9_export_light
Loaded plugin 9_export_light
Importing plugin 9_export_mhx2
Imported plugin 9_export_mhx2
Loading plugin 9_export_mhx2
Loaded plugin 9_export_mhx2
Importing plugin 9_export_obj
Imported plugin 9_export_obj
Loading plugin 9_export_obj
Loaded plugin 9_export_obj
Importing plugin 9_export_ogre
Imported plugin 9_export_ogre
Loading plugin 9_export_ogre
Loaded plugin 9_export_ogre
Importing plugin 9_export_stl
Imported plugin 9_export_stl
Loading plugin 9_export_stl
Loaded plugin 9_export_stl
Importing plugin 9_export_uvmap
Imported plugin 9_export_uvmap
Loading plugin 9_export_uvmap
Loaded plugin 9_export_uvmap
Loading GUI
showing category Modelling
showing task Macro modelling
Loading theme
Theme makehuman version 1.2.0
Loaded theme data/themes/makehuman.mht
Loaded Qt style data/themes/makehuman.qss
Applying targets
Updating skeleton joint positions
Done baking animations
Loading macro targets
Loading done

hiding category Modelling
showing category Pose/Animate
hiding task Macro modelling
showing task Skeleton
Loading material from file data/materials/xray.mhmat
Shader: adding built-in uniform b'gl_ModelViewMatrix'
VectorUniform(intensity) = [0.7]
VectorUniform(ambient) = [0. 0. 0.]
Shader: adding built-in uniform b'gl_NormalMatrix'
VectorUniform(edgefalloff) = [1.]
Shader: adding built-in uniform b'gl_ModelViewProjectionMatrix'
VectorUniform(intensity) = [0.7]
VectorUniform(ambient) = [0. 0. 0.]
VectorUniform(edgefalloff) = [1.]
Loading skeleton from data/rigs/default.mhskel
Calculated maximum number of faces for one vertex: 4
Calculated maximum number of poles for one vertex: 4
do Change skeleton
hiding category Pose/Animate
showing category Files
hiding task Skeleton
showing task Load
hiding task Load
showing task Save
grabScreen: 358 0 1170 1170
glReadPixels: 358 0 1168 1170
hiding category Files
showing category Pose/Animate
hiding task Save
showing task Skeleton
Calculated maximum number of faces for one vertex: 4
Calculated maximum number of poles for one vertex: 4
hiding category Pose/Animate
showing category Files
hiding task Skeleton
showing task Save
hiding task Save
showing task Export
Write MHX2 file /Users/brandonchampney/Dropbox/trying making human/test 03.mhx2
Calculated maximum number of faces for one vertex: 5
Calculated maximum number of poles for one vertex: 5
Calculated maximum number of faces for one vertex: 4
Calculated maximum number of poles for one vertex: 4
remapping weights for proxy HighPolyEyes
remapping weights for HighPolyEyes took 0.03235 seconds
Exception during event onFileSelected
Traceback (most recent call last):
File "./core/events3d.py", line 211, in callEvent
File "./apps/gui/guiexport.py", line 113, in onFileSelected
File "/Applications/MakeHuman.app/Contents/Resources/makehuman/plugins/9_export_mhx2/__init__.py", line 53, in export
File "/Applications/MakeHuman.app/Contents/Resources/makehuman/plugins/9_export_mhx2/mh2mhx2.py", line 86, in exportMhx2
File "/Applications/MakeHuman.app/Contents/Resources/makehuman/plugins/9_export_mhx2/save_json.py", line 33, in saveJson
File "/Applications/MakeHuman.app/Contents/Resources/makehuman/plugins/9_export_mhx2/save_json.py", line 54, in encodeJsonData
NameError: name 'unicode' is not defined
hiding category Files
showing category Utilities
hiding task Export
showing task Data
hiding task Data
showing task Logs
brandonchampney
 
Posts: 16
Joined: Sun Feb 07, 2021 2:57 pm

Re: export file to blender showing only materials

Postby brandonchampney » Wed Feb 10, 2021 12:30 pm

Aranuvir wrote:https://github.com/makehumancommunity/mhx2-makehuman-exchange/archive/master.zip
The folder 9_export... is for MH the other (import_...) for Blender.



Hi, thank you for your reply.

those are the files I last tried to install. Makehuman is recognizing the plugin but not blender.

Let me ask, in blender what should the MakeHuman import plugin be called in the list of plugins on blender?

Thanks
brandonchampney
 
Posts: 16
Joined: Sun Feb 07, 2021 2:57 pm

Re: export file to blender showing only materials

Postby brandonchampney » Wed Feb 10, 2021 12:41 pm

Hello,

Reinstalled plugins and now it is finally exporting a model to file but Blender is still not recognizing the plugin
brandonchampney
 
Posts: 16
Joined: Sun Feb 07, 2021 2:57 pm

Re: export file to blender showing only materials

Postby brandonchampney » Wed Feb 10, 2021 12:56 pm

Thank you for the plugin files much appreciated!

Now just have to get the blender side recognizing the plugin.

Does the Blender plugin show upon as BVH or some other name? Have been looking for makehuman but was wondering if it was something different


Thanks
brandonchampney
 
Posts: 16
Joined: Sun Feb 07, 2021 2:57 pm

Re: export file to blender showing only materials

Postby tomcat » Wed Feb 10, 2021 1:01 pm

brandonchampney wrote:…but Blender is still not recognizing the plugin

search here
viewtopic.php?f=6&t=19031#p52402
Foreigners' reactions to Russian "Bird's Milk" candies
— Are your birds being milked?
— In Russia everyone is milked. Here even the zucchini is used to make caviar.
User avatar
tomcat
 
Posts: 336
Joined: Sun Sep 27, 2015 7:53 pm
Location: Moscow (Orcish Stan), The Aggressive Evil Empire

Re: export file to blender showing only materials

Postby brandonchampney » Wed Feb 10, 2021 1:12 pm

Aranuvir wrote:https://github.com/makehumancommunity/mhx2-makehuman-exchange/archive/master.zip
The folder 9_export... is for MH the other (import_...) for Blender.



Thank you for the files.

Makehuman is finally exporting the model along with materials but Blender is still not recognizing the plugin
brandonchampney
 
Posts: 16
Joined: Sun Feb 07, 2021 2:57 pm

Re: export file to blender showing only materials

Postby brandonchampney » Wed Feb 10, 2021 2:48 pm

Hi,

Getting things set up with 3ds Max hopefully will work better, thanks
brandonchampney
 
Posts: 16
Joined: Sun Feb 07, 2021 2:57 pm

Re: export file to blender showing only materials

Postby RobBaer » Mon Feb 15, 2021 11:27 pm

brandonchampney wrote:

Hi, thank you for your reply.

those are the files I last tried to install. Makehuman is recognizing the plugin but not blender.

Let me ask, in blender what should the MakeHuman import plugin be called in the list of plugins on blender?

Thanks


You are seeing TWO plugins, right? There is one plugin for the MH side and a different plugin for the Blender side (MPFB)?
User avatar
RobBaer
 
Posts: 1208
Joined: Sat Jul 13, 2013 3:30 pm
Location: Kirksville, MO USA

Previous

Return to General discussions about makehuman

Who is online

Users browsing this forum: No registered users and 1 guest

cron