leezer3 / OpenBVE

OpenBVE- A free train simulator
http://www.openbve-project.net
275 stars 52 forks source link

Suggestion: Reduce RouteViewer's reload time #945

Open ginga81 opened 1 year ago

ginga81 commented 1 year ago

Now, the latest RouteViewer allows you to adjust the drawing distance and has faster drawing speed, making it very convenient. However, as a result, it takes longer to reload route data using the F5 key. The Tohoku Shinkansen I am currently building is using 1.8.4.0's RouteViewer, which is the last version that will be before slower. Using this, reload time only takes about 40 seconds each time. The current latest version now takes 1 minute and 20 seconds each time. In order for route data creators to work efficiently during production, they want to shorten reload time as much as possible. But, even if you increase the draw distance to 300m or 2000m in the latest version, the reload time will not be reduced. Otherhands, Bve5 has a function to reread the data without reloading the object. Similarly, at the RouteViewer, which specializes in route drawing, if we implement a function to redraw using the currently loaded object instead of loading object data every time like OpenBVE itself, we can redraw. When we add or remove the object(s), choice the reread all object or don't, I think it will save a lot of time. I would like to make a suggestion and hope you will implement it.

ginga81 commented 5 months ago

https://www.zbx1425.cn/nautilus/quickmap/ I want to reload speed more rapidly at RouteViewer... This tool is for Bve5, but reload time is faster than one second.