Elvas Tower: Going beyond the 4 GB of memory - Elvas Tower

Jump to content

  • 32 Pages +
  • « First
  • 15
  • 16
  • 17
  • 18
  • 19
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Going beyond the 4 GB of memory Rate Topic: -----

#161 User is offline   Icik 

  • Conductor
  • Group: Status: Active Member
  • Posts: 308
  • Joined: 19-April 15
  • Simulator:Open Rails
  • Country:

Posted 26 November 2017 - 01:12 AM

Hi Carlo, try to change weather to winter with snowflaks. You can see really big snowflaks. Proably is any problem with shader for these snowflakes. Maybe alfa is not correct aplicated.

#162 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,986
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 26 November 2017 - 09:00 AM

Thanks Icik,
I must find out where the problem was introduced, because in the first OR MG versions snow was OK. Moreover the shader hasn't changed between a working and a non-working version.

#163 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,986
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 26 November 2017 - 12:00 PM

Further checks show that the problem has arisen passing from pre- to post-3.6 Monogame editions, maintaining the same OR source code.

Not many ideas on how to proceed.

#164 User is offline   dennisat 

  • Conductor
  • Group: Status: Contributing Member
  • Posts: 474
  • Joined: 16-February 13
  • Gender:Male
  • Simulator:Open Rails & MSTS
  • Country:

Posted 27 November 2017 - 05:58 AM

View PostCsantucci, on 26 November 2017 - 12:00 PM, said:

Not many ideas on how to proceed.

Hi Carlo,

Here is a replacement patch for Precipitation.cs which has a one line change for Precipitation.cs in your OR3988 patch.

I have changed an instance of:

graphicsDevice.BlendState = BlendState.AlphaBlend;
to:
graphicsDevice.BlendState = BlendState.NonPremultiplied;

This seems to have improved the snow somewhat. At the moment, unfortunately, I should be doing "more important things" so I'm not going to have time to fully test this for unwanted side effects.

Dennis

Attached File  snow1.zip (2.67K)
Number of downloads: 265

#165 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,986
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 27 November 2017 - 09:33 AM

Thanks Dennis, that seems to work. I will insert it in the next OR-MG release.

#166 User is offline   Genma Saotome 

  • Owner Emeritus and Admin
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 15,307
  • Joined: 11-January 04
  • Gender:Male
  • Location:United States
  • Simulator:Open Rails
  • Country:

Posted 27 November 2017 - 11:52 AM

View PostGenma Saotome, on 23 November 2017 - 03:16 PM, said:


So long as I don't need to compile anything I could do the test and return results on a 1 day turnaround.


No need to post a screenshot... fps for MG version was identical to stock OR at > 13,000 object primitives -- 24fps.

Specs:
3.30 gigahertz Intel Core i7-5820K
384 kilobyte primary memory cache
1536 kilobyte secondary memory cache
15360 kilobyte tertiary memory cache
64-bit ready
Multi-core (6 total)
Hyper-threaded (12 total)

Board: ASRock X99 Extreme4
Bus Clock: 100 megahertz

16278 Megabytes Usable Installed Memory

NVIDIA GeForce GTX 760 [Display adapter] (2x)
HP LP2475w [Monitor] (25.3"vis, December 2008)

#167 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,986
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 27 November 2017 - 01:23 PM

Here http://www.interazio...e/OR3992_MG.zip a new OR MG release can be downloaded, corresponding to OR release 3992 plus the possibility of adding a shadow to all shapes. In this release I inserted the patch by dennisat to get correct snow flakes, plus a patch by mbm_OR that restores some graphic info in the debug HUD that was removed in OR MG releases. Thanks to both.
Here
Attached File  Monogame_multisampling_allshadows_OR3992.zip (53.52K)
Number of downloads: 282
the overall patch file can be downloaded. MG .dll files are unchanged.

#168 User is offline   PA1930 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 782
  • Joined: 16-December 12
  • Gender:Male
  • Simulator:-
  • Country:

Posted 28 November 2017 - 03:43 AM

Hi Carlo,

This probably does not have too much to do with this patched version itself.

I have been experiencing some issues I cannot really figure out why. I tried changing around settings but it still happens.

First of all this patched version is quite better for me. I see really good FPS improvement. Yet I find it strange I cannot go much higher than 40 or 50 FPS... Non the less, this is good enough. My problem is that when the train is moving, it looks like it is moving at 5FPS when the actual FPS is between 40 and 50. This does happen with the non-patched / official ORTS version, but with less FPS.

You can see this on this video:

https://youtu.be/uYkhGcJaiZ0?t=35s

To the post I also include a screenshot of my settings and graphic data information.

Attached Image: Open Rails 2017-11-28 12-22-56.jpg

Attached Image: ORTSOptions.JPG

Do you have any clue for which reason this might be happening?

Pedro

#169 User is offline   Icik 

  • Conductor
  • Group: Status: Active Member
  • Posts: 308
  • Joined: 19-April 15
  • Simulator:Open Rails
  • Country:

Posted 28 November 2017 - 09:57 AM

Yes, this jumping does me too. It may help lock the FPS or set up the vertical synchronisation on 60fps.

#170 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,986
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 28 November 2017 - 09:59 AM

This may occur if the dispatcher window is open, which is update once every second. Maybe you have some background program periodically running?

  • 32 Pages +
  • « First
  • 15
  • 16
  • 17
  • 18
  • 19
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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