Monday, 30 December 2013

Swedish Space Odyssey... Kinda...

Back in June 2012, I was asked if I would be interested in working on some VFX for a possible short film a friend-of-a-friend was pitching.  It sounded like fun - with a little space action as well thrown in, I was more then interested.

As part of the pitch, to get funding (which was relatively low) it was important to show that producing Space effects were going to be achievable.  In this case, part of the story revolved around astronauts in a damaged old space capsule - so a concept image showing the ability to produce reasonably good CG was needed to prove that point.

This is the image that I completed for the pitch.  Its based on a Russian Soyuz capsule, featuring a Swedish flag (since the director was Swedish) and orbiting an image of the earth.  An aspherical lens was simulated to create that slight optical distortion, and a lot of additional glare and detailing were finished in post (which you'll see as you read this blog article).

Ready for launch... Ahem, I mean pitch...


Given that the time frame was short to get the pitch submitted (as in a day or two - no pressure, honestly!)  I built and rendered a 3D Soyuz-styled capsule with basic textures.

Basic capsule and background plane

Basic textures were painted up

As you can see, I did start to model in quite a lot more detail then I needed for this single image (I had planned to build a reasonably production-ready high detail model).  There are also additional plates and details on the back of the capsule (based on some of the reference imagery I researched) that we don't see in the render...

All those bolts, etc - when seen on the render, perhaps a little too ambitious.
The problem is that to fully build a detailed capsule with all the textures and detailing in place would take a few days longer, so I finished up the final details manually in Photoshop. Tight deadlines mean that being overly ambitious is not a good idea at this early stage (and if the film went ahead, there would be plenty of time to build on this model anyway)

From basic render, to finished image (mostly done in PS)
Final tweaks were to touch up some of the lighting on edges of panels, add that slight diffuse glare to the bright spots of the image and throw on a few additional details, etc.  After a year or so, I can now see a load of things I should have done, but for what was needed at the time it looked the part to get the ball rolling...

Unfortunately the pitch didn't get accepted as a whole, but this small project - like most small projects I tend to get - was a lot of fun and a chance to create something I would have never thought about doing...

Wednesday, 18 December 2013

And even more free scripts... Ho! Ho! Ho!

If you've already seen the previous post, you'll have likely downloaded and looked at the collection of scripts I uploaded.  Here is a second zipped archive of more of them, along with the source for a handful of C plugins I also developed some years back (199x era)

Note that I'm releasing these as a free learning resource.  I'd like to think that anybody who downloads them will share updates or modifications back to the community.  All I ask is that you don't abuse this gesture by releasing 'similiar' tools based on things you picked up from the scripts here without credit or community sharing...

Tuesday, 17 December 2013

Free LW scripts - Just in time for Christmas!

While cleaning up one of my hard drives, I found a collection of some of my LScripts I developed over many years.  By all means, these are not everything I've developed and I will upload more as I find them, but I figured that there is bound to be pieces of code or ideas that others can use or learn from...

Note that I'm releasing these as a free learning resource.  I'd like to think that anybody who downloads them will share updates or modifications back to the community.  All I ask is that you don't abuse this gesture by releasing 'similiar' tools based on things you picked up from the scripts here without credit or community sharing...


Saturday, 7 December 2013

The 8-bit project almost completed - A CG vision of my desktop at the age of 12.

Go outside and play in the sunshine?!  What?  When there are games to be played?!!

It all started back in the 1980's...  Like a lot of kids my age, I used to hide in a dark bedroom during the day and sit and code games in BASIC or Machine Code.  The home computing revolution had started, and kids everywhere would learn to program computers as its was just the way that it was back then.  No operating system - all machines had a programming ROM that meant when you turned it on, everything you did was a programming command.  Want to load a game?  You'd type in the load command, and then you'd start the cassette deck to begin the 2 to 10 minute wait as your game would screech and squeal from the audio cassette it was stored on.

In most cases, kids would type in the games from the many books and magazines available at the time.

It was a different era.  And if you wanted 3D? We were looking at simple wireframes, often programmed in by the user - not the desktop application with user interface and 1000+ hours of free video training on the internet everybody has the luxury of these days...

Hey - there wasn't any internet anyway...

Pfft!  Ok - so that's my 5 seconds of nostalgia out of the way...

As you would have seen throughout this blog over the last couple of months - all that 80's style modeling - well, along with a few more items, I've finally put a composition together (render that you saw at the top of this post).  A lot of the colour, grain and exposure have been done in Photoshop - and like most projects I could play with this forever.  At this stage, I'm just happy to get something rendered, tweaked and at least mostly done. (I'll very much come back to this again for more tweaking - its a compulsive thing)

But as I'd just mentioned, there a few more items involved along the way.  These were others that I didn't post up, but I think are worth sharing.

Load 'em up

You're probably aware that I've modeled cassettes and cases - and of course, I've also modeled cables.  What I also modeled was this cassette deck that is needed to load programs from.  This one is based on an actual object sitting here with the rest of my old gear - and its modeled to scale.


But didn't you already have a TV?


I had modeled an old style analogue screen a while back, but since then I've been through 4 variations on the same TV.  I finally decided on something with a little more digital edge.  Its still very much in the 80's as far as televisions go (yes, they did have digital channel changers back then, not just analogue).



Those all-essential set dressers...


A 3D scene is not just a simple model with textures rendered out to look pretty.  Its a scene, like in real life, where there can be all multitude of things jumbled about.  I created just a few very simple items that were fairly common.

Firstly - a classic old plastic Bic clic pen - the staple ball point in New Zealand at the time (actually manufactured in New Zealand for Bic - for over 40 years before the place was shut down just recently in 2013) also doubled as an emergency cassette rewinding tool.

1980's cassette rewinding tool
No computer room would be seen dead without some level of furniture.  In this case, I went for something a little more modern (but its a desk, of which very little would be seen close-up in shot).  Basing this off the state of the MDF desk I'm currently sitting at, I hand-painted up stain damage on a very flat generic MDF image.  The damage was painted through simplying using home-made grunge brushes and manually drawn rings with a simple overlay blended layer in Photoshop...

Well loved and stained MDF desk...  Just like the real one!

Glug! Glug! Glug!

And like any self-respecting nerd, there just had to be a coffee mug on the desk.  This particular model was based on one on my desk, including the colour - however the pigeon of doom (with its classic "typo" - honest, I spelt "pidgeon" wrong on purpose... ok, maybe... lol!) was a  photo I'd taken where a creepy pigeon was just staring straight back at the camera...

The staining inside the cup was another home made grunge brush.  Amazing just how versatile all those photo's of grimy concrete can be for texture mapping.

Looks hygienic enough to drink from... Honest.

Its all in the details...

The problem with most the models were that the textures were too clean.  After some mucking about, I managed to source a black image with dust and finger print smears - much like most self-respecting TV or monitor should have on them.

Using this texture on the glass of the old TV really worked out well.  Adding an occlusion shader around the edges of the screen also created the effect of dust build up...  Dust was always attracted by the magnetic attraction of the CRT, so it made sense to think about trying to recreate that obvious characteristic.

Don't touch the screen with those greasy fingers...
Like any realistic environment, like the textures, there had to be a little less cleanliness in the scene itself.  I ended up modeling a random collection of tiny hairs and very small rough-shaped crumbs.  Again, it helps to have a real location to reference...

While they're not seen close up like this, just the fact that they are present does help.  Its those small details we miss when they're not there, but don't notice when they are...

Nothing a wet sponge won't wipe away.

Location, location, location

The room was the easy part - essentially a box with a very retro 1980's style patterned wall paper (which reminded me a lot of my childhood home).  The curtains on the other hand needed a little work - modeled as flat geometry, UV mapped - I applied a cloth system and used an old technique of animating a morph to draw the curtains along the top...  This caused the cloth to fold nicely and produce realistic curtains.

The wrinkled cloth was exported as a mesh, and that was then used in this location.





Setting the mood.

This was something I had to really think about.  Originally I'd planned on a dimly lit room at night, with the soft orange glow of a standard bulb.  That kinda worked - when I tested this, I did have some stand-in textures as well (hence why the curtains look different).


But that wasn't quite the look.  It was ok, but it felt a little too simple...  I decided to also consider just no room light, and use the illuminated screen as the source of light.  A bit more interesting, and kinda where I wanted to go...




In the end, it came down to something more believable - and something closer to how I recall the days-gone-by...  That dark room during the day, with curtains closed as the bright sunlight cast shadows of the window onto the back of the curtains...



The back lit curtains are simply a translucent surface with a spotlight projecting a window frame gobo image.

Just to finish up, here's the last render I did.  This version is much brighter, though I'm not sure if I like it.  I figured I'd post this one nonetheless...



Yup...  Drawn curtains, dark rooms...  That's the way it used to be - in fact, its the way it still is...