Monday, 12 October 2009

Week 3 - Facial Extrusion...Ouch!


Set-backs caused by my inexperience and misappropriation with the topology from last week has perhaps set me back somewhat

This week I want  to completely extrude and model the front of my face within the tutorial parameters set by the example we're following




Firstly, I set up the screen to only show both 'front' and 'left' views in a dual-pane view shown here
I then had to right-click on the editable poly that covers the left-hand side of my face and select 'Object Properties' - from there I checked the 'Make See Through' tab which then removed the colour from the Poly and allowed me to see the Topology and Quads below
The 'left' view shows how I'm just beginning to move the first line (ones closest the centre of my face) of 'Vertices' outwards



Watching the tutorial once more, I relaised that I was almost to miss another part out before I needed to extrude vertices - I had to 'Highlight' all the vertices that I planned to extrude first (and few extra appeared around the base of my nose that I had to 'Weld' back into the 'Poly' as a whole) and select the 'Make Planar' tab under 'Edit Properties'
By aligning the 'planar' to the 'Y' axis, Max created a straight line from which the addition of the 'Symmetry' modifier later on would be able to cope with better than leaving the divide uneven to start with



Now that I had a 'Planar' surface, I had to 'Weld' all the vertices together so that when I was to pull them outwards, they wouldn't break apart, disturb and perhaps lead to 'tears' of the complete 'Poly' object

This was achieved by restoring the 'Edit Vertices' tab part of the 'Editable Poly' selection window and selecting the little table icon next to 'Weld'
As the 'Weld Vertices' window shows, by increasing the 'Weld Threshold', there will be a smaller number of vertices as a result of the 'Weld' process



By highlighting the first line of vertices nearest the 'Planar' line, it is possible to begin the construction and modelling of the face
The stage shown here is where I'm in the middle of adjusting the positions of the first line of vertices I had dragged out - the intention is is follow the contours along the 'Profile' view of the 'Reference Plate' by using the 'Left' viewing panel
(this is also where/why showing only the 'Front' and 'Left' view is beneficial!)




The is a demonstration of how I was intending to keep a check on what the model was looking like as I was extruding each row of vertices outwards, by switching to the 'Perspective' view and gradually seeing the physical form of my features developing on-screen - eerie, to say the least!



This was the stage where the screen becomes a little haywire unless you maintain concentration when selecting and re-postioning each vertex to keep the model accurate and with consistency of overall form
I had finished the first line of vertices here, but once progression is apparent, the second, third lines and so forth start to create the 'triangular' shapes which is under the intention to avoid when constucting this - they will be resolved as each new line is begun (if the Topography at the start is complete enough that is...)

 

So, I went on dragging out each new line of vertices until I had adjusted all of them at least to give me an idea of where the draft positioning had led the model to appear as
As I returned to the 'Perspective' view once more, this was the view that greeted me - a little untidy, but I was pleased with the general form and that I didn't seem unresonable to recognise its resemblance to its creator!

 

To display the model in this fashion, all I needed to do was to right-click on the 'Poly' object itself, go to 'Object Properties' and then uncheck the 'Show See-Through' option
The model will now return to the 'Editable Poly' solid form that it was originally modelled as and this will just give a better idea of overall definition of bone structure and muscle around the facial structure as a whole

 

 Unfortunately, when I was to rotate the camera it 'Perspective' mode in order to give me a clearer view of the object underneath, I was shocked and slightly concerned to find this
Two 'Quads' that I'd thought I'd attached to the 'Weld' (but of course weren't, it turned out) and I was none the wiser when the vertices were being dragged outwards when forming the facial structure
I was fearing a repeat of the object-orientated problems from my 2nd Years work when creating the room objects around Si the Aliens home...

  

Referring back to the CGI-India tutorial, I found that he doesn't actually come up against this problem (professionals, eh?!) so I was to figure it out for myself
Under the 'Edit Geometry' tab, there are various options, of which one is the 'Cut' tool (just above the 'Make Planar' tool used earlier in this post) This allows you, as shown here, to remove single '(Sp)Lines' that may not be suitable or neccessary and replace them with new, pre-'Cut' lines
I also discovered, along with this previously un-used tool, that this will only work when joining two vertices together, again securing the 'Quads' to remain complete

 

This is where I was in the elongated process of repairing and replacing various Topology-referenced 'Lines' that I hadn't known would cause so much upset should one inadvertantly create a Pentagon perhaps (introducing a fifth vertex) or disturb another's polygonal-form
I hadn't at this point connected the final 'Line' from the 'Quad' on my cheek to the 'Quad' near the corner of my mouth



As well as the 'Cut' tool, there was another equally important tool called 'Connect' which is listed under the 'Edit Edges' tab
By selecting the edges of the 'Splines' rather than the vertices, and holding CTRL while each line that I wanted to connect was selected with a left-click, I could then use this tool to mend and subsquently attach some of the broken 'Polygons' back together with just a single segment
Should I come across a vertex or stray line that is left unattended with no consequence as to whether it is there or not, I used a third tool named simply 'Remove' to get it off the screen without actually deleting anything, which can cause more problems if Poly's are relying on others to keep as 'Quads'

 

By removing unwanted vertices and edges, I could then use the 'Create' tool and etch out a Polygon is the empty area - the area turns red just to remind you that they are exclusive of the 'Weld'
And, there we have it - a section of completed 'Quads' that meant that I could 'Weld' them together with the others and continue with the facial mapping that have caused me to get behind somewhat dissapointingly



By returning to the 'Perspective' view, theres was the brief opportunity to update my own sanity and breathe a sigh of relief to see that the sections were once again solid and without any of those distubances in the Topology that would cause more upset when attempting to continue any further - a quick look at others Blogs results in the thoughts that I'm not the only individual with these hiccups during the modelling process

 

Now the final one for this week demonstrates the use of both the 'Symmetry' and the 'Turbosmooth' modifier which are to be used ultimately for the following reasons:
The 'Symmetry' modifier is the quickest way of actually getting an object to mirror its features on either the X, Y or Z axis, depeding on where you need it - this was achieved by selecting 'Symmetry' from the modifier list after selecting the 'Editable Poly' of my face and choosing the 'X' axis (I also checked the 'Weld Join' as so to avoid iterations where each side joined each other)

The 'Turbosmooth' allows, with the use of altering 'Iterations' and 'Update Options', the user the chance to see how their model will look when applied with a natural-looking smoothing application, enhancing realism and adding definition to their model - I chose 2 Iterations and kept it updating 'Always' (although, if the object becomes too large, Max may slow down the processing speed and the program has a danger of crashing, so I had to be careful and choose 'Manual' at times)

* Thats it for this week - the lips, nostrils and eyeballs will be added next week (I'm yet to decide whether its worth attempting a complete skull/neck, or if thats will conversely affect my chances of concentrating of just the facial area, with detailled rendering of skin tone and so forth...)*

Sunday, 4 October 2009

Week 2 - Splined Face Syndrome

Now, I was spend the rest of the time in 3DS Max, modelling and applying the modifiers that would construct a virtual representation of my face

The first port of call was to build the 3D Reference Plates that would have both reference images on them and they, as the name would suggest, were there as a reference for me to follow when using the 'Line' tool (more details on this further down the post) and extruding (which will be covered in Week 3)



The 'reference plates' were in fact two 'Planes' created along the vertical so they would act as "portrait-frames" for my images
I created a 'Copy' as a duplicate so that I could then just rotate it 90degrees and have both in alignment




I then selected the 'Material Editor' and imported, through the 'Diffuse' channel, the "FaceMerge.psd", which was then able to be dragged into the working pane and appeared as shown here - all I need to do is to make sure only the front-on image shows here and the profile shot only show on t'other plate




After increasing the magnification of the image, I found that there was heavy pixelation of the image
I was able to rectify this by going into the menu tab 'Preferences' and then altering the attributes of the 'Display/Driver' so that BitMaps will maintain their resolution when applied to the 'Plates'





The 'Reference Plates' needed to have the 'UVW-Map' modifier applied so that they enabled the 'Gizmo' that allowed me to alter to position of the BitMap on the 'Plate'
This then allowed me to rotate the Profile image on the second plate to face outwards (although not shown here), which I could then line up to follow the form of the Front-on image



Once I was happy with the postioning of both 'Reference Images' on both 'Plates', I could then set about beginning the incricate task of etching out all the 'Quadragraphic' lines that were all around my face - the techinique is to see each curve and follow both lines perpendicular to the other two to create the 'Quad'



I knew from past experience that Max decides to allocate random colours when the user is drawing out the 'Splines' so, by clicking on the coloured-square next to the line's text field, there is the option to uncheck 'Use Random Colours' The image above shows the first four squares that made up the lower part of my chin





I will point out that once I had progressed until this stage shown here, I hadn't realized that I needed to enable the little magnet w/3 icon on the menu tab
This meant that I wasn't able to attach them all at the end(as I had previously thought), but I needed to make sure that this icon was triggered before I even began the 'Splines'





I finally reached the stage (after restarting it all over) where I had covered every possible 'Quad' that I had drawn out and I was ready to attach them all together
This was achived by converting one complete 'Splined-Square' into an 'Editable Poly' and then selecting the 'Attach (from List)' button that comes under the 'Edit Geometry' sub-menu on the right-hand side





I made sure to keep my fingers crossed before I selected the 'Attach' button and this was the result of the concentration I applied during the time spent creating the Spline-Modelled head
Of course, the eye socket, lips and nostrils are intended to be left vacant for now until I apply the next step


* Next week, I shall be extruding the model (maybe even mirroring the completed side to progress onto a complete 3D model by Week 4)*

Saturday, 3 October 2009

Week 1 - Anticipation & Preparation

Yes, thats right - I will need to spent half a dozen weeks staring at my face digitised on-screen!

First of all I need to take two photos, ensuring I get in my head and neck in the frame for both the front-on view and the profile shot too. I used a 10 mega-pixel highest-quality JPEG setting on my Bridge Camera to ensure as much detail as possible was captured and this was done using natural daylight as the primary light source to enhance the features without incorporating any major shadows or highlights into the shots







 I then uploaded the two images straight from my SDHC Memory Card and began to edit them in the order that was neccessary to then ultimately take them into 3DS Max and onto my facial form at the end - Here, the image shows both images as seperate files, but I noticed that my front-on view needs the 'Camera-Distortion Correction' treatment before I do anything else  




With the 'Camera-Distortion Correction' treatment, it is possible for the user to adjust settings that would maybe have caused the individual to avoid using that image initially. By altering the 'Perspective Controls' both vertically and horizontally, as well as lighting the 'Vignette' around the edges of the image, greater constrast was achieved between my hair and the surface behind


 

This was the resulting image after adding both a 'Brightness/Contrast' adjustment layer and a 'Hue/Saturation' adjustment layer - I feel this improves the definition of my facial curvature and contrast between skintones in my cheeks and cheekbones 


 

 The unadjusted 'Vignetting' is visible on this image, although both images will of course be devoid of any background eventually.Again, the adjustment layers improved definition and tonal contrast here, moreso in relation to the varying brunette shades throughout my hair (However, I reckon that the process of defining the profiles of my bone structure will be easier here than the front-on shot...)





Here are both shots side-by-side before I attempt to transport the profile image onto the area to the right of the front-on image file - I will then lower the opacity of the profile image and try to gain an accurate alignment of key areas; ear lobes, base of nostrils, corners of mouth and so forth. This will then mean the pen marks that are to be added to define the muscle/bone structure will be representational of the true-life dimensions




Before I was to go ahead with applying the topology lines, I used the 'Unsharp-Mask' tool to improve the clarity and definition of areas of facial structure against each other and the surface behind



By reducing the opacity of the profile shot, I could then bring it alongside the front-on image and gauge how accurate the photographs turned out to be. As with photography undertaken without the aid of effective, visible markers to follow, there was always a problem of perhaps not matching all facial areas as precisely
as they could be under the circumstances



The benefit of working with both images in one file and seperate layers for both meant that I was able to position the front-on shot, lock the layer, and then scale the profile shot accordingly



Once I had rescaled the profile shot to a reasonsable approximation against the front-on image, I then enabled the 'Rulers/Grid' under the 'View' tab to see how close my adjustments are to Photoshop's scaled grid visible on-screen



I then had to use the 'Eraser' tool and remove some of the material away from around my nose, thus allowing me to judge the scale better between both images and aid the extrusion process once in Max



The process of Topology meant that I used two specturally-opposing coloured brushes to first mark out the curvature of the muscular structure and bone definition of the face as shown here - the brush strokes were only needed only one side of the face and had to follow facial contours






Next, I was to then create 'Quads' from using the second brush to follow the topological lines as a guide, but then also create a hatched effect that I would then follow in Max later on with the 'Spline' tool - I did feel at this stage that perhaps the brush strokes could have been a bit heavy (lipstick, anyone...!)



I repeated the Topology process for the profile shot and again tried to maintain as closely as I could the contours and curvature along the jawline and cheek bones, as well as the form of the nasal and lip areas

* I was now able to progress into week two, with the aim of completing the 'Splined' section of the tutorial within the 3DS Max program *