Page 1 of 1

Request: Allow Delete-Vertices for body parts

PostPosted: Wed Jan 15, 2020 4:38 pm
by smonbrogg
Vertices assigned to the Delete vertexgroup in MakeCloths are deleted when the piece of clothing is selected in Makehuman.

This works fine, as long as the 'clothing' asset is in the clothing folder. When the same process is used to create a body part, say a custom eye, and this asset is placed in the folder such that it appears under the "Eyes" tab in Makehuman the deletion of vertices no longer works.

I was trying to create a custom lowpoly and have it delete the eye socket of the makehuman mesh. This worked when I place the custom eye files in the clothing folder, but not if I place it in the Eyes folder where it would make more sense.

I guess it would be simple to just allways delete the vertices marked as delete, no matter in which folder the asset is, or is there something that opposes this?

Re: Request: Allow Delete-Vertices for body parts

PostPosted: Wed Jan 15, 2020 4:50 pm
by joepal
Does this happen upon export too? I know delete groups work for at least hair, but it was news to me that it does not for eyes.

Re: Request: Allow Delete-Vertices for body parts

PostPosted: Mon Jan 20, 2020 2:54 pm
by smonbrogg
I just did some tests: Moved an asset with delete_verts around to all the folders for Clothes, Eyes, Hair, Teeth, Eyebrows, Eyelashes and Tongue.
It seems only Clothes support deleting vertices.

I checked by exporting the model to Blender with the new exporter that works via Sockets, and also with the transparent rendering in makehuman when Pose/Animae - Skeleton Tab is selected.

I'll try to find the code where this deletion of vertices hapens for clothes, and apply it to the other folders also (in my branch of cource..).
If anyone has a tip how to do this, or why I shouldn't do it, let me know!
Thanks

Re: Request: Allow Delete-Vertices for body parts

PostPosted: Mon Jan 20, 2020 6:36 pm
by smonbrogg
hmm, just stumbled over a comment in human.py

Code: Select all
# TODO introduce better system for managing proxies, nothing done for clothes yet


is anyone working on this?

Re: Request: Allow Delete-Vertices for body parts

PostPosted: Tue Jan 21, 2020 5:04 pm
by smonbrogg
joepal wrote:I know delete groups work for at least hair, but it was news to me that it does not for eyes.


How does it work for you with hair? For me it doesnt seem to work.


I got it working by changing the makehuman code a bit thow :-)
It's not ready for a pull request, but I think I'm on the right way.
Here's the branch in my fork, in case anyone is interested:
https://github.com/simonbroggi/makehuma ... body-parts

I Hope I'll find the time to finish this soon...