Showing posts with label tutorial. Show all posts
Showing posts with label tutorial. Show all posts

Sunday, August 23, 2009

Human head modelling (suite)

Hello buddies!!
As promised, we'll finish the head modelling today. So last Sunday, we took reference photo of a model, drew topology atop the pictures, created the geometry conforming the drawn topology in the front viewport of 3dsmax. This resulted in a flat surface to which we added volume by moving vertices in a side view (right view for me, it depends which side you drew the topology). That's it for the resume.

Now what we're going to do is end up the modelling and then map and texture the model.


PartII: MODELING (suite)



Now I'm going to close the back and the bottom of the head.

I select the two first edges on top of the head and extrude them in the left viewport to make the shape of the skull.

I realize that it may become knotty because of possible difference of topology. So I undo this and go back to photoshop, to draw the topology before modelling. I set visibility to 0 and grab the viewport (screen capture works as well).

Here's the topology I drew

Ok, I can go for the extrusion thing :-)

Then I continue until I close the back of the head.below is what I get.


Now, I'll deal with the chin

I extrude edges and go so on until I close it.



I'll make the nostrils now. I select the polygon at the center of the bottom side of the nose and bevel it inward twice. I think it's gonna be ok for now.


-->It's time for the ear. The ear is complex, I wonder if I should spare time and use one I made before or stick to the model and go from scratch. Generally, I make the ear in a different file and merge it afterward. It'd need new guides to stick to the model, which means going back to photoshop. I think I'll use a ready ear and make another post especially about modelling an ear.

So I merge an ear. I'll try to put a link at the end of the message to dowload the ear model until I find some time to make the ear tutorial. I add a Xform modifier to and resize and get it to the right position.


I move vertices of the border of the ear to match the topology of the head.


After that I "cut" the model to create a countour for a hole the ear will plug into and delete the polygons.


I make sure there's no texture on the ear; I select it and type in the mini mascript listener the following : $.material=undefined
I attach the ear to the head and weld the backside vertices.


A view from inside, with "backface cull" disabled can be useful.


Before welding the front vertices, I need to insert some more vertices onto edges. Sorry, I went on and forgot to make a picture. The problem with using pre-made parts is that some times, the difference of topologies can force you to add triangles in the mesh. But I prefer having triangles than faces with more than four edges.


I'm done with the ear, let's make now the inside of the mouth. I select the edges except the one that connects to the coner of the mouth (I don't want the corner vertice to be modified) and make a "chamfer" with 2 segments, to have mater to work.




I select the vertices of the middle loop, except the 2 last. I move them inward.

I select the edges and make a "connect". I move those new vertices/edges to get a shape. I won't add extra details, but I could fine tune the shape by adding at least two more loops.


Now, it's time to have a proper symmetry plane. I go to "border subObject" mode select the boder, toggle to "edge subObject" (max keeps the selection). With "Alt" pressed I get rid of the neck edges. I convert my selection to vertice (Ctrl+click on the icon). In the front viewport, I align the vertices along X axis with "make planar".


I zoom in to have a look at the position of the pivot compared to the symmetry plane. I turn to "affect pivot only" and move the pivot to align it with the model's symmetry plane.


I activate my symmetry modifier. It looks ok.


______
Bonus: I organize my scene with the layer manager, so I can hide/unhide objects easily. Especially, the planes for the reference images are in separated layers. I also use the "Fetch" command from time to times sothat I can retrieve a previous valid state if needed. I use to keep copies of the model at differents stages of modelling in a layer that I call "safe".


PART III: MAPPING - TEXTURING


I apply a "uvwUnwarp" modifier above "symmetry".

I begin by separating the ears by applying a planar map to them while their faces are selected. I remove the nostril and the inner mouth too. I can then cylindricaly map the head. I turn the mapping gizmo sothat the green line lays behind the head (this is where the uvs will be sliced). There is a line of polygons behind that are not well mapped.

I select them and apply a planar map with the "align Y" option. the I open the Edit window and weld the UVs to the corresponding part of the main head (corresponding vertice highlight in blue).


Now I try to unstrech some parts, like under the chin and around the nose. I resize the separated elements and make a place for them.


Usually I would collapse the stack, delete half of the face, apply a new symmetry modifier and miror and weld the UVs of the symmetrized geometry to keep my UV perfectly symmetrical. But I won't go through that pain today ;)
So I'm ready to make the textures. I Use the tool menu to render the UVW template. I'll use the reference photo to make my textures so I use a size according to the photo.


I minimize 3dsmax and go under photoshop. I begin by selecting parts of my front image, making new layers from them and then matching them to my uvw template.


I take the face without its features and place it under my template. NB: the uvw template (background) have been changed to a standard layer (2-click) and placed on top of the drawing layer with the blending mode "lighten".


I do the same with the side. I use the clone stamp tool to begin to draw.


I want to select a base color; I choose a good area on the skin and pick my color. It will be #654026.


I delete the right part and use symetry to get it.


I forgot to delete the ear. I deal with this quickly.


Ok, I save the photoshop file and a jpg, because psd can be big and I don't want to load it into max. I want to have a look at it so far. Back into max, I create a material with the jpg as bitmap.


Ok, I go back to photoshop to deal with the cutted parts, begining with the ear.


It seems a bit too dark. In stead of modifying the map, I'll try to fix it within 3dsmax.

I go at the bitmap level on the material editor, under "output" and change some parameters. I enable "Clamp" and put RGB offset to 0,11; I also enable color map where I stay in mono and move the second point a little bit upward.

The head appears thin because I meshSmoothed it, so it would need some tweakings to match again with the model.

Ok, we'll end this here.
Hope it was useful.
Cheers!
P.S: the file for the ear:

Sunday, August 16, 2009

Human head modelling

Hello everyone,
In this post, I go throw the modelling of a human head. I intend to write it like a making of or a mini-tutorial. What will be covered is: setting the references images, modelling, mapping and texturing. Hope it'll will be useful.

Part I: guide setting (reference images)

I take several shots of "the model", from two points of view.

Then, I choose the best picture and go under photoshop. There will be a need for lens correction, so I managed to get some straight lines behind the model, so I can retrieve the lens correction settings for the camera I used. the "remove distortion" value I used was 20.
I chose two picture and lined them up:










Now I go ahead and try to draw the flow of the future polygons; this can help to go faster at the modeling stage, and prevent bad topologies.
I draw my lines with the Pen tool.










There are two triangles in my topology. I stroke the paths an then, with the eraser and the pencil, I correct the topology to eliminate the triangles.

I saved three files, the side, the front with topology drawn and the simple front.


PartII: MODELING


Next I jump to 3dsmax, make a small plane in the front view and convert it to "editable poly".
















Then I extrude edges to match my drawn topology in the front viewport. It results in a flat geometry, to wich I'll try to add volume in the left viewport.















I set the viewports layout to 2 view (views menu->viewport configuration->layout) and move vertices to match the side picture. To help me in this, I go in the "object properties" (right-click on the object) and turn visibility to a low value (like 0.1).

I get something like this.

















We're now going to add the nose and the mouth. This step is a bit fussy, because eyes, mouth and nose are important items of the face. Some people can be recognized just by those three shapes. So if one is messed, the whole model is messed. Ok, let's go head and begin with the nose.

I select the 3 first edges of the border of the nose, and bridge them with 5 steps.














I toggle to "border subObject" selection and cap the remaining hole. I make some little "Cut" on edges and I move vertices to shape the nose. I added a symmetry modifier above the "editable poly".

















Ok, we'll do the nostrils later. We jump now to the mouth. I select the 3 first vertices and bidge them with 4 steps.












Ditto, I go into "border subObject" mode and cap the hole; I make 2 "cut". Then I move vertices to shape the lips.
I needed an extra loop of edges for the lower lip. I was hesitating to let it for later so I don't have a lot of details now in case I need a big refining. I finally go head and add the loop. I make a last cut and move the vertices.



















We'll make the inside of the mouth later.
Ok, I think we can deal with the eyes now. I would usually make a sphere to shape the contour of the eye around it, but I have a finished eye, so I merged it. I move the vertices, and then extrude the edges of the eye's hole inward twice; move vertices as usual. After that, I select the bordering loop and "chamfer" them with a low value, in "local normal" mode.













I moved some vertices on the chin by the way.



















Now I need to close the back of the head, add nostrils, inner mouth and ears, but I'll do this next Sunday.

Cheers!