Burning Sands - A journey of learning and optimisation

Insights into the development of Project Reality.
Post Reply
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Burning Sands - A journey of learning and optimisation

Post by Rudd »

Hi all, thought I'd let you know about what I've been working on aside from helping community mappers and messing with maps currently in the build.

Burning Sands unfortunately had alot of issues that didn't crop up during testing, however thanks to both friends and fellow gamers I've had a large number of reports identifying the problems.

Burning Sands suffered from:

Memory CTDs

Why?
- Too many lightmap files
- Too many textures/texture pallets being loaded for objects
- Problem statics

Performance issues especially in the city

Why?
- Too may enterable buildings or high poly buildings close together
- Memory taken up in loading the map in the first place

Other bugs e.g. Combat areas in layer 64 had become messed up.

I'm confident this is all fixed and will be released with the next release, which will be done when its done. :D

Image

Image

She's still big and pretty despite my optimisations.

Heres a list of some the changes

Removed pavements (that was about 2000 objects, all had been lightmapped, so thats over 2000 textures not loaded, huzzah!)
Removed problem statics e.g. iraqi low apartments.
Optimised Lightmaps in both resolution and in selection of objects (was 55 atlases, now only 15!
Optimised terrain Lightmaps by decreasing resolution of FINAL LMs to 50% (note this achieves better quality and avoids offsetting colormaps than simply LMing on medium)
Replaced alot of enterable buildings with non-enterables/more optimised versions. This might sound bad to some people, but honestly I think spreading out the enterables will be good for both performance and gameplay. (muttrah being a prime example of this)
Removed a good number of destructable objects
created several more open spaces in the city (both for gamplay and FPS)
Removed alot of rocks (LOD issues)
Removed alot of mid east village statics
Lowered VD by 50m

These changes mean that alot more RAM is freed up during loading than before and also the FPS will be higher since theres fewer polys to render in the city, without sacrificing gameplay.

Also, for those of you who played the last public beta test - I've fixed the CTD on low terrain bug :) HUZZAH!


Gamplay changes

Asset and balance tweaks
Now all assets spawn in main base even at the start, exception is two MEC vehicles in the military base. This will prevent confusion.
AASv4 implemented



For you budding young mappers out there, remember all because it runs at 100FPS on your computer on local doesn't mean it'll behave like that on a public server. Optimisation is key!

Never use 3 objects where one will do, never use 3 kinds of objects when one kind will do.
Space out your enterables
Be selective with your lightmaps


I hope you enjoyed this humble blog, and I hope it reaffirms your belief that optimisation and fixing problems is at the fore of our minds.

Live Long and Prosper
Image
theflidgeface
Posts: 273
Joined: 2008-12-18 05:09

Post by theflidgeface »

nice fixes lookin forward to playin the new version

The M15A3, weapon of the future

Semper Fi
Shovel
Posts: 860
Joined: 2010-08-26 14:23

Post by Shovel »

Looks awesome! Can we has minimap?
Shovel009
Stealthgato
Posts: 2676
Joined: 2010-10-22 02:42

Post by Stealthgato »

Aww man, you removed the sidewalks? That gave the city a unique look in PR, really sad to see that go... Will it still be bright like the current version (a good thing IMO, looks really nice) or did the lighting get darker? Looking at those screens the city looks darker than before. Maybe an idea for a skirmish version, focusing on the building complex that's most to the West of the MEC's Munition Storage Bunkers, that complex could provide some very interesting firefights. Good thing in optimising it for people though, looking forward to having this map being overplayed :D Weirdly enough, so many people crash and lag on this map, for me it's one of the smoothest-running maps in PR, I've never crashed or had noticeable FPS drop (yes, playing online with 62 players, in the city, flying, in the desert), and yet in Fallujah which is so much smaller I get FPS drops often.
Snazz
Posts: 1504
Joined: 2009-02-11 08:00

Post by Snazz »

Could the sidewalks/pavement be optimized for future use?
BIGsmalll
Posts: 82
Joined: 2009-02-28 02:42

Post by BIGsmalll »

You forgot something at the end of this awesome fix...



HUZZAAAHHH!!!!
[img]http://fc00.deviantart.net/fs71/f/2011/338/e/6/blaarrrrrghhh_2_by_legiaoday-d4i7lts.gif

"Damn right away laws...."

Image
Arnoldio
Posts: 4210
Joined: 2008-07-22 15:04

Post by Arnoldio »

Nice to see this getting optimised. I didnt have problems, but more people like me, the merrier!
Image


Orgies beat masturbation hands down. - Staker
Curry
Posts: 1063
Joined: 2011-01-10 22:39

Post by Curry »

Stealthgato;bt6215 wrote:Maybe an idea for a skirmish version, focusing on the building complex in the North-West corner of the MEC's Munition Storage Bunkers, that complex could provide some very interesting firefights.
+1. Or just a alternate layout for skirmish.

Will there be another public test, like last time on PRTA?
hobbnob
Posts: 997
Joined: 2009-05-12 18:23

Post by hobbnob »

hmmm two apaches and havocs should be very interesting :D
Image
Cpl.Small
Posts: 2015
Joined: 2008-11-25 23:06

Post by Cpl.Small »

Nice Rudd, the city looks absolutely amazing, so much detail in it, you've obviously been working hard... Well done :)
Psyko
Posts: 4466
Joined: 2008-01-03 13:34

Post by Psyko »

good job broo.

looks splendid.
Redamare
Posts: 1897
Joined: 2007-10-30 21:09

Post by Redamare »

good work fixing those issues ... ive only played on this map a hand full of times so i didnt notice any of the issues but thats not to say that i dont Believe it :P . . . theres always going to be bug fixes with maps for PR BF2 its just the nature of the beast
karambaitos
Posts: 3788
Joined: 2008-08-02 14:14

Post by karambaitos »

did you just imply that crashing on load didnt crop up in testing?
cuz thats a pretty hard thing to skip.

anyway i like the map it doesnt get boring
There is only one unforgivable lie That is the lie that says, This is the end, you are the conqueror, you have achieved it and now all that remains is to build walls higher and shelter behind them. Now, the lie says, the world is safe.? The Great Khan.

40k is deep like that.
Gozjh
Posts: 186
Joined: 2010-10-17 17:12

Post by Gozjh »

Nice, maby I can get more that 10 FPS in the city now :)
[R-DEV]Rudd: "its project reality...not an episode of bob the builder or something...."
Image
Image
Absolute Killer
Posts: 42
Joined: 2009-02-24 01:19

Post by Absolute Killer »

thanks rudd keep it up!
Image

[3dAC] AK
Nakata
Posts: 102
Joined: 2010-02-05 02:24

Post by Nakata »

First time I saw Burining Sands i thought it will be the next Kashan esert with a Muttrah city inside... Now it's playble!!!!!!!!!!!!!!
Dr Rank
PR:BF2 Developer
Posts: 2765
Joined: 2006-11-11 15:05

Post by Dr Rank »

Awesome work Rudd, looking forward to playing on the fixed up version 8)
Image
Image
Image
AnimalMother.
Posts: 2476
Joined: 2007-02-25 15:38

Post by AnimalMother. »

can't wait for this to be played, one of the saddest parts about 957 is that burning sands is never played :( such an awesome map

this map + 128 players on AASv4 is going to be immense
ex |TG-31st|
AnimalMotherUK - YouTube

vistamaster01: "I just dont get people with girl usernames/pics/sigs lol,
for example I thought AnimalMother was a girl :o ops:"

Arte et Marte
Post Reply

Return to “Development Blogs”