[phpBB Debug] PHP Notice: in file /home/kewl/public_html/templates/nextgen_green/header.php on line 38: Cannot modify header information - headers already sent by (output started at /home/kewl/public_html/core.php:0)
[phpBB Debug] PHP Notice: in file /home/kewl/public_html/templates/nextgen_green/header.php on line 39: Cannot modify header information - headers already sent by (output started at /home/kewl/public_html/core.php:0)
[phpBB Debug] PHP Notice: in file /home/kewl/public_html/templates/nextgen_green/header.php on line 40: Cannot modify header information - headers already sent by (output started at /home/kewl/public_html/core.php:0)
Advertise on the GDN Network
 
 
GDN Home
News Archives
Members List
Submit Article
GDN Newsletter
GDN Media Kit
Interviews
Reviews
Previews
Screenshots
GDN TV
Patches/Updates
Upcoming Releases
Publishers/Developers
Games List
Review Score Scale
Eipix
iPhone game Golman musi...
The great dilemma...
Wolfire Games
Bands and Orchestras...
Triangle Mesh Voxelizat...
Christophor Rick
My Return to GDN...
iPhone Review: Inkvader...
Robert Hedlerfog
My first blog post at G...










LFG Expo


GDN Proudly Hosted
on an HWS VPS

Index » Blogs
Overgrowth Developer Diary #2

Posted by DEVWolfire, Dec 31, 1969 19:00
Shedding Some Light On Overgrowth's Terrain Rendering System


In last week's developer diaries I explained how Wolfire is laying the foundation for Overgrowth by starting with the Phoenix Engine's terrain system.  While I mentioned how the terrain meshes are created with our "Off The Grid" system, I left out an equally important part of the puzzle.  Before you can design complex, good looking player models and level assets, you need to have some idea of how the assets will look when they are rendered in-engine.  This week's developer diary will describe Wolfire's initial work on terrain coloring, lighting and shading and how terrain has combined with the sky to form one cohesive environment.



David got specular lighting, diffuse lighting and bump mapping set up right away on the terrain.  These features are pretty much standard for all 3D video games.  However, David decided early on that there needed to be realistic atmospheric haze.  David not only employed a radial haze system that avoids distortion when the camera is moved, but he also made it procedurally dependent on the sky box.  Because the haze color is sampled from the sky image behind it, even if we use sunset sky boxes with many drastically different colors, the haze will blend in nicely.  In the picture above, you can see how the left side looks like terrain shoved under a picture of the sky.  On the right side, David's subtle fog effects on the distant mountains really make the world feel like it has a continuous atmosphere.



Next, Aubrey started working on our terrain textures.  He discovered that World Machine 2 offers a great way to add realistic terrain detail in the form of a macro texture map.   Even erosion data gets calculated and affects the terrains appearance.  The picture above shows Aubrey's texturing on Phillip's "Off the Grid" terrain geometry, accented by David's radial haze effect.  I was shocked to see all these features appied together because at such an early stage, our terrain was already approaching photo realism.  However, something was still missing…



Shadows!  Realistic terrain should be casting shadows on itself.  David's next move was to cook up an efficient algorithm for calculating the shadows on the terrain.  Some users will not appreciate David's optimization because they will only be playing on existing maps with all the shadowing pre-baked into the terrain.  However, for anyone in the map editing business (and we're trying to encourage as much Overgrowth modding and map editing as possible), this will save lots of time.  The picture above shows off the results of David's self-shadowing terrain. 



Just to be sure that the shadows lived up to the photo-realism captured by the rest of the Phoenix Engine, David fine-tuned his shadow calculation process to make a high detail pass over the terrain, producing the image above.  The terrain as an isolated asset was now fairly complete.  Now it was time to start work on some non-terrain assets but I will discuss that in a future developer diary.

For more information on Overgrowth development please visit the Wolfire Blog.

Comments
Rules
1. No cursing or swear words: Use proper language to express yourself.
2. No flooding or spamming the comment system, abuse will result in a ban.
  #1 Jan 21, 2009 10:18:07

SuperGuido
3 Comments

Man that stuff is looking really cool so far. Well Done!



 
 
Search the site:

  Follow GDN at:

Gods Lands of Infinity Special Edition | Mon, 26 Jul 2010
Description: The ancient world of Bellarion struggled in the never ending war of Gods. ...[more]
Perimeter 2 New Earth | Mon, 26 Jul 2010

Nexagon Deathmatch | Mon, 26 Jul 2010

Hover Ace | Mon, 26 Jul 2010

Call for Heroes Pompolic Wars | Fri, 23 Jul 2010

Culpa Innata | Fri, 23 Jul 2010

1914 Shells of Fury | Fri, 23 Jul 2010

Simon the Sorcerer Classic Pack | Thu, 22 Jul 2010

Creeper World | Thu, 22 Jul 2010

MegaDrive Genesis Series 1 Complete Pack | Thu, 22 Jul 2010

 
Advertise | Submit News | Contact | Pages | Blogs | Forums | Downloads | Video | Privacy Policy | About Us | GDN Staff | GDN Review Scale
News & Articles RSS | News RSS | Article RSS | Video RSS | Reviews RSS
 
 
Backgammon