Page 1 of 1

Fingernails as category in MH

PostPosted: Sat Aug 22, 2015 8:11 pm
by wolgade
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?

Re: Fingernails as category in MH

PostPosted: Sun Aug 23, 2015 8:42 am
by joepal
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

Re: Fingernails as category in MH

PostPosted: Sun Aug 23, 2015 6:53 pm
by brkurt
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:

Re: Fingernails as category in MH

PostPosted: Mon Aug 24, 2015 12:18 pm
by wolgade
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. :)

Re: Fingernails as category in MH

PostPosted: Mon Aug 24, 2015 5:09 pm
by Mikel_J_Gee
I may be totally off-topic -- but, wouldn't it be much better (and more logical) if things like fingernails would be morph-targets???

Re: Fingernails as category in MH

PostPosted: Mon Aug 24, 2015 6:31 pm
by wolgade
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.

Re: Fingernails as category in MH

PostPosted: Tue Aug 25, 2015 1:03 pm
by duststorm
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 ;)