Hard Light Productions Forums
General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: Spoon on July 08, 2009, 04:45:32 am
-
I've run in a weird issue which is easily reproduced, i've switched to RC3 recently. Can't say I noticed this before in the nightly build I was using (but then again, I didn't had the frame rate counter on most of the time)
The issue is as follows, with contrails enabled (min display speed 30 or so) place a bunch of fighters (4-8 or so) at a distance of 4000 clicks (any distance, as long as they dont attack you) with No initial orders and start the mission. When I do this, my frame rate drops to 60-70 (I dont have v-sync enabled) depending on the amount of ships on screen.
Now go back into fred and give all of these ships initial orders (attack, move to way point, whatever as long as they are moving around). When I do this my frame rate instantly restores to 114-120. As long as the AI ships are moving about. As long as even one of them is idiling about the frame rate drops by 20 or so
At first I figured this was because of my modding but it also happens in FS2 with just mediavp's enabled.
-
Could you provide a test mission?
-
Let me get this straight.
You're complaining that the framerate drops from ~115 to ~65. When both are fast enough you can't even tell.
-
Could you provide a test mission?
certainly, i've attached it with this post.
Be sure to turn on the framerate counter (and the mediavp's I guess). and vsync off (easier to notice the frame difference with it turned off)
Let me get this straight.
You're complaining that the framerate drops from ~115 to ~65. When both are fast enough you can't even tell.
No dear sir 'I reside on a negative plane' Aardwolf. I'm not 'complaining' about anything here. Might I suggest you read my post again, a bit more carefully this time?
[attachment deleted by MSC
-
'twas hyperbole.
-
'twas hyperbole.
Hyperboles and sarcasme can be hard to detect on the internet. And in this case it really didn't sounded much like a hyperbole but more like you didn't read what I wrote in the first place. That aside, are you actually going to have a look at it (and you know, be useful :P )?
-
Since you seem to have a reproducible situation I'd recommend filing a bug report in Mantis (http://scp.indiegames.us/mantis/main_page.php) with the information you provided plus the test mission and possibly some screen shots.
-
Since you seem to have a reproducible situation I'd recommend filing a bug report in Mantis (http://scp.indiegames.us/mantis/main_page.php) with the information you provided plus the test mission and possibly some screen shots.
I'm still waiting for someone... Anyone to confirm this though. Perhaps its a driver issue on my end. I can't tell if nobody takes the time to try it out and post here..
-
What happens if you give them no orders and then give them one after 10 seconds? Does the speed suddenly tank?
-
What happens if you give them no orders and then give them one after 10 seconds? Does the speed suddenly tank?
The framerate will take a significant hit for those first 10 seconds and will recover to normal speed again when they recieve the order.
-
I guess a video will speak louder then words. Though fraps is limiting the fps to 67 at the highest.
First ten seconds the mara's are idle and the frame rate is around 30-40 then after 10 seconds they all recieve orders to attack alpha 1 and the frame rate climbs to 67 (and once fraps turns off recording, its 120 again).
http://www.youtube.com/watch?v=ag1cI8QXIXg in HD the framerate counter should be visible.
-
I'll have to try reproducing this one. Add it to Mantis if you haven't already.
-
I tried to register an account for mantis but i'm not getting the confirmation mail
-
confirmation mail for mantis never arrived (not in the junk or spam folder either)
Has anyone been able to confirm/reproduce this issue so far?
-
Haven't had the chance so far unfortunately.
-
I can take a guess at this one...
If the ship's velocity is zero, in order to do the whole 'billboarding' effect, it might be trying to normalize a zero vector. This may not break anything, but I've observed in my own programs that when there are a lot of floating point operations with non-numerical values (i.e. NaN, inf, etc.), it's a lot slower than the same number of operations but with valid numbers.
-
confirmation mail for mantis never arrived (not in the junk or spam folder either)
Has anyone been able to confirm/reproduce this issue so far?
We know - there's a mantis issue for this, and it is being worked on :P