Can we turn the lights on, in a 3D Cab...why not?
#1
Posted 22 January 2017 - 11:26 AM
I suppose that you could set up a sphere of light to fill the 3D cab somehow, but OR only supports one sphere of light at any given time. So when you engage the lights, your cab will be lit, but not the track ahead of the engine. I have not tried this idea, where a sphere of light would have its origin right inside the cab. Again OR only supports one sphere of light that I know of.
#2
Posted 22 January 2017 - 06:47 PM
#3
Posted 04 February 2017 - 02:59 PM
Hamza97, on 22 January 2017 - 06:47 PM, said:
err.....if you have an example of this...THAT WORKS FOR A 3D CAB....please post it here!
Otherwise...the ESD_Alternative that I know of..only works for route items, not rolling stock.
#4
Posted 06 February 2017 - 11:00 PM
#5
Posted 09 February 2017 - 07:55 AM
Jovet, on 06 February 2017 - 11:00 PM, said:
It works.... :dance3: :cheers3:
Made a quick test model, using cab of a WIP model. Baked the light of Lamp using Blender. Set the ESD to 256 and done. Attached is the same 3D cab.
Night3DTest.zip (1.36MB)
Number of downloads: 296
#6
Posted 09 February 2017 - 09:14 AM
Hamza97, on 09 February 2017 - 07:55 AM, said:
Well done.
I took a look in the OPen Rails manual and 3D Cabs appear (14.3) though "ESD_Alternative" doesn't appear anywhere.
Would you be willing to write a few words explaining how to achieve cab lighting in 3D and I can get them included in the manual? That would be great.
Thanks for your efforts,
#7
Posted 09 February 2017 - 03:15 PM
Hamza97, on 09 February 2017 - 07:55 AM, said:
Just a little issue should be fixed. The day time when OR starts makes a difference about the transition of the textures from day to night and vice versa. When starting OR at night the switching to the day textures will happen correctly with the sunrise and again to the night textures after the dusk.
But when OR starts at a daytime and go into the night, the day textures will stay and no switching to the night textures is seen.
Edit: It only happens when the Experimental option "Load night textures only when needed" is selected.
...tunnels cause a forced change from 2D cabview to 3D cabview (when available)
#8
Posted 10 February 2017 - 07:52 AM
jonas, on 09 February 2017 - 03:15 PM, said:
But when OR starts at a daytime and go into the night, the day textures will stay and no switching to the night textures is seen.
Edit: It only happens when the Experimental option "Load night textures only when needed" is selected.
Fixed in x.3790.
jonas, on 09 February 2017 - 04:02 PM, said:
Fixed in x.3791.
There is a third point that needs to be fixed: switch from day 3Dcab to night 3Dcab does not occur when entering tunnel. This is probably because the 3Dcab shape is managed within the scenery objects, and they don't have a check for being underground.
#9
Posted 10 February 2017 - 09:38 AM
Csantucci, on 10 February 2017 - 08:26 AM, said:
I noticed this too, but wasn't sure if it was intended not to switch to the (very darkend) night texture version in a tunnel. Could be that it looks too dark then. Don't know...
Carlo, thanks for fixing the two points above!
#10
Posted 10 February 2017 - 07:41 PM
Hamza97, on 09 February 2017 - 07:55 AM, said:
Made a quick test model, using cab of a WIP model. Baked the light of Lamp using Blender. Set the ESD to 256 and done. Attached is the same 3D cab.
Excellent work! No more dark 3D Cabs at night.
Yes we better document this, as simple "hand waiving" through the OR manual omits this..as Chris has found out!
I still ask why the CabLight directory for 3D Cabs when the user presses the "L" key is not supported? This is simply transplant from the 2D cab code..n'est-ce pas?
Signor Santucci, prego?
Thanks for the perseverance!
Steve
PS: Payware/Freeware developers please take note of this simple existing enhancement.