Request: Allow Delete-Vertices for body parts

Tech support and suggestions forum. If you only have a basic question on how to get started, please use the "newbies" forum in the community section.

Moderator: joepal

Request: Allow Delete-Vertices for body parts

Postby smonbrogg » Wed Jan 15, 2020 4:38 pm

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?
Last edited by smonbrogg on Mon Jan 20, 2020 2:55 pm, edited 1 time in total.
User avatar
smonbrogg
 
Posts: 26
Joined: Tue Aug 21, 2018 7:36 pm
Location: Zurich

Re: Request: Allow Delete-Vertices for body parts

Postby joepal » Wed Jan 15, 2020 4:50 pm

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.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 3870
Joined: Wed Jun 04, 2008 11:20 am

Re: Request: Allow Delete-Vertices for body parts

Postby smonbrogg » Mon Jan 20, 2020 2:54 pm

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
User avatar
smonbrogg
 
Posts: 26
Joined: Tue Aug 21, 2018 7:36 pm
Location: Zurich

Re: Request: Allow Delete-Vertices for body parts

Postby smonbrogg » Mon Jan 20, 2020 6:36 pm

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?
User avatar
smonbrogg
 
Posts: 26
Joined: Tue Aug 21, 2018 7:36 pm
Location: Zurich

Re: Request: Allow Delete-Vertices for body parts

Postby smonbrogg » Tue Jan 21, 2020 5:04 pm

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...
User avatar
smonbrogg
 
Posts: 26
Joined: Tue Aug 21, 2018 7:36 pm
Location: Zurich


Return to Bugs, problems and feature requests

Who is online

Users browsing this forum: No registered users and 1 guest