portrait

First Game Mod

So nothing too amazing, but I've uploaded my first game mod for Prison Architect. It was super fun designing new objects to be used in the prison and the coding was pretty simple. There's still bugs I have to work out, like programming the trees to grow like other plants in the game instead of being placed fully installed like objects. The mod's preview image is very poopy, I know and I should be ashamed of it, but that will come in future updates. I really want to continue to flesh this out.

Check it out here.

Business Cards


Had today off from work, so I took the time to sketch out the front of the business card. Decided to go with the full sized instead of the mini. I ended up liking how this design fit over the other one on the mini.

Website Revamped



Just updated my website. It's been under construction for about 2 months. Would have taken less time without all the interruptions.

Used this as an opportunity to dive into javascript and jQuery. Originally, I wanted to code everything in javascript, but due to its poor documentation of using javascript with AJAX (or maybe I'm just too dumb to understand it) I opted for jQuery which is explained a lot better. It's condensed syntax and shortcuts made coding a ton easier. But the little javascript I did dive into definitely helped with understanding jQuery.

Hopefully I'll have business cards designed and printed soon. Will post pictures when completed.

Also have plans for a new animation in Maya. Will probably be 30 seconds long with simple characters and rig. More simpler than "A Sunday Mass." Didn't want to use the Norman Rig since it is kinda ugly, and I'm tired of looking at it. Plus this will be a perfect opportunity to review rigging again. It's been about 5 months since I've done any rigging.

A Sunday Mass: Teaser

A short teaser for my senior piece. That only section that pretty much doesn't give away the story. Make sure to watch it in HD, it looks pretty terrible otherwise!

credits for this short segment:
Father Bore - Ned Pryce
Monsignor - Melissa Raub

Weight Painting



Weight painting in Maya....a bitch. People generally use scripts to automatically weight paint, but I'm not a MEL wizard so I opted to paint by hand.

Maya is extremely finnicky about what weight painting it accepts, and it's not uncommon to have your model explode and you just have to reload from a previous save. I scrounged the forums and theres pretty much only one way to do it.

Flood the root joint with a value of one. then lock all your joints except the root joint. Then unlock each joint and paint them by hand one by one. It helps best to start with a low opacity (like .2) then tackle higher opacities once you've painted each joint.

The smooth tool is a nightmare and I avoid it at all costs. It's best to force the program to relocating the weight values where exactly where you want by unlocking the only joint you want it to relocate to, then using the replace brush to shift the values from one joint to another. The scale brush is also ENORMOUSLY helpful in achieving a smooth transition and forcing values to shift between adjacent joints.

It's ultimately best to map out where each joint's influence is. If it has at least a value of .02 you can work on blending the transition of weights between two adjacent joints. If there is no value on a joint and it's completely black, you have to use the add brush to add a bare minimum color (the blue color) before you can work on smoothing out the transition.

I found it most helpful to paint the initial weights in the original bind pose. Then I would pose the figure slightly and analyse where I need to paint or adjust the joint influence placement. I test both IK and FK controls and pose it about 100 different ways just to preview how it will deform. I took a TON of time doing this because it pretty much dictates how the entire character looks in its poses. If craftsmanship is sloppy, people will see it clearly in the final render.

As you can see in the picture above, I didn't do the best job with smoothing out these weights in the spine, but luckily this is a cloth clothing so I can get away with a little but of unpolished weight painting.

This entire painting process, I've improved a lot from painting Monsignor so Father Tim went slightly faster. When I discovered the power of the scale brush (don't ignore this brush setting like I did) weight painting is a million times easier.

It takes a lot of time and practice to master weight painting and I believe its helpful to know in case weight painting scripts don't get the exact result you are looking for. I will definitely look into developed scripts in order to speed the process along, but I suspect that because of my extremely stylized character model, many of those scripts might have not worked as well as I might have hoped.

When programs have automatic processes its a great tool to use. It greatly speeds up the process, but to get exactly what you've envisioned, you have to go back and specify to the program exactly the results you want. ZBrush is much artist friendly than Maya is. Maya doesn't let you have as many control over more automated processes.

Rigging Haunts My Dreams

So I've spent the past month rigging and it's been nothing short of a nightmare.I guess in Maya you have to assume that the first time you do anything you're not going to get it right because that's pretty much what happened with this. I can't even count how many times I've rigged this thing but I'm sure if I kept count with tallies on the wall this room would look like a prison cell.

Legs
There's a super duper tutorial on youtube under Maya Learning channel that walked me through 75% of my rig. Sadly I did not have enough time to complete automatic snapping between FK/IK joint switching but I did get a lot of other awesome things done. I pretty much built 3 leg joint hierarchies, one for FK, one for IK and the last one for result. I used blender nodes to create a switch between IK and FK that drive the result leg joints. On the IK foot, the Maya Learning Channel had a tutorial on a smart foot rig that has a customizable roll angle for use in walk cycles. Instead of using joints to create a foot roll, locators are used instead. The IK knee posed an interesting solution as well. Two kinds of knees were created (driven by a switch between the two), a manual knee pole vector, and a no flip knee pole vector. The locator for the no flip knee was translated in the position X axis so that no matter what position the leg is in, the knee will never flip. To control the direction of the knee, a knee rotation value in the channel box is used.

Dumb ol' me completed all this only to realize I did not orient the hip joint correctly. So I had to scrap everything and start over from the base skeleton. I really learned my lesson to double check in the orthographic views to make sure joint rotation is correct.

Arms
Naively, I believed the arms would be a breeze since it's pretty much the legs repeated, right? No....in addition to IK/FK/Result joints, theres also an arm twist joint chain. This cause so much havoc especially later on in the reflection process because the inherit transform of the curves the drive the twist joint chain must be DISABLED, or else you get weirdo double transformations when you move the model by the root joint. Also, you cannot reflect the arm twist chain along the x scale for the opposite side of the skeleton because the inherit transforms of the reflected curve must be disabled. This means the curve cannot be reflected across the x axis. If you try to construct the curve for the reflected twist joint chain, the chain will snap to the curve but move to the opposite side of the skeleton. Thus, to avoid all of this, the entire twist chain must be constructed from scratch when reflecting onto the other side. This isn't much of an issue since you can reflect a dummy chain, use point snap to draw the twist chain, then simply delete the dummy chain. Figuring this out and testing it was frustrating as hell.

The entire concept of how the twist chain works and is connected did not sink in until I had to figure out how the hand is connected to the arm. In simple terms, the FK/IK drive the result which drives the arm twist chain. This becomes uber important when working on the palm controls.

Hands
Doing the actual finger controls was more tedious than difficult. A lot of set driven keys to set up. The tutorial offered another innovative process in which there is an FK joint chain that enables the set driven finger movements to be modified.

The palm controls were pretty much IK handles in the fingers to keep them from moving in the palm movements. In the process a new hand joint is created. The new hand joint is grouped into it's own group. The finger IK handles are parented to the new hand joint group.

The challenge was figuring out how to connect the new hand joint correctly. The finger IKs were parented to the new hand joint group which was connected to both the hand control (for the IK arm) and the FK hand control (for the FK arm). This would have been very simple if I didn't have to deter from the tutorial, which does not connect the joints into one hierarchy (which is essential for weight painting). The tutorial instead opts for a section based joint chain, which I never understood why because then weight painting is made extremely difficult. But I guess that rig was for tutorial purposes rather than be practical.

Spine
Easy as pie. Took only a couple hours to figure out. The tutorial has a really cool spine which is a combination of FK and IK controlled. It's a little confusing at first, but ultimately is a lot more user friendly than the pure FK spine in the Norman rig.

Mirroring
From this point onward, I deterred from the Maya Learning Channel tutorials and had to work out which parts of the skeleton could be duplicated with the x scale, and which joints had to be mirrored (thus breaking the connections). The overall pattern was the IK and FK joints could be duplicates. The result joints had to be mirrored so the IK/FK blend had to be reconnected to the result arm and leg joint chains. The arm twist chains (as I stated before) could not be mirrored or duplicated, but had to be constructed from scratch. The hands I was able to duplicate and then reconnect to the arm.

Face
I opted for another tutorial which uses joints on the face. I tried using wire deformers but found there was no easy way to mirror the wire deformer and still retain the cluster handles. I also found it much more difficult to weight paint. Maya is very fickle about weight painting and likes it best when weight painting a hierarchy of joints that are parented directly to each other. I heard wire deformers are calculated by the program faster but opting for the mirror joints and mirror weight paint options seemed much more efficient.

The mouth I chose to bypass the hassle of rigs and opted for a Pocoyo, stop animation style of replaceable mouths. This is done using animated textures. The one catch with this tutorial, is I'm guessing due to program changes, the image sequence must be enabled before setting the set driven keys. The channel box of the frame extension much be left clicked and select delete expression in order to prevent the program from overriding the set driven keys. In theory, there is an attribute that has a list of your mouths. You save your head color maps labeled as a series of images that are imported as an image series. Using set driven keys, the mouth controller is linked to the correct frame extension (each number is the next frame within the image sequence).

Website Update

Added a new animation to my website. Check it out.

Uv Unwrapping and Color Mapping

Fun, Fun, Fun. Did the uv unwrapping in Z brush which saved a TON of time, then made up the color maps in Photoshop. Could have done it in Z brush but I prefer to have all the brushes, layers, opacity control etc. that comes with Photoshop. Plan on incorporating the mouth into the color maps. I will be testing that next. In addition, I also have to test out how the color maps hold up when I use blend shapes to create the controls for the different facial expressions.

This is most likely how I will be rendering the entire film. Switched over to real time rendering in viewport which will again, save me a lot of time. The shader is a combination of the color map connected to the ambient color node and a ramp shader that has only 3 or 4 values, some which have no interpolation, others which have spline, thus you see some hard edges and some soft edges. For the outline I used the toon outline with the mesh offset. I will most likely be using the outline for the characters only.

That was a lot of CG rambling, if you didn't catch any of that just look at the pretty pictures below.



This is the UV layout for the head. The program pretty much takes the 3d object and uses seams to flatten it out into a pattern exactly like ones used in sewing stuffed animals.




This is the uv and color map for the hands.


Storyboard Version 2

Ran it through the professors two times. Think I've got it. It's probably terrible of me to say but I'm someone who prefers to run a storyboard through no more than three times. I take a VERY long time to refine my ideas. I'll pull a Dostoevksy, sit there and ponder for half a life time before making my move, but once I've made it I have my reasons and I won't change it unless someone convinces me the audience won't understand or there's a better way to go about it. If it needs too much revision beyond three times it means I had no clue in hell what I was doing and I need to go back to square one and get to know my characters better. I use my gut feelings when I'm drafting up these things and I find my feelings rarely steer my astray.

Papers and less important classes drew my away from having new material to post, but now that has passed, expect more updates soon.

Progress 8

Finished modeling Monsignor in Maya. Kept the poly count low in hopes of speeding up render time. Plus the characters are so simple, theres really no need for a ton of geometry. Also worked out the design for Father Tim.

Modeling in ZBrush

Sent Monsignor's head into Z-Brush for touch ups and details. Used the zremesher tool and pretty much re-meshed it in 10 minutes.
Also refined the shape of the nose so its not so Squidward. Couldn't get that shape for the life of me in maya.

Model Model Model

Blocking out in Maya. Refining in Z-Brush. Then retopology?

Character Design: Monsignor

Drew a character design for one of the priests. The other I drew while in driving school and its on notebook paper. Will be adding that one soon.

Progress 7

Added some chairs, rugs and finished the pulpit. Continued to tweak the proportions of the church to make it smaller so I don't have to make as much stuff to fill it. Nothing is worst than an empty feeling space.

Progress 6

First week of classes and so now with input from my classmates, I really had to sit down and think. Narrow down my ideas, and start putting it down in blood.

I semi-dread storyboarding because it's the hardest part of the process, but I'm getting the hang of it.

Progress 4

So it's been a little whiles. At first, I was freaking the fuck out thinking it's been two weeks, then I check back to see it's only been nine days. Oh silly me. I have no concept of time.

But I still need to keep my ass moving, pronto.

And I really need to assign a different toon outline to the molding columns, to something much lighter so those lines aren't so...heavy. I most likely need to make the lines a bit thinner for those columns as well. I'll do that at the end, but I'll post it here as a memo to myself.