Hair with particle systems (a bit of a hack)
Posted: Sat Feb 19, 2022 4:52 pm
Okay, so it's possible to specify a blender material that should be included when importing a human into blender. That's really cool. But it seems particle systems cannot be set up in the same way. So I made a crude hack to allow that. So now you can put this into the .mhmat file:
The first line tells makehuman to use a specific blender material coming from a blender file. The Second line tells it to also get a particle system from that .blend file.
This way it's possible to have particle based hair set up in MakeHuman. You will not be able to see this inside MakeHuman itself, but once you use the "MakeHuman v1.1.0" plugin for Blender 3.0.0 and click "Import human" you will get paticle hair!
How to install:
Unpack the zip file into C:\Users\username\Documents\makehuman\v1py3\data\hair\
Then unpack the Blender_AddOn_Files_Changed_For_Particle_Support.zip file into C:\Users\username\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\ and click "yes" to overwrite existing files.
Disclaimer: I am not a python developer, so there could easily be bugs in what I did. I hope someone better at python will know how to implement this more correctly and perhaps even put it in MH's source code somehow.
- Code: Select all
blendMaterial short01_particles.blend/materials/short01_random
blendParticles short01_particles.blend/particles/short01_particles
The first line tells makehuman to use a specific blender material coming from a blender file. The Second line tells it to also get a particle system from that .blend file.
This way it's possible to have particle based hair set up in MakeHuman. You will not be able to see this inside MakeHuman itself, but once you use the "MakeHuman v1.1.0" plugin for Blender 3.0.0 and click "Import human" you will get paticle hair!
How to install:
Unpack the zip file into C:\Users\username\Documents\makehuman\v1py3\data\hair\
Then unpack the Blender_AddOn_Files_Changed_For_Particle_Support.zip file into C:\Users\username\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\ and click "yes" to overwrite existing files.
Disclaimer: I am not a python developer, so there could easily be bugs in what I did. I hope someone better at python will know how to implement this more correctly and perhaps even put it in MH's source code somehow.