project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding > Modding Tutorials
PR Time:
Register Forum RulesDeveloper Blogs Project Reality Members List Search Today's Posts Mark Forums Read
Modding Tutorials Information and tutorials related to modding BF2.

Contact Support Team Frequently Asked Questions Register today!

Reply
 
LinkBack Thread Tools Display Modes
Old 12-05-2008, 10:04 PM   #1
CodeRedFox
Retired PR Developer

CodeRedFox's Avatar
Default [Map Info] 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.



To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.

"apcs, like dogs can't look up" - Dr2B Rudd
CodeRedFox is offline
Last edited by CodeRedFox; 04-23-2009 at 11:31 PM..
Reply With Quote
Old 12-05-2008, 10:41 PM   #2
=Romagnolo=

=Romagnolo='s Avatar
Send a message via MSN to =Romagnolo=
Default Re: [Info] Problems with 4km vs 1km

So, was it that messed your new map ? I see it a lot in kashan in the moutain parts. Good to know, thank you for the research.

[R-DEV]OkitaMakoto:"Cheers, you're the man, Okita"
[R-DEV]Rhino:"I in fact got kicked from a server for tking."
Hitperson:"well done, treasure it forever."
[R-DEV]Rudd:"if a pidgeon lands on the phone line I lose internet for 3 days"
[R-DEV]Chuc:"Pro man, pro."
(yes, it was about me)
[R-MOD]BloodBane611:"Romagnolo, you definitely deserve a LOL award for that."
=Romagnolo= is offline Reply With Quote
Old 12-05-2008, 10:55 PM   #3
CodeRedFox
Retired PR Developer

CodeRedFox's Avatar
Default Re: [Info] Problems with 4km vs 1km

This is the exact problem.



To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.

"apcs, like dogs can't look up" - Dr2B Rudd
CodeRedFox is offline Reply With Quote
Old 12-05-2008, 11:23 PM   #4
CoOlaiD
Default Re: [Info] Problems with 4km vs 1km

and is there absolutely no way of working around it? and if u import terrian in from max or sum other model software? i know it a pain but dose the same problem occur?
CoOlaiD is offline Reply With Quote
Old 12-05-2008, 11:46 PM   #5
CodeRedFox
Retired PR Developer

CodeRedFox's Avatar
Default Re: [Info] Problems with 4km vs 2km

Yes the way you work around it is smooth it out

You could possibility add the ground in as a static but all of our tests have been bad.



To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.

"apcs, like dogs can't look up" - Dr2B Rudd
CodeRedFox is offline Reply With Quote
Old 12-05-2008, 11:47 PM   #6
[R-DEV]Rhino
PR Mapper Team
Supporting Member

[R-DEV]Rhino's Avatar
Send a message via MSN to [R-DEV]Rhino
Default Re: [Info] Problems with 4km vs 2km

fixed your title and a little bit in your topic, a 1024x2 map is not 1km, its a 2km squared map


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
[R-DEV]Rhino is online now Reply With Quote
Old 12-06-2008, 12:03 AM   #7
CodeRedFox
Retired PR Developer

CodeRedFox's Avatar
Default Re: [Info] Problems with 4km vs 2km

OH Duh LOL yes



To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.

"apcs, like dogs can't look up" - Dr2B Rudd
CodeRedFox is offline Reply With Quote
Old 12-07-2008, 10:19 AM   #8
wuschel

wuschel's Avatar
Default Re: [Info] Problems with 4km vs 2km

I am not into mapping, but here is my question:

Would it not help to use 4096x1 instead of 1024x4 for a 4km? As I understood it, we speak about a "polygon stretching problem". With more points in the map, maybe we could take some some strain out.
wuschel is offline Reply With Quote
Old 12-07-2008, 10:25 AM   #9
[R-DEV]Pride
PR Artwork Team

[R-DEV]Pride's Avatar
Default Re: [Info] Problems with 4km vs 2km

maximum allowed 'amount of polygons' is 1024x1024.

Therefore the only way to get a 4km map is to use a 1024 scale 4.


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.

eddie: the MoD aren't just going to start blurring their faces so they look 'well ard' are they?
[R-DEV]Pride is offline Reply With Quote
Old 12-07-2008, 02:52 PM   #10
[R-DEV]marcoelnk
German Forces Mod Leader

[R-DEV]marcoelnk's Avatar
Default Re: [Info] Problems with 4km vs 2km

it somehow works to create a 2024 x 2024 map but only if everything that is bigger than 1024 x 1024 is water afaik.... and it will be quite buggy i assume. so dont try that.


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
[R-DEV]marcoelnk is offline
Last edited by [R-DEV]marcoelnk; 12-07-2008 at 02:59 PM..
Reply With Quote
Reply


Tags
1km, 2km, 4km, diffrence, info, map, morphing, polygon, problems, terrain
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 05:56 PM.


Powered by: vBulletin. ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO.
All Content Copyright ©2004 - 2012, Project Reality.