Jump to content
  • entries
    165
  • comments
    199
  • views
    87,348

Out-takes, when cockpits go bad


Flexman

1,781 views

 Share

My Dennis Norden bit. Out-takes from today. Most programmers we have a few wilco tango foxtrot moments from time to time. Here's a few from today. Starting with "How not to render lights to a buffer."

 

screenshot_265.jpg

The canopy glass makes for an interesting effect. Next, an interesting effect you REALLY don't want to see....ARRRRGHHHH....

 

screenshot_267.jpg

This is me getting a transform wrong. You can almost see the join between the high detail cockpit and the Apache exterior model. Mind the gap? I did fix this by correcting the TForm and resetting the camera back to the origin. Still have the lighting to correct but it's almost ready. The cockpit is rendered after the world, the zbuffer cleared and the pit is drawn at the world origin so zbuffer and floating point error is nil. All games have hacks to make them work, didn't you know?

 

Speaking of hacks I highly recommend "Game Coding Complete" by Mike McShaffry. Full of funny developer anecdotes and a brief history of Ultima which is fascinating. As well as many best-practice approaches to game programming.

 

 

Moving on, Dave was back to polishing the textures and models. More AO baking, backfaces, specular tweaks. Here's a selection of views from today. (Leaving out the rude England footy twitter jokes, some of which were priceless).

 

 

t72_3Image.jpg

 

sov_tanksImage.jpg

cougarImage.jpg

screenshot_264.jpg4946580266235927217-7621294717196138746?l=combathelo.blogspot.com

 

Source

 Share

4 Comments


Recommended Comments

Guest Red Ocktober

Posted

forget the mistakes... those vehicles look really sierra hotel...

 

the shot of the tank with the dof overplayed really looks good...

 

 

--Mike

Link to comment

are the tanks tracks animated or an actual models with joints? just curious as I have been playing around with chain physics here lately...

Link to comment

No joints on the tracks, it's too computationally expensive. The tracks are made so they can be animated by scrolling the UV co-ordinates. I don't yet have a shader to do that. Needs to take the vertex colour of the track and turn that into the necessary offset.

 

I did have an APC with full vehicle physics, just the wheels though, in grass at speed with dust you couldn't really tell if they were moving or not.

 

If you want to give the shader a go I'll throw some tanks at you to play with.

Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...