Sunday, August 29, 2010

A Room Without A View: Week 2

Last week was a relatively light week in terms of construction. As I near the end of the current phase of building I'm eager to begin the next training course as soon as possible so I can continue into creating the props for the room with as little downtime as possible. So most of my time was focussed on painting the walls.

Allow me to elaborate.

As previously mentioned, in order for my room to look like my room I would need to find textures that match the wall paper, carpter, and the wood beams. Half Life 2's textures are on the whole an excellent and professional looking lot, but do conform to the theme of HL2, which could charitably be described as "a renovator's dream!". So nothing especially matched. About the only thing that looked closed was the fireplace, and that was only because I found a "wood" texture. But if it were to be an accurate rendition of my room, improvements would have to be found.

A couple of online tutorials later and I was all set. Downloading a communuity made program called VTFEdit (there are some very nice smarter than me modders out there that believe in sharing the tools they've created, which makes my job so much easier) which could convert any image into a texture for HL2, I set about photographing the various walls of my room.

This wasn't quite the simple chore I had imagined, and in the end I had to do quite a bit of careful light placement to ensure I found a balance between shadow and glare, and even then I generally I could only salvage a small square out of the photo, tile it to make it repeatable, and then paste that in. Fortunately this actually works very well as all of the things I was photographing were "repeatable", ie. flat slabs of blue or white. Still, if I'm going to do this professionally it's going to require a good camera and some studio like conditions.

But that's a thought for the future, as to start with I'll be working exclusively in the engine and the textures included therein.

The change was a small one, but it results in a dramatic difference to my eyes, as it is actually starting to look like my room.

I did do a small amount of construction this week, as I decided I was not at the level to be able to create the skirting boards and wall design as a texture, and built them using brushes instead.

All that's left to do building wise now is texture the doors and cupboards, and make them both open, and then it'll be time to start placing props...

Sunday, August 22, 2010

A Room Without A View: Week 1

One week in and the room is proceeding well. The main architecture of the room (walls, roof, cupboards etc.) are complete, and textured, though not with the correct colours yet. I have found the work immensely satisfying and may have found a new hobby/career option, and have learnt many things, most importantly to never put fireplaces in your levels.

Allow me to elaborate.

Monday: Only had an hour to spare between work and a social engagement, so I spent the time taking some reference photos of the room and balancing precariously on a chair with a tape measure trying to make my arms grow another fifteen cm so I could reach the roof.

Managed to get all the measurements I needed based on the age old method of "measure a bunch of short things and add them together", as it turns out the tape measure I thought was absolutely massive when I was ten is in fact, only 2m long. Now I feel old. But also tall.

Tuesday: Took a couple of final fiddly measurements such as "width of cupboard door" and "depth of the lower fireplace shelf at the centre compared the the diagonal line of the edge" (deep breath), and then using my rudimentary Adobe Illustrator skills contstructed an architectural plan of the room showing the scale and measurements of the walls, which served as a reference and also something to make architects fall on the floor and laugh their heads off.

Then started building the room in Hammer, the level editor for the source engine.

Firstly, the Hammer editor is AMAZINGLY intuitive and enabled stupid people (ie. me) to build quite complex objects with ease.

Secondly, Never try and build a room facing north starting from the west wall when you're currently facing south, or expect to get confused by compass directions every few minutes.

Completed the walls, roof and floor, then called it a night.

Wednesday: Started with the wardrobe as the single largest feature of the room, but also the boxiest. Made one of each of the wardrobe and cupboard doors, then copied them accross. Copy and paste is your friend.

The bedroom door posed a quandry, I could quite easily do a thin pretend door and leave it at that but given I eventually wanted the door to open I had to take into account the length of the frame on the OTHER side of the wall. Hammer helpfully has a 'carve' function which allows you place an object through another, and use that to cut a hole through it. So by placing the door frame into the wall and then carving, I was left with a perfectly door shaped hole. Win.
Thursday: Thursday was fireplace day.

I have what I always assumed to be a relatively plain and unassuming old fireplace in my room, which has long been sealed. As it turns out there are lots of little slats and supports all over the thing that I had previously taken for granted. To make it a bit more difficult, most of them have rounded edges. 3d technology has come along way since the days of, say, Quake, but the general rule still applies that curved edges and video games don't mix. The solution is to do lots of little straight edges, and enough of them that it effectively looks curved.

The upshot of which is that the fireplace took me longer than every other part of the room combined, but fortunately it did look the spitting image of my actual fireplace when done. A currently unsolved problem is the mirror just above the mantlepiece. Reflections are a bit of an issue in the source engine (particularly as the main character is never actually seen in Half-Life 2), but there are solutions. I just need to find them.

The main architecture complete, I threw in some placeholder textures ( the 'skin' that objects in the world wear), added a simple light, and loaded up the level in the actual game to see how it looked.

The first thing I noticed is that lighting makes your level look infinitely better.

The second thing I noticed is that the editor is actually more powerful than the game, and so all my carefully curved edges had been transformed into diagonal or straight lines. Still looked good but rather frustrating nonetheless.

But the room was done! Walls, fireplace, cupboards and doors, the framework was complete. I leaned back, breathed a sigh of relief, looked up and realised I had forgotten the roof.

Bugger.

Friday: Taking a break from the roof, I decided to solve another question I had been wondering. Half-Life 2 has a number of built in textures, but of course if I'm building MY room, I should probably make sure it's the same colour as MY room. So I needed a way to create my own textures.

This is slightly hindered by the fact that my drawing skill is almost exclusively limited to cartoon fish, which falls slightly short of the ability to create a bump mapped texture with virtual depth and inbuilt material properties.

To the internet I would go. A quick search later and I had downloaded a program a helpful modder had made that allowed images to be converted to source engine textures with relative ease. Using an image of a white plaster ceiling that I... "borrowed" from the internet until I had time to photograph my own roof, I ran the program, added a view properties to tell the game it was plaster and would react as such when shot or walked on (neither likely in this scenario but you never know) and restarted Hammer.

Sure enough my new "whiteceiling.vtf" file appeared, and I was able to replace the roof texture with this new one. Still looked nothing like my actual roof, but important milestones, people.
Saturday: Having successfully procastinated design work with learning work on Friday, I returned on Saturday to the roof. My roof has 4 cross breams running accross with whatever you call the roof equivelant of a skirting board running around all edges, which includes both the edge of the roof and the cross beams. Now this is the kind of thing you'd normally reserve for a texture but I wanted to go a bit all out on the room to know my limits, so I decided to build them using geometry instead.

The loyal tape measure was brought out once more and some quick measurements were taken of the beams and the skirting boards. From there it was a relatively simple affair of building the beams, building one set of skirting boards and then copying it 33 times to the other edges on the roof, doing a little trimming here and there to ensure that the edges blended appropriately. I also took this opportunity to trim the door frame as the top is two slanted diagonals rather than a single straight line.

On Sunday, after creating my world, I rested, and played video games instead.

Sunday, August 15, 2010

A Room Without A View: Introduction

I have decided to build myself a bedroom.

Allow me to elaborate.

For the past few months I have been working - slowly but mostly surely through a dvd course on level design in the Source Engine (the engine used to create games such as Half-Life 2, Team Fortress 2, and many other games with 2 in the title). I am nearing completion of the course (whereupon I will start one of the 6 OTHER DVDs in my drawer), and am looking for a small project to test it out. I could create a multiplayer map, and indeed I have a couple of plans to do this. I could create a single player map, and this is our eventual goal. But first I'm looking for a project, small in scope but allowing for expansion and improvement as I practice and learn.

My brother (as we develop our attempted buisness we continue to set each other goals and deadlines as an encouragement to productivity) set me the innocent sounding goal of building a recreation of my bedroom as a test. At first this seemed simple enough. As I learned more about level design and the tools involved, it began to seem far to simple. As I learned even more, I began to realise that there was an amazing amount of potential for this simple idea to become wonderfully complex.

This will need to be done in several stages.

Stage 1: Creating the physical space itself. This is easy enough apart from one corner (my room is not a perfect rectangle, it has a dip in one corner behind an old fireplace), but for authenticities sake I will need to do some measurements of the real bedroom and convert this into in game units.

Stage 2: Adding non-moving parts. My bedroom is an old room that's been renovated a few times over the years, it used to be a dining room that connected the front hallway to the back study, but has had an extra wall added in to make it a seperate room that connects onto the hallway. As such it has a few quirks such as an asymmetrical roof design (beams and plaster), an old sealed over fireplace, built in wardrobes and a wall pattern that juts out from the wall slightly. As these are all fixed and don't move they can be added in using fixed geometry, along with the window, which I will leave opaque for now.

Stage 3: Adding moving parts. Door to the room (which, unless I build the wallway, I will need to leave locked), wardrobe and cupboard doors.

Stage 4: Placeholder props. Bed, TV, Various shelves, desk and computer. These will be placed using in engine props, meaning the bed will not look like MY bed, etc, but this will certainly do to start with.

And that will complete the room. However, there's plenty more to be done. Firstly, I have a course in designing 3d content and props, so my eventual long term goal is to attempt to create props that match the content of my room, so I have my bed, my computer, rather than whatever the source engine has available. If I feel particularly crazy, I can even use photographs as actual textures to ensure they match adequately.

Once that's done, I will look to see if anything can be done to fix the opaque window. The simplest solution seems to be create as much of the outside as can be seen from my window (fortunately this is very little, just a fence and a portion of the neighbours house), and then leave the rest as blank, as it will never be seen in game. The same approach could be used for the hallway to allow the door to my room to be opened.

I'll be uploading pictures to my facebook (and here) as I go, to show my progress. Work will hopefully begin tonight.

Sunday, August 1, 2010

Why Advertisers Should Fear Me

Dear Universe,

I have been told on occasion that I have an excellent memory. I forget who by. However, over the years I have noticed that, while it definately has its moments, at times it seems to be rather selective in its excellentness. For example, I cannot remember What I had for breakfast on the third wednesday in February. You could argue this is because this counts as unessential information not worth remembering, an admirable explanation that sadly falls flat when you consider the amount of childrens television show theme tunes I know by heart. But whatever else you can by say about my memory, it has always been good at remembering advertising, and my father, in his speech at my 21st, told with some relish (and a slice of cake) the story of how, as a child, I would always tell them which product they should buy and listed all the reasons why it was superior, quoting the ad word for word. I suppose it raises interesting questions about retained memories, and how memory is affected by perceived cultural significance, plus the effect of advertising on children and/or suspecptible personalities. Or maybe I just saw a weird ad this morning.

Allow me to elaborate.

As I walked out of the train station, listening to a rock band singing tragically about how nobody wants to hear you sing about tragedy, I noticed an ad promoting 'The Biggest Aussie Pie Night', showing a lot of Typical Australians(tm) at the football, whooping and holloring at the sight of a meat pie with sauce. While I enjoy a meat pie as much as the next person, perhaps more so, it did seem an overly generous reaction to a baked meat and pastry product, even one with tomato sauce. However this soon was forgotten when I noticed that one of the men (who from the look on his face hadn't seen a pie in years) was yelling out at the top of his lungs: "Support kids with cancer!"

This struck me as possibly the oddest thing I had even seen someone yell at a meat pie. Leaving aside the fact that I've never understood how giving kids cancer could be considered supportive, there was the question of why he was shouting it at all. Was he perhaps so excited by the prospect of pie that his vocabularly had failed him and he merely shouted the first thing that came into this head? Is it a bizarre speech impediment that made him shout "Support kids with cancer! instead of, perhaps "Yay! A pie!"? Or was he ordering the pie to support them?

Then it occurred to me that perhaps he wasn't shouting at the pie, but rather to the footballers he had supposedly come there to watch. As far as sporting cries go it certainly ranks as one of the strangest, but there is a certain nobility to it. Instead of shouting "Caarn the Bombers!" or "The Eagles are a group who are indiscrimate in their choice of sexual partners, and in particuliar we are insinuating that their mothers may have been considered appropriate!" (or words to that effect...), instead this man decided to tell his team that he supported supporting children who are suffering from cancer.

What a kind man. If only more could follow his example. Imagine it. Football fields would be transformed from a cacophany of cheers, insults, and slurs into a place of social commentary and political debate. The place would come alive, fuelled by the passion of people's views and beliefs.

You could even change the names of the teams to causes. Instead of the 'Brisbane Bears' or the 'Essendon Bombers', you could have the 'Brisbane Save The Bears', or the 'Essendon Stop Bombing Iraq'. Their fans could support them by yelling their team names and creating banners. It'd be great television too. I'm excited about this.

Of course, things could get a bit ugly when West Coast Pro Life face off against Port Pro Choice...

In conclusion, don't have people shout slogans on your pie ads, or I will make fun of you.

Yours Sincerely,
Sam.

Sunday, July 25, 2010

Attack Of The Mini-Blog 2: Return Of The Killer Mini-Blog

An Ill Wind Is Blowing. And Sneezing.

I always get rather guilty when I get sick, much in the same way that other people get blocked noses. Ok, so I get those too, but I also get guilt.

Allow me to elaborate.

It can be argued that I am rather tougher on myself than I am on other people. A friend has kindly put this as "You hold yourself to a very high standard", which is much nicer than saying I do not esteem myself highly. Part of this materialises in a desire to not let other people down, which reflects in my day job just as much anything else. So whenever I'm sick, I start to worry (frequently as I'm busy coughing my lungs out) that possibly I'm just putting it on and I should really just get back to work, you slacker.

My doctor, bless his quite-possibly-although-I've-never-actually-examined-them-in-them-in-great-detail cotton socks, does his best to talk me out of this point of view, and when I took Monday off due to ill health and went to see him fully expecting to be told to get back to work and stop wasting his time (despite being sick for 4 days already) he subtly asked me if I could take a little time off work and when confirmed he leapt on the chance and told me to stay home for the rest of the week.

Though I was initially against the idea in the long run it's turned out to be a very good thing. I was reaching burn out point and this seems to have headed it off at the pass, meaning I am pretty much back at full energy. It also in some says feels like a fresh start, as work, writing, and my current self tutoring projects were all put on hold in favour of giving this whole rest thing a shot, and can now approach them with a fresh eye after the break.

Bring it on. Of course, bring it on-in-a-slighty-less-hectic-way-than-before, but the on shall nevertheless be brung. Or brought.

It's good to be back.


It's Important To Have The Heart Of A Child. I Keep It In A Jar.

Recently I attended a 21st birthday party that could be described as atypical in that it started reasonably early in the evening and didn't involve the consumption of alcohol. Instead it was filled with Pinatas, Junk Food, Board and Video Games, DVDs and Theatre Sports.

In a word, it was awesome. (That's actually three, but lets not mince words. It'd make a terrible mess) And it made me consider that many of the my preferred activities are probably atypical to conventional stereotypical adult society, to whit, I don't drink, don't do drugs, don't follow a football team, don't go out to pubs or parties, and instead prefer the company of small groups of friends, and spend my time with films, video games, and general hanging out.

This is, in fact, pretty much what I did as a child, and pretty much what I did in high school. To be honest, most of the typically "adult" activities don't interest me for the most part, and if I enjoyed the things I did when I was younger, I don't see much of a reason to stop them and start doing things I don't enjoy simply because I've passed the 21 year mark. There are certainly things, such as work, relationships and future long term plans, that are definately the focus of my adult life, just as "going to school" was my focus while I was going to school.

But my hobbies are unchanged, and are in all honesty unlikely to change. Because I'm an adult now.

You can't tell me what to do. Stop it. No you stop it. MUUUUUUUUUUUUUM!


A Short Review Of The Film Inception, By Sam Mellor.

Inception was INCREDIBLY AMAZING. See it.


Also, I like milo.

Wednesday, July 14, 2010

Diary Of A Mad Writer #8 - So The Foresight Had Some Insight, In The Light Of Hindsight. (Thankyou, Bernard)

As I look towards the future, I've decided it might be a good time to take a step forwards and take the opportunity to look back at the previous projects I have begun, both to get an indication of the work I've done so far, and to see if there are any works that may be worth salvaging and updating for future use. Or to put it simply, in order to move forward I've looked backwards and taken the past to use in the future, and find to think forwards, one must in truth, think backwards, but only in a back to front forward thinking way.

Allow me to elaborate.

Or at least, to stop talking nonsense.

I've about ten years worth of various projects on my computer, not all of them finished. Sadly I don't seem to have anything from before this, as I appear to have deleted it all (or at least, not backed up my files when we changed computers). It was probably terrible, as it was all from 16 years and under, but I'd have liked the opportunity to have said that myself.

As my current main goal is to get something published in a sci-fi/fantasy magazine within (hopefully) the next six months, I've been going through my old files to see if there was anything that could be polished up and submitted as is. the outlook so far, is not good. Out of all the files I've been through, they have all broadly fallen into one of the following categories:

1. Too Short - The magazines I have found have a minimum word count of 2000 words, quite a few of my short stories fall around the 1600 mark.

2. Too Long - Most of the other stories I have exceed the maximum length (8000 words)

3. Wrong Genre - Many of those that are neither too long or too short are in fact too 'not science fiction or fantasy', making them difficult to submit to a sci-fi/fantasy magazine.

4. Wrong Format - Written for radio, film, television, or theatre. Could possibly be rewritten, but most of them fall into category 1, 2, or 3 anyway.

5. Atrocities - Awful work, kept because I no longer wish to throw any stories out, but deserving to be burnt in a fire(wall).

After you throw out all of those, you're not really left with anything, except for a couple of recent projects that fit the bill perfectly, except they fall into category 6: Not finished yet.

However, while looking through the pieces I discoverd a bunch of longer stories I had begun but never conituned beyond about the 10th chapter (or in one case, the 2nd page). As it turns out there's a reason for this which is probably deserves its own blog, but looking through them I was actually rather pleased with what I'd written so far. So I've dug them out and am editing them between calls at work in an attempt to bring them up to spec, and then can look at either finishing them, or adapting them into shorter works that would be suitable for submission.

So is there anything I can submit now? No. But there are plenty of things I will be able to submit, once they're done.

Assuming I don't change computers anytime soon.

Sunday, July 11, 2010

To Sleep, Perchance To Oh Crap It's Half Past Six!

There have been many strategies over the years as to the best way to get out of bed in the morning, with limited scucess. I have been told to try putting the alarm clock on the other side of the room, to keep slippers by the bed, and on one rather bizarre occassion, to tie a peice of string to my toe and through some mechanical genius enable it to be tugged sharpy in the morning, thus waking me up (and hoping there's not a power surge, causing the machine to overload and leaving me toeless). However, I have discovered that nothing wakes you up more effectively than not getting up.

Allow me to elaborate.

I currently work in a position that for the first half of the week requires me to begin work at eight. To follow this backwards in a logical progression, that means I need to be at the office at 7:40 (as when my public transport is late, it's VERY late...), which means I need to catch a 7:00 train, which means I need to leave the house at 6:40, wich means I need to be up at 5:40, which means I need to set my first alarm at 5:30.

This is not by way of complaining, but rather to point out the timing involved. There are plenty of people for whom 5:30 would seem like a luxurious sleep in (or indeed for those unfortunate overnight workers, time for lunch). And there are definite advantages to starting work early, namely that you finish work early, particularly if you're a slack part time worker like myself. So all in all I'm actually rather glad to be working so early.

But my body clock still hasn't quite adjusted. Previously I worked until 11:30 at night, so I used to rise at about 9 or 10 in the morning and could enjoy a leisurely afternoon until it was time to leave. Now I need to be out of the house in an hour, which includes showering, shaving, dressing, eating breakfast, and remembering hat scarf, ipod, wallet, keys, and so forth. I say an hour because it allows me to not rush and instead be able to enjoy breakfast and a coffee before I go (as work for all it's free coffeeness frequently fails to comprehend that some wild crazy people enjoy non-off milk in their coffee on a Monday morning), but it can certainly done in a shorter time.

As I discovered this morning.

I use my mobile phone as an alarm clock as I generally leave it on anyway in case somebody needs anything, and also because it has the handy ability to set multiple alarms, so I generally set one alarm for 5:30 and the next for 5:40 as the first will generally wake me up, and the 2nd will wake me up just as I'm starting to fall back to sleep. This morning I cleverly managed, while turning off the first alarm, to reset my 2nd alarm for 4:40. So I awoke, (feeling sleepy but curiously refreshed), expecting it to be a couple of minutes before 5:40 to find it was, in fact, 6:27.

I have never woken up faster.
 
On the plus side, I have discovered that if the house were about to be sucked into a black hole in fourteen minutes time I don't need to worry as I can still shower, dress and pack a few things and be out of there in thirteen minutes, but on the downside I appear to have used up all the energy my body had allotted for today in about, oh, thirteen minutes as it happens. The first thing I did when I got to the office was to make a coffee, and was very glad to see that for once the fridge wasn't full of expired milk.

It was, however, full of no milk whatsoever, but mustn't grumble.