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

Route backgrounds problem

Go down

Route backgrounds problem Empty Route backgrounds problem

Post by SP1900 Wed Jul 03, 2019 10:13 am

I get a very odd problem in a couple of routes where this happens in place of the normal background image (see photo)

I was using the newest nightly build of openBVE and it happened on Budapest Tram line 12 and Hong Kong LRT 506

It occurs with every camera including the default cab view and can be very disorientating

Not sure what the problem is here
Route backgrounds problem Proble10
SP1900
SP1900

Posts : 258
Join date : 2017-12-08
Age : 19
Location : Cambridge, England

Back to top Go down

Route backgrounds problem Empty Re: Route backgrounds problem

Post by leezer3 Wed Jul 03, 2019 10:50 am

I *think* off the top of my head that that's the effect you get when no background textures are defined at all. (Essentially, it's blending the edges of the adjacent faces with a non-existant texture)

Will take a dig later & see if I can confirm, and implement something to make this a little better.

leezer3

Posts : 1785
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Route backgrounds problem Empty Re: Route backgrounds problem

Post by SP1900 Wed Jul 03, 2019 11:38 am

Thanks. But is there no way to set the background as a solid colour if there is no specific photo defined for the background?
SP1900
SP1900

Posts : 258
Join date : 2017-12-08
Age : 19
Location : Cambridge, England

Back to top Go down

Route backgrounds problem Empty Re: Route backgrounds problem

Post by leezer3 Wed Jul 03, 2019 11:55 am

The two above would appear to be a really nasty little edge-case Sad

A little TLDR:
The background number for block 0 (Zero meters) is always set to 0.
Normally, this doesn't matter as the developer would usually use background 0 first.
If background 0 is not used, and the route starts at position 0, whichever background the developer used overwrites this, and everything is fine.
**HOWEVER** when the route starts at a non-zero position, and background 0 is not used, everything blows up, as we're trying to fade between a non-existant background and the current one Razz

https://vps.bvecornwall.co.uk/OpenBVE/Builds/OpenBVE-2019-07-03.zip

This I believe fixes the glitch (main program only).

Note:
If no background texture is set at all, this glitch will still occur at the minute. Need to do some more twiddling to see if there's an easy way to get round this....

leezer3

Posts : 1785
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Route backgrounds problem Empty Re: Route backgrounds problem

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