Tuesday, 8 December 2009

Modelling and compiling


Compiling
The compiling procedure in Half Life requires a QC file. The .QC file has a list of commands that tell the studiomdl about the location of the models various SMD's. This is where the compiled objects should be written to.
The various SMD's include:

A reference mesh - that holds the UV mapping information and the rendered geometry of the model
A collision mesh - that holds the physical properties - this should have a low polygon count (cheap to render)
Skeletal animation - information about joints etc that is used in the animation process. This is required on idle objects as well

Texture information is compiled in the QC file.

Issues - Compilation
To date we have had issues with the exporting process.
This can be done in 3DSmax, Cinema4D or lightwave but all require plug-ins and different pieces of software to correctly assemble the SMD's.
We had trouble compiling in 3DSMax for these reasons and eventually settled on lightwave due to its more straight forward interface design and export capability.
Iona is currently tackling compiling.

Issues - Model production
The main problem we have encountered here is getting the model properties correct. Initally Selma created a list of fantastic models but used smoothing properties and NURBS (non-uniform rational B-splines). Half life only allows compilation using standard polygon designed models. Although models were redesigned the polygon count some still exceeded 8000 per model. These were redesigned to be less complicated and many are now useable. Some however are too simple and become unrecognisable when the MDL file is compiled.
This is really a trial and error process in which Selma and Iona are deeply into!

Some examples of rendered models by Selma Wong

sewing machine render
Sewing Machine

wheelchair render
Wheelchair

More Modding in Orange Box -skyboxes


Skyboxes
The space directly before the war bunker was simply a brick room (seen previously on another blog post called war room skeleton) before a skybox was added. A skybox, in conjunction with a sky camera allows a panoramic sky-scape to mapped onto the area in which a 'skybox' texture is applied. The sky camera itself takes its reference from the origin of the map allowing larger buildings and objects to be framed in a space further away from the main map. The reference camera uses 1/16 scale building to reduce the polygon count as well as requiring less skybox to render.
Fire entities and smoke entities also add to the war-like effect. Here some entity parenting work needed to be done to tie the gas to the canisters and effects like the canisters exploding when picked up.

Sunday, 22 November 2009

Not too happy!!!

Ok so its currently 6am, 6 hours after i decided just to 'have a go' at looking at colour correction. I was trying to produce a colour desaturation when you walked into a specific area...

What i have worked out...

1. Everything that i have read online is wrong!! Using a color_correction_volume entity linked to a trigger brush gives you the opposite effect to what is required! You step into the triggered area and colour is RESTORED when in fact you want the correction to happen when that environment.

2. Making it work by putting a volume of trigger brushes around EVERYTHING BUT the environment has its problems unless you put it all in a func_detail before applying the linkages

3. When the thing does eventually work the effect bleeds into the rest of the map - the whole map desaturates slightly so it looks less vibrant then before. Not only does it make the map less lively but it nullifies the whole point of a drastic colour desaturation!

4. Throughout typing this whole blog entry ive had to correct every instance that i've written 'colour' because ive programmed myself to type 'color'

5. Im worried that sound and (potential) animation triggering is going to lead to just as many problems.


I can see myself having another go tomorrow although i dont think there is a single setting in the colorcorrectionUI or the func_detail properties i havent tried. If i cant get it to work id rather lose the desaturation effect and try and produce something that swells shadow or lighting or something, i really dont know. It just seems a shame to lose the vibrancy of the piece for one small effect.

One thing is for sure though, i gotta get out of this 3am, 4am, 3am, 6am OCD fueled work pattern. Sometimes i think if i left it alone a while and even slept on it id have a clearer picture or at least the will to try a few more times. Lets see what tomorrow brings

:)

Sunday, 15 November 2009

Internal architecture stills

Internal space drafts by Lee in Half Life

Water Tower External Design

Implemented by Jovi using 3DS Max and photo textures -



Work in Situ

**Post deleted wednesday 6th January**


Time Management..


After doing a rough draft of the floor plans we've divided work up a little bit as follows:

Jovi-
• Building the external tower
• Build objects in 3Dstudio Max
• Scripting animation/sound elements into HL
• Research how to do animation in HL

Selma-

• Building ECG machine, piping, and wires (blood trans.)
• Build objects in 3Dstudio Max
• Scripting animation/sound elements into HL

Iona-
• Gathering textures
• Historical research and oral history
• Sound recording/foley
• Studio 6 conservatoire mix
• Scripting animation/sound elements into HL
• Particle generators and skyboxes (external environment)

Lee-
• Building the maps/architecture in Half Life
• Sound recording/Foley
• Rough mixes then Studio 6 conservatoire mix
• Scripting animation/sound elements into HL
• Research triggering in HL (animation and sound)
• Particle generators and skyboxes (external environment)


TimeLine
Working with 5 weeks left to finish should give us plenty of time for unexpected problems and a week to fully test and gain feedback from people.


Week 1 (as of 16th Nov)
  • Complete water tower amendments
  • Gather relevant textures for existing tower internals (photography on site)
  • Building of maps/architecture in HL (Half Life)
  • Object research and plans on realisation in 3DS Max
  • Build upon ideas of how the blood transfusion ideal could be achieved (Selma)
  • Begin oral history research

Week 2
  • Continue with 3DS Max object building including compilation tests and UV mapping
  • Research into object animation particually in reference to the ECG machine idea (more to follow)
  • Continue internal architecture and design
  • Import real world 256x256 textures into HL and implement
  • Oral history script and how it will be experienced through the space

Week 3
  • Complete 3DS Max object building and begin to import into HL, orientate and UV match to existing HL entities (objects/prefabs/lighting)
  • Research into triggering sound and animation within HL
  • Begin sound sample gathering using predefined sound script throughout the space

Week 4
  • Continue sample gathering and begin compiling atmospheric sounds/triggered sounds/oral history work (fragmented narrative)
  • Contextualisation check - Meeting to discuss if the media created is sufficient to describe the space in the way we want it to
  • Animations produced and put into HL - tested and developed

Week 5
  • Import sound elements and set up proximity triggers within HL
  • Any remaining skybox work (picture of the new hospital through the windows etc)
  • Work with particle generators to create dusty environments

Week 6
  • Test/troubleshoot and resolution
  • Feedback

:)