View topic - are features expensive now?



All times are UTC + 1 hour


Post new topic Reply to topic  [ 48 posts ]  Go to page 1, 2, 3  Next
Author Message
PostPosted: 11 Apr 2012, 00:49 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
I am getting notable fps loss from many features. Would like to know if others are noticing this as well.


Top
 Offline Profile  
 
PostPosted: 11 Apr 2012, 03:15 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
No more than usual. I have a few (older, non-ssmf) maps with over 9000 (literally) features on them and those I take a performance hit. But on normal feature range (1k - 5k) I haven't noticed any dip in performance.


Top
 Offline Profile  
 
PostPosted: 11 Apr 2012, 09:08 
Moderator
User avatar

Joined: 26 Oct 2007, 15:21
I have also noticed this, having high quality shadows and AA on will compound the effect. Forb could you please zoom in on a map (just enough to have the view full of trees) like the new Altored divide or Blindside? The maps use pretty low poly trees, yet cause a disproportionately large FPS drop (altored is nigh unplayable for me).


Top
 Offline Profile  
 
PostPosted: 11 Apr 2012, 09:24 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
O_O, no that doesn't happen to me at all. For posterity I'll check again...

Well I'll be damned... there is an fps drop. I'm still getting 70 fps (which is why I didn't notice before) but normally I would have 120 - 200ish. O_o, that's no bueno.


Top
 Offline Profile  
 
PostPosted: 11 Apr 2012, 09:44 
Moderator
User avatar

Joined: 26 Oct 2007, 15:21
I drop from 100+ to low 20s on altored. Which gpu do you use and do you have shadows/AA on? ( i use 8800gt with 4x AA and 4096 shadows)


Top
 Offline Profile  
 
PostPosted: 11 Apr 2012, 12:33 
Spring Developer
User avatar

Joined: 28 Jun 2007, 06:30
One problem is the `fading features` feature, it's bad implemented and makes feature rendering ~3x as slow as without it (16% cpu time versus 6-8%) . Also it isn't customizable anymore (iirc it was once) and it uses a fixed distance, so conflicts with fartextures.
But I don't got the time to fix it, I would disable it as a whole, but better ask zerver what to do with it.


Top
 Offline Profile  
 
PostPosted: 11 Apr 2012, 13:37 
Moderator
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
it's ugly as hell, bin it


Top
 Offline Profile  
 
PostPosted: 11 Apr 2012, 13:43 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
I agree with Flozi. At this point it does more harm than good. Also, tbh I really dislike it when I zoom out and features disappear entirely.


Top
 Offline Profile  
 
PostPosted: 11 Apr 2012, 14:09 
Moderator
User avatar

Joined: 26 Oct 2007, 15:21
Nothing is free. I'm of the opinion that features popping out with zoom (without fade) would be horrible. But the point of the OP is that features, when zoomed in cause a very large FPS drop.


Top
 Offline Profile  
 
PostPosted: 11 Apr 2012, 14:13 
Moderator
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
Just have them change to imposters like units do


Top
 Offline Profile  
 
PostPosted: 11 Apr 2012, 16:41 
Moderator
User avatar

Joined: 26 Oct 2007, 15:21
They do change to billboards.


Top
 Offline Profile  
 
PostPosted: 11 Apr 2012, 17:33 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
billboard looks terrible for many features.

The main thing is that I am running:
16 gb of ram
280 nvidia(next thing that is getting replaced)
3.5ghz octacore(not that it matters)

and still struggle to keep higher than 45 fps with features displayed. If I am having THIS much trouble, I hate to imagine the goobers who are trying to run spring on 4 year old hardware.


Top
 Offline Profile  
 
PostPosted: 11 Apr 2012, 17:57 
Kernel Panic Co-Developer
User avatar

Joined: 16 Nov 2004, 13:08
Last time I tried (may 2009) covering the whole map with feature was expensive. I ended up drawing cubes with Spring OpenGL Lua, since anyway I needed them only for visual.


Top
 Offline Profile  
 
PostPosted: 12 Apr 2012, 06:10 
User avatar

Joined: 28 Jul 2008, 05:51
Location: Australia
My own experiments (viewtopic.php?f=11&t=27938) lead me to believe features have an unusually high impact on the pathfinder. If you look at the debug screen (alt-b) and notice a high CPU usage on movetype::update you may be seeing this as well.

When I disabled the check for feature collisions in the source code the CPU usage dropped by about 80% for the same number of units and features. Note that this appears to be an issue whether your units are actually moving or not and strangely enough it doesn't seem to matter whether you reclaim all the features.


Top
 Offline Profile  
 
PostPosted: 12 Apr 2012, 13:32 
Journeywar Developer & Mapper
User avatar

Joined: 24 Jan 2006, 21:12
Location: There is no god - and reality is his prophetess
Could we replace features on a certain zoom-level with 2 d planes? That way, even shadow could be still calced and stuff like forrests or stones could remain on the map.
Image

Also its not a bug.. its a feature ;)


Attachments:
File comment: i made this.. in paint.. with no mouse :(
2d is beautifull.jpg [391.07 KiB]
Downloaded 2 times
Top
 Offline Profile  
 
PostPosted: 12 Apr 2012, 14:27 
AI Coder
User avatar

Joined: 14 Sep 2004, 10:32
Location: Cookieland
Picasso that already happens, it's what was being referred to when billboarding was mentioned


Top
 Offline Profile  
 
PostPosted: 12 Apr 2012, 15:24 
User avatar

Joined: 23 Feb 2009, 16:29
Location: Finland
smoth wrote:
I hate to imagine the goobers who are trying to run spring on 4 year old hardware.

I think 4 years is a bad estimate for the mean hardware age. I would think 8 years is closer.


Top
 Offline Profile  
 
PostPosted: 12 Apr 2012, 17:17 
Spring Developer

Joined: 16 Dec 2006, 20:59
Do you have performance issues always with these maps, or only when many features are in view?

PicassoCT wrote:
Could we replace features on a certain zoom-level with 2 d planes?

FFS NO :), and the far-textures should be removed as well IMO. It is better to make a fully 2D minimap-like version of Spring instead for ultra-low-end systems.


Top
 Offline Profile  
 
PostPosted: 12 Apr 2012, 18:46 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
I don't understand your post zerver or what you are suggesting.

Jools:
so the engine should have features, which hurt higher end systems THIS greatly so older computers can run spring? It puts projects like mine in a hard spot. because either you run spring in really low settings OR you have to have a computer MORE powerful than mine? no, anything older than 4 years can gtfo.


Last edited by smoth on 12 Apr 2012, 18:59, edited 1 time in total.

Top
 Offline Profile  
 
PostPosted: 12 Apr 2012, 18:54 
Moderator
User avatar

Joined: 26 Oct 2007, 15:21
The billboards are a negligible drop. Look at Altored divide remake:

26 fps:
Image


250+ fps:
Image


17 fps!:
Image

FSAA = 1
FSAALevel = 4

ShadowMapSize = 4096
Shadows = 1

On an 8800 GT.


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 48 posts ]  Go to page 1, 2, 3  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.