Comments on: If Your Framerate Gets Slower Over Time, It Might Be the Cars https:/2012/04/if-your-framerate-gets-slower-over-time-it-might-be-the-cars/ Developer resources for the X-Plane flight simulator Fri, 06 Apr 2012 16:42:42 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: Tom Knudsen https:/2012/04/if-your-framerate-gets-slower-over-time-it-might-be-the-cars/#comment-4822 Fri, 06 Apr 2012 16:42:42 +0000 http://xplanedev.wpengine.com/?p=4261#comment-4822 In reply to Ben Supnik.

Thanks Ben, happy easter 🙂

]]>
By: Ben Supnik https:/2012/04/if-your-framerate-gets-slower-over-time-it-might-be-the-cars/#comment-4820 Fri, 06 Apr 2012 15:41:56 +0000 http://xplanedev.wpengine.com/?p=4261#comment-4820 In reply to Tom Knudsen.

X-Plane only generates 3-d meshes for areas near the plane; this is done on multiple cores as you fly.
X-Plane only draws roughly what can be seen on the screen.

]]>
By: Tom Knudsen https:/2012/04/if-your-framerate-gets-slower-over-time-it-might-be-the-cars/#comment-4819 Fri, 06 Apr 2012 15:22:17 +0000 http://xplanedev.wpengine.com/?p=4261#comment-4819 In reply to Ben Supnik.

Do the same function apply to the road texture or do they render globally?

Then if the code dies/sleeps all other places than where you actually are i.e within the certain amount of nautical miles, would not that ease the FPS?

]]>
By: Ben Supnik https:/2012/04/if-your-framerate-gets-slower-over-time-it-might-be-the-cars/#comment-4818 Fri, 06 Apr 2012 12:22:47 +0000 http://xplanedev.wpengine.com/?p=4261#comment-4818 In reply to Tom Knudsen.

The traffic density target is a function of both the rendering setting _and_ the capacity of the types of roads (as defined by the artists _and_ the actual roads nearby. So the actual rendering load (unfortunately) depends on where you are. (This is sort of unavoidable – if you are in the mountains there’s no way that “downtown LA” can actually make that many cars and still look sane.)

So if you had a custom road grid that regionally applied to another area, the car budget would change based on how heavily the artist sprinkled cars into _that_ road grid; traffic density is defined per road segment.

]]>
By: Tom Knudsen https:/2012/04/if-your-framerate-gets-slower-over-time-it-might-be-the-cars/#comment-4815 Fri, 06 Apr 2012 09:06:08 +0000 http://xplanedev.wpengine.com/?p=4261#comment-4815 The roads in XP is based on american roads right? This is noticeble in those countries that normally do not have many of these type of roads (i.e. 4 lanes) If using Norway as an example, if one are to reduce the lanes would not the amount of cars be naturally reduced or would it be just more cars seen on i.e 2 lane roads? And further more, will not cars be naturally reduced i.e if one reduces the visibility range?

I don’t know how this code work, but I would love to have an option for using 2, 4, 6 lanes highways.

PS..
Siberia Winter works perfect for both realism and FPS

]]>
By: Chris Strosser https:/2012/04/if-your-framerate-gets-slower-over-time-it-might-be-the-cars/#comment-4814 Fri, 06 Apr 2012 08:24:04 +0000 http://xplanedev.wpengine.com/?p=4261#comment-4814 I suggest a new cars option between “none” and “Siberian Winter.” We can call it “Zombie Apocalypse.” 😉

]]>
By: Dominic https:/2012/04/if-your-framerate-gets-slower-over-time-it-might-be-the-cars/#comment-4813 Fri, 06 Apr 2012 07:35:15 +0000 http://xplanedev.wpengine.com/?p=4261#comment-4813 Thanks for the tip Ben, will try it out. Regarding frame rates, for me clouds are still the killer even on my late 2011 iMac. If I put everything to minimum except resolution and fly into clouds, it still takes me into single digits, which is the same as when I have most things on medium to high. This is with only 10% clouds.

Cheers

Dom

]]>
By: Flightime56 https:/2012/04/if-your-framerate-gets-slower-over-time-it-might-be-the-cars/#comment-4812 Fri, 06 Apr 2012 05:13:14 +0000 http://xplanedev.wpengine.com/?p=4261#comment-4812 I’ll try that one Ben, I have some interesting data on frame-rates I’m still working through the numbers and I’ll let you know the results…but this may be interesting to throw in the mix.

]]>