BVE WorldWide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

"Fake" reflectivity

3 posters

Go down

"Fake" reflectivity Empty "Fake" reflectivity

Post by Quork Wed Jun 12, 2019 12:19 pm

Adding reflectivity is, just like shadows, a biiig change to the engine (or rather, a change of engines probably). However there is one thing I imagine to be doable in a comparatively simple way with the engine we have today: A very simplified reflectivity for surfaces like rail heads and water surfaces.

What I'm thinking about, is something like this: Faces marked as reflective show the non-distorted (i.e. not projected onto the surface, but projected onto the viewer directly) sky texture flipped upside down.

This wouldn't allow for such things like spectacular shorelines with mountain reflections and such, but it'd be enough for small water bodies like puddles on platforms and, most of all, rail heads. Especially with low sun positions (dusk and dawn) the reflections are really spectacular in the real world and adding them to the sim would vastly improve the overall optics without actually changing that much. Optionally the "reflection" could be tilted according to the surface's angle so it fits even better in curves; depends on how hard it'd be on performance. It'd make a noticeable, but in most cases not dramatic difference.
Quork
Quork

Posts : 1437
Join date : 2012-05-05
Age : 32
Location : Hofheim a.T., Hessen (Hesse), European Union

Back to top Go down

"Fake" reflectivity Empty Re: "Fake" reflectivity

Post by mrknowitall Wed Jun 12, 2019 2:46 pm

I know of a way to do this via a “reflection” on a transparent section of windows down the side of a train, but this one moves an image at the speed set in code. And doesn’t “reflect” the scenery as such, but looks pretty nice!
mrknowitall
mrknowitall

Posts : 824
Join date : 2011-07-09
Age : 31
Location : W. Yorkshire

Back to top Go down

"Fake" reflectivity Empty Re: "Fake" reflectivity

Post by Quork Wed Jun 12, 2019 3:00 pm

Yeah, I know that one, but it doesn't help with this effect, which is *very* noticeable in cab view in RL: https://www.alamy.de/leere-gleise-bei-sonnenuntergang-image2086851.html
Quork
Quork

Posts : 1437
Join date : 2012-05-05
Age : 32
Location : Hofheim a.T., Hessen (Hesse), European Union

Back to top Go down

"Fake" reflectivity Empty Re: "Fake" reflectivity

Post by Manuel18 Wed Jun 12, 2019 7:06 pm

Quork wrote:Yeah, I know that one, but it doesn't help with this effect, which is *very* noticeable in cab view in RL: https://www.alamy.de/leere-gleise-bei-sonnenuntergang-image2086851.html

This one is possible. I got in my mind some concept.

The concept it's a animated track than use another layer (mesh) for the reflection.

I've used animated tracks to use detailed track ties without consuming much PC resources (FOV trick)

Example
[include]
rail.csv

[object]
states = topclose.csv,topfar.csv
StateFunction =  if[distance>25m,1,0]
TextureShiftYFunction = distance

Two objects (topclose.csv), to simulate a gradient  and (topfar.csv) to simulate a constant reflection
Manuel18
Manuel18

Posts : 75
Join date : 2012-10-18
Age : 30
Location : Caracas,Venezuela

Back to top Go down

"Fake" reflectivity Empty Re: "Fake" reflectivity

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum