Elvas Tower: New Route Editor for Open Rails - Elvas Tower

Jump to content

  • 208 Pages +
  • « First
  • 138
  • 139
  • 140
  • 141
  • 142
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

New Route Editor for Open Rails Build routes without msts Rate Topic: -----

#1391 User is offline   istvanek 

  • Hostler
  • Group: Status: Active Member
  • Posts: 74
  • Joined: 23-March 15
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 07 February 2017 - 09:32 AM

View PostGoku, on 07 February 2017 - 07:41 AM, said:

OR doesn't support it.


Erm, IMHO OR does support it. Just add 'ORTSUserPreferenceForestClearDistance ( X )' command to route .trk file (where X is distance in meters).

OR Manual - 8.14.2 Modifications to .trk files

Artur

#1392 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 07 February 2017 - 10:34 AM

You are right. It works in new OpenRails.
So, TSRE will accept this value in TRK file too.

#1393 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 07 February 2017 - 01:14 PM

Next version will include tools for working with multiline sound regions and speedposts.

http://i.imgur.com/2gGuouO.png

#1394 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 07 February 2017 - 03:36 PM

New version: http://koniec.org/ts...SRE5_v0.684.zip

0.684

- create and edit multiline sound regions and speedposts
- support for ORTSUserPreferenceForestClearDistance in TRK file ( Forests are avoiding tracks when placing trees)
- tile water level fix
- set opacity (Alpha) for map layer (use it before loading or downloading maps; use opauge maps only for terrain texture edition, NOT for object placing etc)
- google maps replaced with universal URL in settings.txt. If you want to use google satellite, set:
imageMapsUrl = http://maps.googleapis.com/maps/api/staticmap?center={lat},{lon}&zoom={zoom}&size={res}x{res}&maptype=satellite&key=


#1395 User is offline   mgabesz 

  • Apprentice
  • Group: Status: Switchman
  • Posts: 13
  • Joined: 21-February 12
  • Gender:Male
  • Simulator:Openrails, MSTS
  • Country:

Posted 08 February 2017 - 12:23 PM

Hi Goku! The google satellite image quality is very low in Route Editor. I saved some high resolution (8000x8000) images from "Google Map Customizer" website with "FireShot Pro". These images has better quality. Everybody can change the original saved satellite images in"terrain_maps" folder in MSTS directory. But the problem: Positions of images not the same and i think the angle of view also different. What do you think? Is this useable or no way?

#1396 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 08 February 2017 - 12:39 PM

You can't use maps downloaded from the browser in MSTS because it uses different map projection.

Increasing map quality in TSRE is possible, but I think it is too difficult.
1. Google maps texture now has 4096x4096 resolution, so it is only 0.5m per pixel. Maximum possible texture size in most GPU is 8192x8192 px, but it is still 0.25m per pixel and 200 MB per texture in GPU.
2. Google Static Maps allows for downloading max 640x640 px, so for 8192x8192 resolution you need at least 64 requests. And because of projection differences it may be over 100 or even 150.
3. Also applying MSTS projection lowers the quality because of bad interpolation algoritm. I think fixing interpolation algoritm can improve resolution to 0.5m per pixel (now TSRE has something like 0.7-1.0 m/px). But I think 1.5x better resolution it is not worth it.

If you want better quality:
- you can make new interpolation code for TSRE
- you can edit OSM maps in your area and use OSM layer instead:

http://i.imgur.com/z0VhCEK.jpg

#1397 User is offline   mgabesz 

  • Apprentice
  • Group: Status: Switchman
  • Posts: 13
  • Joined: 21-February 12
  • Gender:Male
  • Simulator:Openrails, MSTS
  • Country:

Posted 08 February 2017 - 01:03 PM

OK. I understood. Thanks for fast answer and thank you very much for your great work! :cheers3:

#1398 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 08 February 2017 - 01:58 PM

I implemented interpolation for projection conversion. Looks it better or not?

http://i.imgur.com/yLS1HRL.png

#1399 User is offline   mgabesz 

  • Apprentice
  • Group: Status: Switchman
  • Posts: 13
  • Joined: 21-February 12
  • Gender:Male
  • Simulator:Openrails, MSTS
  • Country:

Posted 08 February 2017 - 02:06 PM

I think it looks better.

#1400 User is offline   Goku 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,785
  • Joined: 12-December 13
  • Gender:Male
  • Simulator:my own
  • Country:

Posted 08 February 2017 - 02:43 PM

And example with 4x more requests to google.
1. 4096x4096 texture.
2. 8192x8192 texture.

I think the 4x request (zoom = 18) might be possible to enable in settings.txt. If you have google maps key, it will work (it requires 170 - 230 requests per tile, depending on lat/lon).
I think 8192x8192 texture is not reasonable.

http://i.imgur.com/OitbJuo.png

  • 208 Pages +
  • « First
  • 138
  • 139
  • 140
  • 141
  • 142
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users