Fingernails as category in MH

This forum is aimed at user contributions, in the form of assets, side projects, code patches and similar.

Moderator: joepal

Fingernails as category in MH

Postby wolgade » Sat Aug 22, 2015 8:11 pm

I recently posted female fingernails as clothes to the user repo (http://www.makehumancommunity.org/clothes/female_fingernails.html).

I wasn't too happy about them being categorized "clothes", so I played a bit with the MH source code. Now MH looks like this:
geometries.jpg

materials.jpg

I made a feature request to implement something like this (http://bugtracker.makehumancommunity.org/issues/948. What do you think?
wolgade
 
Posts: 795
Joined: Wed Jan 30, 2013 6:50 pm

Re: Fingernails as category in MH

Postby joepal » Sun Aug 23, 2015 8:42 am

Since you have code, an efficient way to submit this would be to make a pull request at bitbucket.

https://bitbucket.org/MakeHuman/makehum ... quests/new
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4465
Joined: Wed Jun 04, 2008 11:20 am

Re: Fingernails as category in MH

Postby brkurt » Sun Aug 23, 2015 6:53 pm

joepal wrote:Since you have code, an efficient way to submit this would be to make a pull request at bitbucket.

https://bitbucket.org/MakeHuman/makehum ... quests/new


I'm definitely *not* going to mess with the source code, but I do agree with Wolgade on this one, as this has been the request of my female students whenever I let them try out Makehuman in the lab--which I will do again after Christmas.

I would like to add a 'makeup' category, beginning with sets of eyes, eyelashes, and eyebrows. This way I would try out some of the new eyelash and eyebrow meshes, as well as to increase the range of eye colors and designs (without copyright infringement). :geek:
brkurt
 
Posts: 1100
Joined: Sun Feb 17, 2008 8:49 pm

Re: Fingernails as category in MH

Postby wolgade » Mon Aug 24, 2015 12:18 pm

joepal wrote:Since you have code, an efficient way to submit this would be to make a pull request at bitbucket.

I would, if I considered it ready. At this stage it's more a demo, but ready to use. It's a copy and paste job. I took the eyelashes pluging and changed the names of some variables. In human.py and proxy.py I dealt with the code parts that included "eyelashes" or "Eyelashes". That's it, but unfortunately it's not enough. Fingernails need the ability to hide or delete human vertices to work properly. This ability exists in the clothes pluging only, but clothes are a bit different since you can have more than one piece of clothing.

That's were the copy and paste approach comes to an end. To adapt the code from the clothes pluging I might even have to learn python. :)
wolgade
 
Posts: 795
Joined: Wed Jan 30, 2013 6:50 pm

Re: Fingernails as category in MH

Postby Mikel_J_Gee » Mon Aug 24, 2015 5:09 pm

I may be totally off-topic -- but, wouldn't it be much better (and more logical) if things like fingernails would be morph-targets???
Mikel_J_Gee
 
Posts: 26
Joined: Thu Sep 04, 2014 7:45 pm
Location: Prusków, PL

Re: Fingernails as category in MH

Postby wolgade » Mon Aug 24, 2015 6:31 pm

Mikel_J_Gee wrote:wouldn't it be much better (and more logical) if things like fingernails would be morph-targets???

Did you have a look at the UV map? Even if you scale the skin texture up to 4096x4096 you almost have no room to paint your fingernails. Might work for solid colors. Anything else will be blurred as hell. Morphing will give additional stretch to this small area.

That's the reason why I initially added fingernails as clothes.
wolgade
 
Posts: 795
Joined: Wed Jan 30, 2013 6:50 pm

Re: Fingernails as category in MH

Postby duststorm » Tue Aug 25, 2015 1:03 pm

It's a good test case for evaluating the plugability of the proxy library system. I see that we need proxy.py to be able to register custom proxy types before this can become a completely independent plugin that does not require modifications to the core.

As you said, it required copy-pasting to create this plugin, but only a minimal amount of it (actually only a bit of boilerplate code, and not much at all). This means we're on the right track ;)
MakeHuman™ developer
User avatar
duststorm
 
Posts: 2569
Joined: Fri Jan 27, 2012 11:57 am
Location: Belgium


Return to User contributions

Who is online

Users browsing this forum: No registered users and 1 guest

cron