• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.
HairExporter

Plugins + Scripts HairExporter

Download [0 MB]
northern.shikima updated HairExporter Beta with a new update entry:

HairExporter is out of beta!

HairExporter has been entirely re-written!
  • No more manual steps. No more CLI tool. Much better results in just a couple clicks!
  • Export directly within VaM.
  • Imports directly to Blender’s new hair system!
  • Exports scalp, materials (color), hair strands and some hair sim settings
Now available as a VaM plugin and Blender add-on. Export hair to blender in two simple steps:

  • Add HairExporter.cs to a person atom, and click "Export Hair". Hair and required...

Read the rest of this update entry...
 
Does this work as curves in blender, and can you use the new hair nodes in this workflow? Has anyone tried?
New version (1.0) posted today imports directly to the new curves system with hair nodes

I'd like to see this too
I don't know if this has been asked or even mentioned, but I wonder if it is possible to do the same, but in reverse? Like export and convert Blender hair to VaM hair. I would think that the obsticle would be re-importing it into VaM. That would definitely be a game changer though.

Assuming the blender hair is stored as curves (or convertible to curves) someone could probably write a plug-in to import the vertices of each curve as a hair strand. The big challenge that comes to mind is I believe VaM hair strands have to match up with the verts on the scalp, and you can't have more strands than scalp verts (the rest of the strands are interpolated by VaM's hair multiplier setting)

It's certainly possible. Although with VaM 2.0 around the corner (lol) it may be better to prioritize exporting hair from VaM 1 and importing to VaM 2.
 
Just wanted to confirm that this is broken in blender 4.3 unfortunately.

Error Code on import:

Python: Traceback (most recent call last):
File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\vam_hair_import\__init__.py", line 247, in execute
json_hair_import(importer_file_path)
File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\vam_hair_import\__init__.py", line 213, in json_hair_import
build_scalp_material(root_dir, material, material_data)
File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\4.3\scripts\addons\vam_hair_import\__init__.py", line 125, in build_scalp_material
material.shadow_method = 'HASHED'
^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Material' object has no attribute 'shadow_method'
 
Hey, dude.
This Blender add-on seems to be broken, keeps giving errors. My Blender version is 4.3.
 
works shockingly well, i remember struggling to use the first version of this plugin. thanks
 
Hey, dude.
This Blender add-on seems to be broken, keeps giving errors. My Blender version is 4.3.
It can be fixed using the following. Granted, I don't know if there are side-effects from doing this.

Navigate to "C:\Users\<Username>\AppData\Roaming\Blender Foundation\Blender\<Blender version, such as 4.3 or 4.4>\scripts\addons\vam_hair_import\__init__.py" and open the file. Then, go to line 125 and put a hashtag at the start, with "# material.shadow_method = 'HASHED'" being what it should look like. Alternatively, you can just remove the line. After that, restart Blender.

It seems that certain aspects of materials changed from 4.2 to 4.3. Again, this may have side-effects, but it seems to work at the very least. I'm going to try testing the plugin in different versions to identify differences.
 
It can be fixed using the following. Granted, I don't know if there are side-effects from doing this.

Navigate to "C:\Users\<Username>\AppData\Roaming\Blender Foundation\Blender\<Blender version, such as 4.3 or 4.4>\scripts\addons\vam_hair_import\__init__.py" and open the file. Then, go to line 125 and put a hashtag at the start, with "# material.shadow_method = 'HASHED'" being what it should look like. Alternatively, you can just remove the line. After that, restart Blender.

It seems that certain aspects of materials changed from 4.2 to 4.3. Again, this may have side-effects, but it seems to work at the very least. I'm going to try testing the plugin in different versions to identify differences.
Yes, thank you!
 
Back
Top Bottom