Saturday, 22 January 2011

Rust teaser (sort of) Part II

So my initial plan with the clip I posted last week was just to record a short sequence of the character I've been working on walking around, with everything lit by light volumes, and then do a write up on what had gone into making the sequence. I ended up getting carried away with the sequence and ran out of time so here's the write up!

Main Character

I've made some good progress on the main character but there's still a fair bit to do. I'd say the model is mostly done but the texture still needs work. Areas like the straps, hands and head haven't really been worked on yet so the texture you see here is pretty much a test run.

Still, I like where it's headed and it's been great to get a more complex model in to replace the robot I'd previously been using.

I thought I'd include an offline render of the high poly model as well (right). I haven't done much high poly character work to date so there's definitely been a learning curve but I'm happy with how the model is evolving.






Fun with deferred light types

I'd always planned for the character to wear some sort of light source and for lots of reasons but primarily it just looks cool. It's hard to think of a sci-fi film where the suits don't have some sort of moody light source (often blue) located just under the actors jawline so I wasn't about to buck the tradition :)

I wanted the light source to realistically illuminate both the character and the environment but it was hard to get both those properties without resorting to shadow maps. I thought I'd approach it slightly differently so I ended up using a single light source with two falloff factors (left). An omni directional, short range falloff provides local lighting to the character without affecting areas it shouldn't (like the opposite side of the body) whilst a hemispherical , medium range falloff illuminates the nearby environment.







Post Process Colour Correction

This has been on my list of things to try out for quite a while now so it was great to finally get it implemented. There aren't many resources on how this should be done but I think that's mostly due to it being quite a straightforward process. Using a pixels RGB value as a texture coordinate you simply sample a 3D texture containing the colour correction information. The image shows a few examples.


This opens up a massive range of colour correction options and any number of software packages can be used to create the 3D look up textures, often referred to as LUTs. The process is largely the same regardless of the software used and involves colour shifting both a reference image (usually an uncorrected screenshot of the game) and a flattened version of the LUT. The altered LUT is then sampled at runtime, reproducing the colour alterations made to the reference image. Below you can see how the sequence looked before and after colour correction with the flattened LUTs as overlays.











That's all folks

To wrap up I thought I'd post some un-textured shots of the scene as they always do a good job of showing off the lighting volumes.






Sunday, 16 January 2011

Rust teaser (sort of)

Okay so this isn't really a teaser, think of it more as a mood and lighting test maybe :)  I'd initially just wanted a video of the starman character walking around a simple scene but I ended up getting carried away. The scene is loosely based on an existing piece of Tadao Ando architecture and not really indicative of where the project is heading, environment wise at least. The video was captured straight from the engine so editing aside I haven't done any additional post processing on the frames.


The audio samples used are by ERH and were obtained from the Freesound Project. The samples are used under the Creative Commons Sampling Plus 1.0 licence.