Transparency Issues in cab
+2
Quork
Delsin
6 posters
Page 1 of 1
Transparency Issues in cab
Hi all
After a very long hiatus, I got back into development. I've just about nearly finished a cab but when in game, I've noticed issues in particular around the master controller. As can be seen in the below screenshot there is a grey ish border. I assume this is transparency issues but I'm interested to know whether its hardware based or have I not blued out enough?
Any advice appreciated.
Cheers
After a very long hiatus, I got back into development. I've just about nearly finished a cab but when in game, I've noticed issues in particular around the master controller. As can be seen in the below screenshot there is a grey ish border. I assume this is transparency issues but I'm interested to know whether its hardware based or have I not blued out enough?
Any advice appreciated.
Cheers
Re: Transparency Issues in cab
Off topic, but what kind of cab is that? The radio looks like it's GSM-R radio, though it's an unfamiliar design.
Could it be that you resized it after you added transparency? Maybe you could post the texture here.
Could it be that you resized it after you added transparency? Maybe you could post the texture here.
Quork- Posts : 1438
Join date : 2012-05-05
Age : 32
Location : Hofheim a.T., Hessen (Hesse), European Union
Re: Transparency Issues in cab
I think BVE has always had it, the reason is transparency smoothing "smudging" the edge. Some panels don't have it though, from what I remember solutions are using larger and power-of-2 texture sizes and leaving some transparency around button/lamp/handle textures.
Delsin- Posts : 313
Join date : 2016-08-20
Re: Transparency Issues in cab
Quork wrote:Off topic, but what kind of cab is that? The radio looks like it's GSM-R radio, though it's an unfamiliar design.
Could it be that you resized it after you added transparency? Maybe you could post the texture here.
Its a cab on the new Waratah Series 2 B set here in Sydney, Aus. The radio is the new Digital Train Radio System by funkwerk.
I'll try and blue out a bit more and see what happens.
Re: Transparency Issues in cab
Ah! Then it's indeed GSM-R =)
Quork- Posts : 1438
Join date : 2012-05-05
Age : 32
Location : Hofheim a.T., Hessen (Hesse), European Union
Re: Transparency Issues in cab
The phenomon you're probably seeing is this:
A repeating texture (Especially noticable with one using transparency) will 'bleed' on the edges.
Note that the pixels from each edge blend with the ones from the opposite edge at the seam.
What you want to do is to make a border around your control entirely of a single color (Probably transparent).
n.b. I can't see anything in your picture, we really need the whole thing to see what's going on.....
A repeating texture (Especially noticable with one using transparency) will 'bleed' on the edges.
Note that the pixels from each edge blend with the ones from the opposite edge at the seam.
What you want to do is to make a border around your control entirely of a single color (Probably transparent).
n.b. I can't see anything in your picture, we really need the whole thing to see what's going on.....
Re: Transparency Issues in cab
Left side, lower third, Chris
Quork- Posts : 1438
Join date : 2012-05-05
Age : 32
Location : Hofheim a.T., Hessen (Hesse), European Union
Re: Transparency Issues in cab
Quork wrote:Left side, lower third, Chris
I can see the master controller, but not the artifacts
Re: Transparency Issues in cab
There's a horizontal line at about the height of the lower left corner of the left display.
Quork- Posts : 1438
Join date : 2012-05-05
Age : 32
Location : Hofheim a.T., Hessen (Hesse), European Union
Re: Transparency Issues in cab
Not neccessarily a transparency issue if I remember correctly. More likely a texture with incorrect dimensions / bad color conversion.
The first case means its domensions are not a power of 2 (such as 128,256,512 px etc.), the second option means the texture has been converted from 24 bits to 8 bit (example) and the color palette messed up the transparent color.
It could be any of the two. If you want, send me the texture to my email and I will check it.Thinking about it, it could also be a messed up layering if the cab is a 2D one. Hope I have made it clearer.
Re: Transparency Issues in cab
Ah, thought that was the panel join....Quork wrote:There's a horizontal line at about the height of the lower left corner of the left display.
This is why yhe whole thing is so much more helpful though
If that is what the OP means, it's definitely the bottom of the texture bleeding through I'd say.
All it wants is for the final row of pixels in each frame of the texture to be replaced with transparent- I'd guess thry aren't at the minute.
The power of 2 rule is less likely to be causing this, and a colotlr pallete isdie is also IMHO unlikely, but again to rule them out, we need the whole thing!
Re: Transparency Issues in cab
Yes most likely the texture or textures are not to the power of two.
All should be.
If it's a animated one do all the separate images to the power of two and the whole thing to it as well.
I would avoid transparent parts to them.
They also make lines.
All should be.
If it's a animated one do all the separate images to the power of two and the whole thing to it as well.
I would avoid transparent parts to them.
They also make lines.
Stevegr- Posts : 188
Join date : 2013-01-01
Re: Transparency Issues in cab
As Ringo Starr says "PS please forgive the lateness of my reply"
The textures are to the power of 2. The brake controller is 512X4096 and the power controller is 512x2048. What is even stranger is that my tester cannot detect it on their machine. Hmmmmm
My main cab image however is not to the power of 2. Could this be a possible cause?
The textures are to the power of 2. The brake controller is 512X4096 and the power controller is 512x2048. What is even stranger is that my tester cannot detect it on their machine. Hmmmmm
My main cab image however is not to the power of 2. Could this be a possible cause?
Re: Transparency Issues in cab
theflyingoreo wrote:As Ringo Starr says "PS please forgive the lateness of my reply"
The textures are to the power of 2. The brake controller is 512X4096 and the power controller is 512x2048. What is even stranger is that my tester cannot detect it on their machine. Hmmmmm
My main cab image however is not to the power of 2. Could this be a possible cause?
No
It'll be because different drivers handle edge blending marginally differently.
Increasing the AF setting will also make the seam more noticable, as the driver will deliberately attempt to blend the pixels at the edge of the texture.
Excessive layering may also not help; check that the two are on as close layers as possible.
Similar topics
» Transparency issues
» TrainEditor2 issues
» Open BVE issues
» Reverse diretion issues still in 1.9.2.7
» Issues with TrackFollowerFunction in [Sound] Section
» TrainEditor2 issues
» Open BVE issues
» Reverse diretion issues still in 1.9.2.7
» Issues with TrackFollowerFunction in [Sound] Section
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum