Blender Underground

Away from the watchful eye of The Man
It is currently Sat May 18, 2013 10:33 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 67 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: MakeHuman to Blender Part I
PostPosted: Sat Jul 26, 2008 6:37 am 
Offline
Director
User avatar

Joined: Thu Sep 06, 2007 8:17 am
Posts: 5144
Location: West Virginia, USA
Shaba1 has done a very nice conversion of this tutorial to PDF for those that want to work with it off-line. Thanks Shaba1!

http://blenderunderground.com/files/use ... _PartI.pdf

This is the first part of the MakeHuman threads that BU is doing in an effort to boost interoperability interest (and because it is fun!) It is broken down into three parts. The first (this post) will show how to use the MakeHuman program and exporting into Blender. The second will delve into fixing the mesh that was imported. The third will go into the rigging. Further, Evol Child has the start of a great little tutorial that will show how to make clothes for the MakeHuman figure found here:

http://blenderunderground.com/forums/vi ... php?t=1026

Background:

MakeHuman is a program that allows the creation of posable 3D figures similar to Poser found here:

http://www.makehuman.org/blog/index.php

The current version (the one discussed here) is MakeHuman-0.9.1-RC1a. It is still under very heavy development so things may change. It is comprised of three mandatory and one optional programs.There are pre-made packages for Windows 98/2000/XP/Vista, MAC OS X, Mandriva Linux (RPM Based) and of course the raw source. The pre-built packages have the three main programs already compiled while the raw source does not. I'll discuss how to compile the raw source since that is common to all builds. If you downloaded one of the packages, it is safe to ignore this next part but remember where it installs to because you will need that later.

Compiling from source:

To compile form source you first must have your system setup for development. That means all the necessary programs as well as development library files are installed. It is beyond the scope of this tutorial to instruct you how to do this and won't be covered here. Go to the download page and click the "MakeHuman-0.9.1-RC1 C++ Source" link. This will take you to the MakeHuman SourceForge page listing the three programs you will need to compile MakeHuman. They are animorph--0.3.tar.gz, makehuman-0.9.1-rc1a.tar.gz and mhgui-0.2.tar.gz. There is also SVN access for MakeHuman but this tutorial won't delve into that. MakeHuman requires that the three main programs be compiled in a special order. That order is animorph then mhgui then makhuman.

Once you have the files downloaded, extract them to a convenient location and compile them using the standard:

./configure --prefix=/usr (the --prefix is optional suit for your system libraries)
make
sudo (or su) make install (root access is needed for this part)

Again make sure you compile animorph first then mhgui then lastly makehuman. If you get errors on your compile, make sure you resolve the errors before proceeding to the next step. For example, if it complains about a missing library, install that library before proceeding.

Installing aqsis:

aqsis is a stand alone render engine that is optional for MakeHuman to run but will ease your import into Blender by leaps and bounds. It is highly recommended that you install this package not only for the import easing but for being able to render your figure from within MakeHuman. Without it, you won't be able to do that. Some distributions (such as Gentoo) of Linux include aqsis in their repositories. Check to see if yours does before trying to compile it from source. If all else fails, go here:

http://www.aqsis.org/xoops/modules/mydownloads/

Try to get the package that best suits your system. That very well may be source. If so, follow the directions for compiling above substituting in the aqsis package. STAY WITH STABLE! Don't download unstable unless you know what you are doing! Again, remember where it is installed.


If everything goes well, you should now have MakeHuman working and able to render the default character. It takes aqsis a long time to render and may look like it is locked up when it isn't. So if you try, keep that in mind.

The MakeHuman Interface:

Depicted below is what you are presented with when you successfully run MakeHuman:

Image

It should be noted right now that MakeHuman figures are nude. There is a push on to develop a clothing line for them but it hasn't seen much development. Until they do, you will have to cloth your own figures in Blender and I refer you to evol child's thread for that:

http://blenderunderground.com/forums/vi ... php?t=1026

The interface for MakeHuman is relatively easy to understand and work with. At the top are the function buttons. Along the side is the new character settings widgets and along the bottom is the tooltip section. Moving your mouse over any screen element will provide a tooltip for that element. The character settings widget is where you adjust the overall dimensions of your character. The red dots are representations of the curves used to achieve a given look.

MakeHuman Interface Control Functions:

The MakeHuman Interface Control functions are located in the upper left hand corner:

Image

They are as follows:

Quit MakeHuman: Quits the MakeHuman program (duh!)

Grid On/Off: turns on or off a grid over your model used for measurements. This is similar to Blender's grid function.

Subsurface On/Off: This will turn on or off subsurfaces as well as subsurface scattering.

Quoted Box On/Off: This toggles on or off the bounding box for the figure similar to the bounding box in Blender.

Texture On/Off: This toggles on or off the UV texture of the figure.

About MakeHuman: Displays the MakeHuman splash screen seen at start-up. It gives the credits as well as version and other interesting info.

File I/O:

The next group of buttons at the top are the file I/O functions.

Image

They are as follows:

Load Body Setting: Loads a previously saved body setting. This is MakeHuman's format and cannot be used directly in Blender.

Save Body Setting: Saves a MakeHuman body setting for later use. This is MakeHuman's format and cannot be used directly in Blender.

Export Wavefront Object: Export as a Wavefront Object formatted 3D character. This function has been in MakeHuman since day one and is considered "stable". It has some limitations I'll go into later.

Export Collada Object: Export as a Collada file. This is the preferred method of exporting to Blender because it exports far more than the Wavefront Object can. It is a new function to MakeHuman. It is considered "unstable" and has limitations as well that I'll explain later.

Character Functions:

The character functions are where your characters are defined:
Image

They are as follows:

Character Settings: This is the overall character settings curves as shown in the default start-up screen. Adjustment of the body type sliders on the left hand panels will adjust your character's overall body. Everything from body mass to character age can be adjusted from here. This is the first stop to making a character.

Body Details: allows fine control of the details of your character:

Image

Clicking on a circled element in the selector panel will zoom your character to that element and provide options for adjusting that element.

Poses Panel: Allows you to pose your character in just about any pose imaginable.

Image

Just like the Body Details character function, clicking on a circled element in the pose panel will provide options for posing that element. Currently, MakeHuman only supports still poses. Animated poses would be a great feature after they settle down the still side IMO.

Library Functions:

The library functions allow you to save and retrieve pre-configured characters and poses:

Image

Character Library: Allows pre-defined character types to be loaded. Character developers and users can add their own libraries to the list. Currently, only one defined character library is available and the functionality to add your own is non-existant. I did mention MakeHuman isn't completely developed yet right.... :P Still, it is a good start for those that don't want to fool around with defining their own character.

Poses Library: Like the character library, it allows pre-defined poses to be stored and retrieved. Again, development is in progress for adding your own pose library. There is currently only one pose library available.

Rendering Functions:

These functions interface with the aqsis render engine ONLY if you have installed aqsis.

Image

Rendering: This will render a full scale image of your posed character. It takes quite a while to render so this should be the last step you take. It isn't like Blender in that you really can't use it for a "quick render" to see what is going on with your character.

Rendering Preview: This is a scaled down version without subsurface scatter. it is quicker than a real render but I found it still takes a while.

Finalization Functions:

The last set of buttons are the finalization functions for your final character render:

Image

The finalization functions allows you to setup the final scene for render. The buttons are as follows:

Used Morphing List: Shows a list of the Body Fine Tuning panels you have adjusted for your character. Anything you adjusted (or was adjusted for you in a library) from the Body Details section will be shown allowing you to really fine tune the character. This is also where I would put an export to library function where I the developers...hint, hint... ;)

Reset Mesh: Resets the mesh to the default character discarding any morphing and poses you have applied. This is getting you back to a baseline figure for that "oh, I really messed this up" feeling.

Load Background: Loads a background image that will be rendered with your character. Since we are going to be exporting to Blender, there really is no need to use this feature. I haven't explored the limitations on it as a result. Go ahead and play with it if you want and post below your findings. :D

Final Thoughts on the MakeHuman Interface:

MakeHuman shows a lot of potential as a stand-alone program but it does need lots of work before it can really claim to be the "Poser substitute". Many interface functions still don't have pixmaps for them and core functionality like library functions are not complete. Clothing and hair are also areas that need heavy work. I think that part of the problem in getting these things developed is the ease it is to get the character into Blender and doing those fine tunings in Blender. A common reply to complaints about them is "do it in Blender!" That kind of attitude doesn't help the stand-alone program get better. Also, development is at a snails pace in this project. It may see months without any changes to the code where Blender by comparison has 20-30 changes daily. The number of developers is also relatively small which contributes to the slowness of developments. Lastly, the developers you have there are more interested in getting new features into the interface than settling on one standard interface and developing that fully before moving on to other bells and whistles. That doesn't mean that the program is useless by any means, it just simply means a frustrating and limited experience for the stand-alone program.

Well, enough of that. Let's move along....

Exporting for Blender:

There are two methods to export that Blender can use. One uses the WaveFront Object format while the other uses the Collada DAE format. WaveFront Object format is the old tried and true standard that has been with MakeHuman since day one. The problem with the WaveFront standard is it doesn't retain settings from MakeHuman like Collada can. This means that armatures, skeleton and poses won't be exported properly when you use this format. Collada, on the other hand, will bring in the armature, skeleton and poses but the import plug-in for Blender can be problematic. Which you use is totally dependant on what you want to do and personal preferences. In either case, the export is the same as well as the import. The only difference is which exporter / importer you use and where you get the file to be imported.

To export your posed character in WaveFront, simply click the "OBJ" Export Function in MakeHuman:
Image

To export your character in Collada use the "Col" button:
Image


In both cases you need to specify a meaningful name. In the case above, I used the default figure so I called it "Default". WRITE DOWN OR REMEMBER WHERE IT PUT THE FILE!!! We will need that info later. Lastly, do a full render within MakeHuman and allow it to finish so that we can pick up the UV images later in tutorial II.

You can now safely exit the MakeHuman program and fire up Blender for import...

Importing to Blender:

Before we can import into our favorite program, you MUST have Blender AND Python installed since it is a python script we are going to use to import our character. Looking at the console window when you start Blender will tell you if it found and is using your python installation. If you get an error about python not found, go to python.org and install it.

Remember I told you to write down where MakeHuman saved your export? Now is the time to use that. First though, I'll explain what happened when you first fired up MakeHuman. MakeHuman creates a directory structure somewhere on your harddrive that has the following structure:

Code:
makehuman
         |
         |___mybackgrounds
         |
         |___mybs
         |
         |___mycollada
         |
         |___myobjs
         |
         |___myposes
         |
         |___rendering


The three that are important to our Blender import are mycollada, myobjs and rendering. On a Linux system, that structure will be placed in your home directory. Other platforms will probably put is somewhere else. You should notice that your export path will eventually lead to the makehuman directory outlined above.

If you used Collada as the export then all the mesh data is stored in makehuman/mycollada/<NAME YOU GAVE>/mesh.dae. Notice that the exporter did not name your file but instead created a whole directory with your named folder. This fact will make finding your export easy since all you should have to search for is either the named folder or "mesh.dae".

If you used the WaveFront OBJ exporter, it will be the same but in myobjs folder with two files. The material file is always called "materials.mtl" and the mesh is always called "mesh.obj". Both these are needed to import the WaveFront object file.

Collada Import:

We now should be totally ready to import into Blender. This section is for those that want to use the new Collada Importer. Skip to the next section if you intend to use the WaveFront Importer. In Blender, choose "File->Import->Collada 1.4 (*.dae)" to begin the process:

Image

The image above reflects the default options when you open the importer. Experimentation on my part has found that the default will work but a better way is to select "Only Import Main Scene" and go with its default setting:

Image

Notice that I browsed to where my "Default" collada export file is and selected it for the import. Clicking "Import and close" should bring it right in in a new scene.

Image

If you made it this far, you should have noticed that it imported two scenes. To see them open an outliner pane and it should look like this:

Image

WaveFront Import:

We should now be totally ready to import into Blender using WaveFront Object. In Blender, choose "File->Import->Wavefront (*.obj)" and browse to the "myobjs" directory. You will see the two WaveFront files but the only one you want to select is the OBJ file:

Image

The defaults are fine here so clicking on "Import file" will bring it into Blender.

Image

Unlike the Collada importer, the WaveFront importer didn't bring the mesh into a new scene. Also, it didn't bring in the armature for animations. These are limitations of the WaveFront Object format. If you plan on animating your character, use the Collada method listed above.

That's it for this part of the tutorial. Part II of this tutorial can be found here:

http://blenderunderground.com/forums/vi ... php?t=1046

See you there! :D

_________________
Life is an illusion....It's the magician you have to worry about!


Last edited by penix1 on Tue Sep 23, 2008 3:54 pm, edited 2 times in total.

Top
 Profile  
 
 Post subject: Make human
PostPosted: Sat Jul 26, 2008 8:42 am 
Offline
Agent
User avatar

Joined: Tue Feb 12, 2008 5:12 am
Posts: 292
Cool thanks Ill be one of the followers of this tutorial.

I have a problem with the rendering, I installed aqsis but what i get is a black image in the preview, and a withe one in the full render. Any ideas?

(at the end of aqsis installation it ask me if i wanted to install something like c++, do I have to install it too?)

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 26, 2008 10:18 am 
Offline
Operative
User avatar

Joined: Fri Mar 28, 2008 11:56 am
Posts: 142
Location: Sylvania, Ohio
Hope you don't mind penix1, I put a link over at Blender Newbies to this awesome tutorial. Great job! Can't wait tell part two.

_________________
Life = Risk

My Gallery
My Space Page


Top
 Profile  
 
 Post subject: Re: Make human
PostPosted: Sat Jul 26, 2008 10:29 am 
Offline
Director
User avatar

Joined: Thu Sep 06, 2007 8:17 am
Posts: 5144
Location: West Virginia, USA
ivanegues wrote:
I have a problem with the rendering, I installed aqsis but what i get is a black image in the preview, and a withe one in the full render. Any ideas?

(at the end of aqsis installation it ask me if i wanted to install something like c++, do I have to install it too?)


aqsis requires the libraries to run. I think it uses OpenGL but I'm unsure of that. You do need the C++ runtime library. Let it install if it is trying to.

[EDIT] Ivan, for MakeHuman it really doesn't matter as long as there is a valid makehuman/rendering/final_render.tif file available. Let it render and see what that looks like.

_________________
Life is an illusion....It's the magician you have to worry about!


Last edited by penix1 on Sat Jul 26, 2008 10:37 am, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 26, 2008 10:37 am 
Offline
Agent
User avatar

Joined: Mon Jun 23, 2008 2:15 am
Posts: 584
Location: Michigan
I added a link back here off part 1 of mine. Talk about redundant loops. :D

I did learn a bit more about this program thanks.

High Five!!

_________________
HAVE FUN! :D Get animated.

Vincent
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 27, 2008 8:14 am 
Offline
Director
User avatar

Joined: Thu Sep 06, 2007 8:17 am
Posts: 5144
Location: West Virginia, USA
Guys, I'm going to be a bit late on part II of this. It may not show up until tomorrow evening. Sorry for the delay but I'm having a bit of a personal problem I need to work out. You know what they say, all good things come to those who wait...If I can get it in earlier I will.

_________________
Life is an illusion....It's the magician you have to worry about!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 27, 2008 11:03 am 
Offline
Director
User avatar

Joined: Mon Sep 03, 2007 12:02 am
Posts: 1037
Location: Kanaduh Eh!?
Slacker!

Nah man its all good. This is a fine beginning and there is no set deadline. I'm a Latter-Day Saint and one thing I have come to appreciate within the realm of life and the Gospel is that Family comes FIRST.

We will be here for you and ready to learn more when you are able.

_________________
Image


Top
 Profile  
 
 Post subject: Make human
PostPosted: Sun Jul 27, 2008 11:51 am 
Offline
Agent
User avatar

Joined: Tue Feb 12, 2008 5:12 am
Posts: 292
Its a good time to experiment wile the II part comes.
Still nothing comes on my renders, maybe I have to reinstall MH. (I already installed C++)

_________________
Image


Top
 Profile  
 
 Post subject: MakeHuman to Blender Part I
PostPosted: Fri Aug 22, 2008 3:31 pm 
Offline
Informant

Joined: Fri Aug 22, 2008 3:20 pm
Posts: 3
Location: Salisbury, MD USA
Thank's for an excellent tutorial. I can see where the information from this could be used to enhance other tutorials available. I'm looking forward to the next parts.

_________________
Peter Walker
Salisbury, MD USA
walkercreations.org


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 23, 2008 2:18 am 
Offline
Director
User avatar

Joined: Thu Sep 06, 2007 8:17 am
Posts: 5144
Location: West Virginia, USA
The next parts are already posted...

Part II is here:

http://blenderunderground.com/forums/vi ... php?t=1046

Part III is here:

http://blenderunderground.com/forums/vi ... php?t=1128

_________________
Life is an illusion....It's the magician you have to worry about!


Top
 Profile  
 
 Post subject: SuSE Linux
PostPosted: Fri Sep 05, 2008 4:59 pm 
Offline
Informant

Joined: Fri Sep 05, 2008 4:48 pm
Posts: 8
Location: Wichita, KS
I'm running on SuSE 11.0, and found that the current version of MakeHuman is available on the PackMan repository, going back to SuSE version 10.2. This is available at http://packman.links2linux.org/package/makehuman, unless you already have PackMan assigned as one of your repositories in YaST.

Wildcat


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 05, 2008 5:17 pm 
Offline
Director
User avatar

Joined: Thu Sep 06, 2007 8:17 am
Posts: 5144
Location: West Virginia, USA
Welcome to the boards Wildcat.... :D

That is good info to know. I run Gentoo here so compiling from source isn't a worry for me. Heck, for Make Human I do SVN.

I really do wish the devs would not concentrate on new features for this strong program but instead work out the kinks and missing functions in the current code. As I said in my tiny rant in the tutorial above, it has potential but I think the ease of getting the character into Blender is hindering the stand alone MakeHuman product. It can be a kick butt program if they concentrated on those and let the Blender Heads worry about the export / import. Every question I've asked in their forums has had someone saying, "Just do it in Blender!' That can't be good for the MakeHuman stuff.Still, BU is a Blender site and it does interface very well with Blender.

Anyway, I ramble too much so in closing, welcome again.... 8)

_________________
Life is an illusion....It's the magician you have to worry about!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 11, 2008 1:08 pm 
Offline
Informant

Joined: Thu Sep 11, 2008 12:59 pm
Posts: 9
Penix would it be possible to make this into one big pdf file that people could download,l print and read offline. I tried to do it with PDF creator but the Css at the site move the right margin off the page. And I do not want to go thru the html and css of the source to get your posting.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 11, 2008 3:46 pm 
Offline
Director
User avatar

Joined: Thu Sep 06, 2007 8:17 am
Posts: 5144
Location: West Virginia, USA
There are 152 images in these 3 tutorials that are scaled for BU. What you ask would make a HUGE PDF. Also, I posted this here to drive traffic here. Although all my posting here are public domain as far as I'm concerned, if I had my druthers, I would prefer to not do it. I will make life easier on you and give you the text versions that I used to post these. If you wish to make PDFs, feel free. Keep in mind though, it is setup to use BBCode.

Part I:

http://blenderunderground.com/files/use ... /PartI.txt

Part II:

http://blenderunderground.com/files/use ... PartII.txt

Part III:

http://blenderunderground.com/files/use ... artIII.txt

One last thing, if you do this, could you post them back here and I'll link them up in the tutorial?

[EDIT] There go my manners again.... :?

Welcome to the boards Shaba1! :D

_________________
Life is an illusion....It's the magician you have to worry about!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Sep 21, 2008 10:22 am 
Offline
Specialist
User avatar

Joined: Mon Apr 14, 2008 11:00 pm
Posts: 2315
Location: Secret Basement HQ in Salt-Lake City
I wounder is Alien Will convert the RPM into a working DEB for use Debian/Ubuntu users... guess there is only one way to find out...

well what do you know... Alien seem to me a bit hit or miss with what I go after. Still would be nice if there was a working [source].tg.gz to DED/RPM automation. that way just download the Source that eigther in .tar or .tar.gz archive and with out having to unpack it, just Graphically go over and tell it to compile it directly into a package manager file for easy install later.

OK Well Time to mess around with Make Human. Maybe I can make me a Convincing Ninja/Kunoichi for the animation project a whole not more quickly.

_________________
When all else fails... Keep shooting at it!...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 67 posts ]  Go to page 1, 2, 3, 4, 5  Next

All times are UTC - 8 hours


Who is online

Users browsing this forum: Exabot [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Translated by Xaphos © 2007, 2008, 2009 phpBB.fr