project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding > Modding Tutorials
25 Sep 2024, 00:00:00 (PRT)
Register Developer Blogs Members List Search Quick Links
Modding Tutorials Information and tutorials related to modding BF2.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 2008-12-06, 02:04   #1
CodeRedFox
Retired PR Developer

CodeRedFox's Avatar
Default Terrain Morphing 4km vs 2km

[Info] The polygon diffrence between a 2km (12024x2) and a 4km (1024x4) maps.

Hello mappers,

Heres some quick Info on Terrain LODS when dealing with 4km maps.



The image above represents how the BF2 engine creates ground. A series of polygons.

A 1km map will have 1024 x 1024 polygons in a box formation.

Now a 4km has the same 1024 x 1024 but is stretched out 400% bigger. So where you had 4 polygons you now have only one.
  • Flat ground: Image show what flat ground looks like.
  • Share Incline: Image show what allot of areas on Feyzabad look like (little more drastic here). See the stretched polygons? The game doesn't like this. and at distance tries to un-stretch the polygon.
  • Smooth Incline: Image show how the BF2 engine prefers the ground to be. Very little stretching.

Blue color is the polygon size of a 1km map
Green color is the polygon size of a 4lk map (Polygons are twice a big/scaled)



Stretching at distance.



As you can see without smoothing surfaces the engine tries to smooth it at a distance. As you move closer the engine returns the polygons to its correct shape.

Hope that helps all of you.



"apcs, like dogs can't look up" - Dr2B Rudd
CodeRedFox is offline
Last edited by CodeRedFox; 2009-04-24 at 02:31..
Reply With Quote
 


Tags
1km, 2km, 4km, diffrence, info, map, morphing, polygon, problems, terrain

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 19:27.