Jump to content
Sign in to follow this  
deetee

Simheaven OSM = frame drain?

Recommended Posts

I have come to the conclusion that although the Simheaven OSM sceneries are the bees knees visually, in proximity of big cities they just kill my frames. Overflying Boston MA looking down at the city, my fps goes down to 12 - I have to set object rendering to "default" (2nd lowest) to get my frames back over 20. Same for Paris, France! On the other hand with the default scenery I get well over 20 with my object rendering set at "mega-tons" (2nd highest).

 

Is it worth using this otherwise fine OSM if the hit is going to be so bad? Most of my airliner flights start and finish near big cities so smoothness is the key here. Is SH OSM at low settings still better than default at high settings ...? Your thoughts?

Share this post


Link to post
Share on other sites

I don't recall what LOD values are used by default, but there was an hint sometime ago about how to reduce the LOD on simheaven sceneries, to, say, a default of 15NM, which would help softening the impact of this sceneries.


Main Simulation Rig:

Ryzen 5600x, 32GB RAM, Nvidia RTX 3060 Ti, 1 TB & 500 GB M.2 nvme drives, Win11.

Glider pilot since 1980...

Avid simmer since 1992...

Share this post


Link to post
Share on other sites

The LOD distance is quite high on these sceneries, in my program I've reduced it to 13KM for small buildings and 15KM for tall buildings (Although this is configurable)

 

You can do this manually, although it might take you a few minutes.

 

If you open up the simheaven OSM scenery, open up the folder called facades, and open each .fac file up in a text editor, if you then change the line than reads something line

LOD 0 20000, to LOD 0 15000 for 15KM, then this will do the trick. 

Share this post


Link to post
Share on other sites

Yes, thanks Tony!

 

If you're on Linux, then it's terribly easy :-)

 

I recommend, on Windowze... the use of something like "FAR"

 

http://findandreplace.sourceforge.net/

 

a very useful tool for finding and replacing string occurrences inside files. Here's an example:

 

post-257741-0-18408100-1391426607.png

  • Upvote 1

Main Simulation Rig:

Ryzen 5600x, 32GB RAM, Nvidia RTX 3060 Ti, 1 TB & 500 GB M.2 nvme drives, Win11.

Glider pilot since 1980...

Avid simmer since 1992...

Share this post


Link to post
Share on other sites

Cool program :-). BTW, if 25000 is the default LOD, then I'm not surprised it struggles in big cities and slower computers

Share this post


Link to post
Share on other sites

if 25000 is the default LOD

 

it is indeed Tony :-/. Reducing to 12000.000000 makes a difference !

 

In FAC you can also use regula expressions for the file names. Here I just looked for the ".fac" files, but we can make a more restrictive search.


Main Simulation Rig:

Ryzen 5600x, 32GB RAM, Nvidia RTX 3060 Ti, 1 TB & 500 GB M.2 nvme drives, Win11.

Glider pilot since 1980...

Avid simmer since 1992...

Share this post


Link to post
Share on other sites

 

 


I'm not surprised it struggles in big cities and slower computers

If only that were the case Tony, but what bites is that I have a pretty decent new rig!  :O  ^_^

Share this post


Link to post
Share on other sites

Same here, I have to reduce the LOD right down to get it work. In my test scenery for Berlin, I have reduced residential buildings to 12000 and the taller city buildings and factories to 14000. It isn't perfect, but gives a good performance balance. You can do something similar in the LODs, and I would suggest altering all the .fac files ending in house to 12000, and the others to 14000. You should see a big performance boost by doing so.

 

Also, forests are a killer as well, even on powerful machines, so might need to tune that down a notch.

Share this post


Link to post
Share on other sites

One issue that I still hate to see are the street and highway lights popping on / off... Looks awful on the otherwise very nice night scenery rendering of X-Plane ...


Main Simulation Rig:

Ryzen 5600x, 32GB RAM, Nvidia RTX 3060 Ti, 1 TB & 500 GB M.2 nvme drives, Win11.

Glider pilot since 1980...

Avid simmer since 1992...

Share this post


Link to post
Share on other sites

Yes I know exactly what you mean. (Going off topic) One idea which might get round this, is to actually place 3D light objects onto the facade wall, which has a much higher LOD than the actual facade file and only viewable from a distance, but this is quite difficuilt (as I don't have any lights to use). In effect, you would just see the lights in the far distance, and not the actual object, which maybe OK at night and good for framerates. As you got close enough, the light would switch over to the default facade one and disappear, so that it doesn't look like it's floating in midair.

Share this post


Link to post
Share on other sites

 

 


I have reduced residential buildings to 12000 and the taller city buildings and factories to 14000

This solution is starting to bear fruit! How does one differentiate between the taller and smaller objects in the SH scenery; can we consider the taller buildings to be the "simHeavenB*.fac" variety, and the other "simHeavenH*.fac" the smaller houses?

 

Thanks.

Share this post


Link to post
Share on other sites

Yes, I'd imagine so. The sloped ones should all be reduced as well.

Share this post


Link to post
Share on other sites

Oh? This has got to be my problem then. I run OSM (not photorealistic) when flying on pilot edge in the SoCal area, and fps just tank... 15 is about average. And that's with HDR off.


| FAA ZMP |
| PPL ASEL |
| Windows 11 | MSI Z690 Tomahawk | 12700K 4.7GHz | MSI RTX 4080 | 32GB 5600 MHz DDR5 | 500GB Samsung 860 Evo SSD | 2x 2TB Samsung 970 Evo M.2 | EVGA 850W Gold | Corsair 5000X | HP G2 (VR) / LG 27" 1440p |

 

 

Share this post


Link to post
Share on other sites

Interesting read, I disabled OSM to remove unwanted building showing up in my airport (CYOW) and noticed a huge performance gain.  I left it off ever since.  The default is pretty good for me, but I will try the LOD trick later.  I also run at 2560x1600 as well, so I may just leave OSM off.  We 'll see.


Vu Pham

i7-10700K 5.2 GHz OC, 64 GB RAM, GTX4070Ti, SSD for Sim, SSD for system. MSFS2020

Share this post


Link to post
Share on other sites

Seems this is quite a common problem, and I'm trying to think up a solution. In my sceneries (http://forum.avsim.net/topic/433700-introducing-x-plane-scenery-tool), cities even on a low LOD setting (12000) can bring slower computers to their knees. This is because it is treating little buildings such as a garage or shed the same as a highrise block of apartments.

 

I see a simple way around this:

  1. Create multiple copies of the facades, each with different LOD settings, e.g.  8000, 12000, 13000, 14000, 15000. 
  2. When generating the scenery, calculate the area of each object, and use a simple score based on height and area to calculate the LOD to use. For example, a little garage in a residential area should probably be given 8000, but a block of apartments in the town centre should be given 15,000.
  3. Building parts are tricky, as many landmarks in cities are mapped using multiple parts with different heights and areas. It would look odd if some parts of the building disappeared and others stayed. Not sure how to do this one :-)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...