Elvas Tower: Why is the "ShadowAllShapes" setting hidden? - Elvas Tower

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Why is the "ShadowAllShapes" setting hidden? Rate Topic: -----

#1 User is online   Csantucci 

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

Posted 19 November 2017 - 12:53 PM

In the OR code there is a "ShadowAllShapes" setting hidden. This setting is checked in the code for both forests and scenery. Why is this setting hidden?

#2 User is offline   dennisat 

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

Posted 19 November 2017 - 01:13 PM

View PostCsantucci, on 19 November 2017 - 12:53 PM, said:

In the OR code there is a "ShadowAllShapes" setting hidden. This setting is checked in the code for both forests and scenery. Why is this setting hidden?

I've used this setting for a long time now, it improves the overall appearance of the scenery.

Dennis

#3 User is offline   James Ross 

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

Posted 19 November 2017 - 02:46 PM

View PostCsantucci, on 19 November 2017 - 12:53 PM, said:

In the OR code there is a "ShadowAllShapes" setting hidden. This setting is checked in the code for both forests and scenery. Why is this setting hidden?

It may have started existing before we had experimental settings, but even so it isn't really experimental; the setting deliberately goes against the content creator's wishes (i.e. which objects cast shadows) at a (sometimes large) performance cost. As a result, on some routes, it will give strange shadows from otherwise-hidden floating objects.

#4 User is online   Csantucci 

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

Posted 19 November 2017 - 11:55 PM

James, thanks for the explanation.
Pls. let me object that there are already quite many OR optional features that cause the route to display differently from what the creator intended with MSTS: think only at changing the viewing distance (which lets you display standard terrain instead of DM, if you increase viewing distance, and that not always provides a better view - I know this from the Bernina freeware route), the OR-specific sky, superelevation... they are only the first ones I have in mind.
I got a request to add a checkbox to select such option from a valid content development team, and as I see above there is also someone else appreciating it.
So I would be in favour to add an experimental option checkbox for it.

#5 User is offline   Hannes44 

  • Fireman
  • Group: Status: Active Member
  • Posts: 161
  • Joined: 10-October 17
  • Gender:Male
  • Location:Select State/Province
  • Simulator:Open Rails
  • Country:

Posted 20 November 2017 - 01:24 AM

I'm all for such a button to switch shadows on and off. I already suggested it with Trello board some time ago.

#6 User is offline   James Ross 

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

Posted 20 November 2017 - 09:37 AM

View PostCsantucci, on 19 November 2017 - 11:55 PM, said:

I got a request to add a checkbox to select such option from a valid content development team, and as I see above there is also someone else appreciating it.
So I would be in favour to add an experimental option checkbox for it.

I would add it next to the "Dynamic shadows" option on the Video tab, as the behaviour is not really experimental.

#7 User is online   Csantucci 

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

Posted 20 November 2017 - 01:09 PM

Thanks James,
trello box is now available here https://trello.com/c...ible-to-players
and blueprint is available here for formal approval https://blueprints.l...apes-accessible .

#8 User is online   Csantucci 

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

Posted 21 November 2017 - 12:10 AM

Menu.exe file for x.3985 including the added checkbox in video options
Attached File  Menu.zip (74.07K)
Number of downloads: 314

#9 User is offline   Mikban 

  • Apprentice
  • Group: Status: Switchman
  • Posts: 3
  • Joined: 05-October 17
  • Gender:Male
  • Simulator:OR
  • Country:

Posted 21 November 2017 - 01:55 PM

View PostCsantucci, on 21 November 2017 - 12:10 AM, said:

Menu.exe file for x.3985 including the added checkbox in video options
Attachment Menu.zip


Us, the builders of "Stockholmsrutten", have used this feature for more than a year, by enabling it in the windows registry file. We're thankful to be able to use a check box now next to the "Dynamic shadows" option in the video tab, in the future.

Its nice to see OpenRails continue the development on software and keep it up with time.
Thank you Carlo for your excellent work!

#10 User is offline   Eldorado.Railroad 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 977
  • Joined: 31-May 10
  • Gender:Male
  • Country:

Posted 29 November 2017 - 07:57 PM

View PostCsantucci, on 19 November 2017 - 12:53 PM, said:

In the OR code there is a "ShadowAllShapes" setting hidden. This setting is checked in the code for both forests and scenery. Why is this setting hidden?


I am sorry I found this a bit late.

Really, I would suggest that finer control be implemented. The reality is that shadow all shapes is a sledge hammer. I have used it many times but there have been many times when being able to have a finer control of what gets shadowed has been desirable. Shapes that use the shader that is normally used for tree/grass (single or forests) cruciform often do not look right with shadows attached to them. The ways forests are implemented in OR are not the same as in MSTS and shadows are hidden because of it at certain sun position angles (I wish we would use the MSTS double polygons at right angles instead). Also forest regions in routes often have a large number count (I have seen 2000+!!!) for which MANY shadows cannot and will never be seen. This is a huge penalty to render for no sound reason.

Regardless of how the author of the MSTS route decided what was best, a user can modify world files to suit their own tastes. But that means editing world files either by hand or with a route editor.

It would be great to have a few levels for shadow all shapes, namely:

Shadow all normal scenery shapes []
Shadow all cruciform scenery shapes []
Shadow all forest regions []

As stated without these finer controls, things that a user does not want shadowed, get shadows, and I have seen some VERY strange things in OR XNA! Finer control will also provide a performance increase as possibly less things will have shadows cast, which is VERY EXPENSIVE to do with multiple higher resolution shadow maps.

Gracie,
Steve

  • 2 Pages +
  • 1
  • 2
  • 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