Elvas Tower: What abour fog and mist in OR? - Elvas Tower

Jump to content

  • 6 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

What abour fog and mist in OR? Rate Topic: -----

#21 User is offline   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,491
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 19 January 2014 - 06:57 AM

New fog code in X1948. I included some fogging of the sky but I'm not sure it's working that well.

#22 User is offline   Csantucci 

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

Posted 19 January 2014 - 07:33 AM

James,
thanks for being involved in that. I made a short test and found two issues:
1) From following picture, taken with maximum fog, I don't see fog effects on the sky, while I like the effects of the signal lights and how the station can be seen
Attached Image: Open Rails 2014-01-19 04-23-04.jpg
2) When pressing for very short time the key to reduce fog, the fog reduces very much. This is the effect
Attached Image: Open Rails 2014-01-19 04-23-28.jpg
So the steps for fog intensity are too high when fog is intense in my opinion.

#23 User is offline   railguy 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 652
  • Joined: 10-October 10
  • Gender:Male
  • Location:Kansas
  • Simulator:Open Rails
  • Country:

Posted 19 January 2014 - 07:34 AM

I really like BB25187's effects. How do they look at night? Also, are those "stock" OR clouds in the screenshots or modified textures?

#24 User is offline   BB25187 

  • Fireman
  • Group: Status: Active Member
  • Posts: 138
  • Joined: 09-December 12
  • Gender:Male
  • Simulator:OpenRails MSTS
  • Country:

Posted 19 January 2014 - 07:51 AM

Hi James,

Thanks for the update.
This is funny: I also tried to adapt the sky to the fog density! Besides the sky, I found out that fog should also impact the clouds. Otherwise the horizon remain visible when the weather is cloudy.

Regards

#25 User is offline   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,491
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 19 January 2014 - 07:51 AM

View PostCsantucci, on 19 January 2014 - 07:33 AM, said:

1) From following picture, taken with maximum fog, I don't see fog effects on the sky, while I like the effects of the signal lights and how the station can be seen
2) When pressing for very short time the key to reduce fog, the fog reduces very much. This is the effect
So the steps for fog intensity are too high when fog is intense in my opinion.


The sky is really hard to adjust because of the way it applies clouds; they don't get fogged nearly as much as the sky behind them.

The fog steps are small but also not meant to be adjusted manually (none of the weather is, really). When you have a range from 10m to 10km, good luck getting control that people like. :(

#26 User is offline   BB25187 

  • Fireman
  • Group: Status: Active Member
  • Posts: 138
  • Joined: 09-December 12
  • Gender:Male
  • Simulator:OpenRails MSTS
  • Country:

Posted 19 January 2014 - 09:22 AM

Hi,

View Postrailguy, on 19 January 2014 - 07:34 AM, said:

I really like BB25187's effects. How do they look at night? Also, are those "stock" OR clouds in the screenshots or modified textures?


As for the fog at night, I think there is still room for improvements: the aspect is a bit too dark.
And yes my screenshots above make use of a modified cloud texture.

View PostCsantucci, on 19 January 2014 - 07:33 AM, said:

I made a short test and found two issues:
1) From following picture, taken with maximum fog


Yes, I think an additional attenuation of the cloud texture is necessary when flog increases. Here is what I get on my side with a slightly different code (based on revision #1946): link to a video (video is available as Full HD. For this you must use full screen view at the bottom right of the video frame).

Regards

#27 User is offline   Csantucci 

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

Posted 19 January 2014 - 09:41 AM

View PostBB25187, on 19 January 2014 - 09:22 AM, said:

... Here is what I get on my side with a slightly different code (based on revision #1948): link to a video (video is available as Full HD. For this you must use full screen view at the bottom right of the video frame).

Regards

Thanks, your version seems to me more gradual in fog density increase and decrease.

#28 User is offline   BB25187 

  • Fireman
  • Group: Status: Active Member
  • Posts: 138
  • Joined: 09-December 12
  • Gender:Male
  • Simulator:OpenRails MSTS
  • Country:

Posted 19 January 2014 - 10:55 AM

Hi Carlo

View PostCsantucci, on 19 January 2014 - 09:41 AM, said:

Thanks, your version seems to me more gradual in fog density increase and decrease.


Maybe the things I should do are the following then:
- Update my setup at revision #1949. I will have various conflicts to resolve, because I modified the same pièces of code as James.
- Send to you the resulting patch.
I will try to find some time in the coming days to do this...

Regards
Vincent

#29 User is offline   Csantucci 

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

Posted 19 January 2014 - 01:02 PM

Bonsoir Vincent, I will be glad to compare the two versions.

#30 User is offline   BB25187 

  • Fireman
  • Group: Status: Active Member
  • Posts: 138
  • Joined: 09-December 12
  • Gender:Male
  • Simulator:OpenRails MSTS
  • Country:

Posted 19 January 2014 - 01:27 PM

Hi Carlo,

View PostCsantucci, on 19 January 2014 - 01:02 PM, said:

Bonsoir Vincent, I will be glad to compare the two versions.


I created the patch from revision #1947, meaning it doesn't contain the changes made by James - this was easier for me because it didn't create any conflict. Several things are still missing in my code: stars and moon are not impacted by fog, whereas they should. Furthermore my implementation of the sky fading is a bit crappy and should be cleaned up. Anyway: it will allow you to compare the two methods. I am sure that the revision #1948 by James is a good basis and only needs minor changes.
I hope it helps,

Regards
Vincent

Attached File(s)



  • 6 Pages +
  • 1
  • 2
  • 3
  • 4
  • 5
  • 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