FiringSquad: Home of the Hardcore Gamer - Games, Hardware, Reviews and NewsSubmit your own or view users' CPU overclocking results!

  
 Home   News   THE MATRIX   Deals   Hardware   Games   Features   Media   Products   Forums   FS China 
AddThis Social Bookmark Button

Home : Features : Events : Epic's New Technology
» Join the Greatest Gaming Community NOW! (It's free)

Already a member? Login
 



Random Gallery >> 
Click to view high-res Image!
Crysis 3 Leaked Screenshots and Concept Art [6] (0)

My Crank that S#!t up entry :) (15) by ZEZgames
My Crank That Sh#!t Up! entry :D (3) by chipmunk995
ENTRY FOR CONTEST (4) by Alexander470
CRANG That S#!T Up! (15) by ElwinRansom
My crank that S#!t Up entry! (13) by zin_onos
Superlative Computer (6) by arvernis
Crank That S#!t Up! ENTRY :) (2) by CamoDaGreat
2nd Entry for Crank That S#!t Up! (2) by CamoDaGreat
Crank That S#!t Up!!!! (6) by CamoDaGreat
My First Entry For Crank That S#!T Up! (2) by deathknight.92

More Blogs >>




Epic's New Technology
May 30, 2000   Jakub Wojnarowicz > [View My Other Articles]
Product Info | User Reviews | Article Images | Image Gallery | Comments | Forum Thread
Implementation

The Heightmaps

Outdoor terrain can be (efficiently) done in one of two ways - at least, two popular ways. The first is voxels, which have no problems displaying rolling terrain with any distances, trees, and the like. Since we don't have voxel accelerator cards (yet), voxels will run slow whether you're looking at a detailed mountain range or a flat plain. Worse, the voxels stay the same size, so pixels continue to get bigger and bigger as you approach - the fine looking tall grass in the distance will feel like a 3 foot thick tree trunk if you get too close.

Of course, the advantage is that you don't have to deal with implementing fog and level of detail to keep framerate up. Terrain won't disappear suddenly because of a clipping plane, and it won't warp and skew itself into the final, detailed form as you get closer.

However, because of 3D accelerators and their speed, most developers pick heightmaps as the method to create and display terrain. What are they? Well, we sent an email to Brandon and he came back with this short, simple answer:

    Imagine a sheet broken up (what 3d programmers call tesselated) into triangles. Now raise and lower the points on the triangles to get mountains and valleys. That's a heightmap. A "map" or two-dimensional list of "heights" that describe how a surface changes elevation. If you break the surface up into really small triangles, you can get a lot of detail into the heightmap, making the terrain look smooth.

A Few Issues to Deal With

Heightmaps have one very serious drawback that we haven't mentioned yet. If you use a single map, you will never be able to make a vertical line. No matter how small you make the triangles dividing the map and how high you set one point of the triangle and how low another, you can't get a vertical line or anything steeper (ie, a ceiling or anything like that.) This makes building design impossible, and even a simple cave would be an incredible pain to try and make.

The solution for this is to use multiple maps. Two will allow you to make a circular cavern. Three will let you make a dent in its side, and so on.

However, to make buildings this way would be extremely tedious and annoying. Epic has retained the BSP capabilities of the Unreal engine for precisely this reason. The effect is much like the one found in Tribes - terrain is done by heightmaps, giving it a natural, flowing look and the performance is very good. Then you place BSP objects like buildings on this terrain to get the complete package.

Back! Page 1     Tribes Tribes Tribes… how is this better? Next!
Blog + Share: Digg Del.icio.us Reddit SU furl • More: AddThis Social Bookmark Button
Send This Article to a Friend!  
Table of Contents
  Print Entire Article  

MATRIX CONTENT » RANDOM MEDIA BLOG More Blogs >>
No ratings yet
» Please rate this
Read this Media-Blog entry!» Nvidia+Socom Cranks that $#%^ UP!!!!! (4)
by mrinfinit3 (2) Talk with this user on their Shout Box (My other blogs) Posted 22 months ago


 Latest Headlines
PC Game Sales for Wednesday, May 23rd (0)
New Firefall dev diary talks HUGE gameplay changes (1)
Diablo 3 sells 6.3 million, Blizzard claims PC record (4)
ShootMania Storm debut trailer pits red vs. blue (0)
XCOM: Enemy Unknown dated for October, new trailer (1)
Today's News >>
Today's Siteseeing >>


 Table of Contents


 Random Nomination
Best post-E3 .plan goes to 3DRealms' Charlie Wiederhold for his "hat" stories.


FiringSquad is powered by... Back to Top Site MapContact UsAdvertise With Us Privacy StatementAbout Us  
News RSSSiteseeing RSSArticle RSS   © 1998-2012 FS Media, Inc. All Rights Reserved