Makehuman WIP


(Manuel) #1

Hi gui!
I want update the news about MakeHuman.
We are write a rich GUI class.
This is, for example, the class Treewin used
to navigate in the human model hierarchy:

http://www.kino3d.com/~Ken75/makehuman/screenshot.jpg


(wiensta) #2

amazing


(eeshlo) #3

Wow, that looks incredible! Very sophisticated look, great work Manuel!


(Manuel) #4

Oh…thanks! :smiley: :smiley:


(Manuel) #5

This is an update, and a news about the Docwin: you
can load the documentation directly while you are working
with the script:

http://www.kino3d.com/~Ken75/makehuman/screenshot3.jpg

http://www.kino3d.com/~Ken75/makehuman/screenshot2.jpg


(tredee) #6

Nice Work Manuel & Friends (Saluti da Andera).


(Schlops) #7

Holy Sh*t !! :o :o :o
Can’t wait to get this script!


(IngieBee) #8

Question:

I never tried morphing something and then “baking” it. Is this how you make the new shape “set” so that you can now use it in a game engine?

After being “baked” can you then remove all the “morphing” atributes, the scripting and use only the newly shaped model to import into, say in my case, a game?

I love your “Make Head” it’s so fun to play with, thanks, Ingie


(mthoenes) #9

Very cool!
Can’t wait to see it in action…


(theeth) #10

the screenshots are really nice!

I hope you have a good OOP structure to back it though.

Martin


(Manuel) #11

Yes. Now I don’t use internal mesh attribute: the mesh is always free to use! :smiley:
You must only exit from the script.

This is another update. Now the width of lines is proportional to
hierarchy.

http://www.kino3d.com/~Ken75/makehuman/screenshot4.jpg


import Blender
from Blender.Draw import *
from Treewin import *

o = Treewin(10,450,290,270)

#----------Create the items-----------
# item(x,y,event)

fullbody = Item(155,300,1)
chest = Item(155,350,1)
abdomen = Item(155,250,1)
rshoulder = Item(205,360,1)
lshoulder = Item(105,360,1)
head = Item(155,400,1)
pelvis = Item(155,200,1)
rforearm = Item(245,340,1)
lforearm = Item(65,340,1)
rarm = Item(260,300,1)
larm = Item(50,300,1)
rhand = Item(250,260,1)
lhand = Item(60,260,1)
rthight = Item(200,300,1)
lthight = Item(110,300,1)
rcalf = Item(210,250,1)
lcalf = Item(100,250,1)
rfoot = Item(200,200,1)
lfoot = Item(110,200,1)
reye = Item(255,390,1)
leye = Item(55,390,1)
mouth = Item(280,365,1)
nose = Item(30,365,1)
rear = Item(220,406,1)
lear = Item(90,406,1)

#---------Set some items attributes----
#The hierarchy attribute is for the width
#of connection lines; the other is simple...

mouth.label="Mt"
mouth.tooltip="Mouth"

nose.label="Ns"
nose.tooltip="Nose"


rear.label="rEr"
rear.tooltip="Right Ear"

lear.label="lEr"
lear.tooltip="Left Ear"

reye.label = "rE"
reye.tooltip="Right Eye"

leye.label = "lE"
leye.tooltip="Left Eye"

head.label="H"
head.tooltip="Head"
head.childrens = [reye,leye,mouth,nose,rear,lear]

rhand.label="rH"
rhand.tooltip="Right Hand"
rhand.fillColor['B']=0.7
rhand.lineColor['B']=0.7

lhand.label="lH"
lhand.tooltip="Left Hand"
lhand.fillColor['B']=0.7
lhand.lineColor['B']=0.7

rfoot.label="rFt"
rfoot.tooltip="Right Foot"
rfoot.fillColor['R']=0.7
rfoot.lineColor['R']=0.7

lfoot.label="lFt"
lfoot.tooltip="Left Foot"
lfoot.fillColor['R']=0.7
lfoot.lineColor['R']=0.7

fullbody.childrens = [chest,abdomen]
fullbody.label="FB"
fullbody.fillColor['G']=0.7
fullbody.tooltip="Full Body"
fullbody.lineColor['G']=0.7
fullbody.hierarchy=7

chest.childrens = [rshoulder,lshoulder,head]
chest.label="C"
chest.tooltip="Chest"
chest.fillColor['G']=0.7
chest.lineColor['G']=0.7
chest.hierarchy=4

abdomen.childrens = [pelvis]
abdomen.label="A"
abdomen.tooltip="Abdomen"
abdomen.fillColor['G']=0.7
abdomen.lineColor['G']=0.7
abdomen.hierarchy=5

rshoulder.childrens = [rforearm]
rshoulder.label="rS"
rshoulder.tooltip="Right Shoulder"
rshoulder.fillColor['G']=0.7
rshoulder.hierarchy=3

lshoulder.childrens = [lforearm]
lshoulder.label="lS"
lshoulder.tooltip="Left Shoulder"
lshoulder.fillColor['G']=0.7
lshoulder.hierarchy=3

rforearm.childrens = [rarm]
rforearm.label="rF"
rforearm.tooltip="Right Forearm"
rforearm.fillColor['B']=0.7
rforearm.lineColor['B']=0.7

lforearm.childrens = [larm]
lforearm.label="lF"
lforearm.tooltip="Left Forearm"
lforearm.fillColor['B']=0.7
lforearm.lineColor['B']=0.7

rarm.childrens = [rhand]
rarm.label="rA"
rarm.tooltip="Right Arm"
rarm.fillColor['B']=0.7
rarm.lineColor['B']=0.7

larm.childrens = [lhand]
larm.label="lA"
larm.tooltip="Left Arm"
larm.fillColor['B']=0.7
larm.lineColor['B']=0.7

pelvis.childrens = [rthight,lthight]
pelvis.label="P"
pelvis.tooltip="Pelvis"
pelvis.fillColor['G']=0.7
pelvis.lineColor['G']=0.7
pelvis.hierarchy=3

rthight.childrens = [rcalf]
rthight.label="rT"
rthight.tooltip="Right Thight"
rthight.fillColor['R']=0.7
rthight.lineColor['R']=0.7

lthight.childrens = [lcalf]
lthight.label="lT"
lthight.tooltip="Left Thight"
lthight.fillColor['R']=0.7
lthight.lineColor['R']=0.7

rcalf.childrens = [rfoot]
rcalf.label="rC"
rcalf.tooltip="Right Calf"
rcalf.fillColor['R']=0.7
rcalf.lineColor['R']=0.7

lcalf.childrens = [lfoot]
lcalf.label="lC"
lcalf.tooltip="Left Calf"
lcalf.fillColor['R']=0.7
lcalf.lineColor['R']=0.7

def gui():

	o.drawIt()
	o.setTitle("Human Structure")
	o.drawItem(fullbody)
	o.drawItem(chest)
	o.drawItem(abdomen)
	o.drawItem(rshoulder)
	o.drawItem(lshoulder)
	o.drawItem(pelvis)
	o.drawItem(head)
	o.drawItem(rforearm)
	o.drawItem(lforearm)
	o.drawItem(rarm)
	o.drawItem(larm)
	o.drawItem(rhand)
	o.drawItem(lhand)
	o.drawItem(rthight)
	o.drawItem(lthight)
	o.drawItem(rcalf)
	o.drawItem(lcalf)
	o.drawItem(rfoot)
	o.drawItem(lfoot)
	o.drawItem(reye)
	o.drawItem(leye)
	o.drawItem(mouth)
	o.drawItem(nose)
	o.drawItem(rear)
	o.drawItem(lear)

def event(evt, val):
	if (evt == ESCKEY and not val): Exit()

def bevent(evt):

	if   (evt ==  1): Exit()

Register(gui, event, bevent)

(theeth) #12

nice

Martin


(Manuel) #13

Thanks :smiley: :smiley: !!


(Manuel) #14

Now you can choose the the solid or sketch style.
This is a screenshot from Blender, with the sketch style for
the Treewin:

http://www.kino3d.com/~Ken75/makehuman/screenshot_sk.jpg

thanks to Eeshlo for the explain about openGL… :smiley:


(BaDbOyHeRe) #15

Incredible work !!!
:o


(Fred_Pyo) #16

Ahhh! It looks so… “user-friendly” :wink: , WANNA PUT MY HANDS ON YOUR SCRIPT!!!.. hehehe, can’t wait…


(Skates) #17

I’d say if you’re this far along polishing the GUI, it’s time to let this one loose. At any rate, excellent job everyone who’s worked on this, looks very solid.


(Al_Capone) #18

I’m worried, is this script going to be base on the ideal women, with all the correct height ? They measure the hips, chest etc, by the with of the head, will this also be able to control the hight and age as well ?

Don’t forget the privite parts, hehe :slight_smile:


(Manuel) #19

You have a lot
of parameter to play. This is a old sketch about the
morphing hierarchy:

http://www.kino3d.com/~Ken75/makehuman/albero.jpg

We also use a medical-scientific point of view to add
some prototype of human proportion :smiley:


(Al_Capone) #20

Impressive, well, I’m to dumb for this script.