JDK-8095714 : Transparent areas of the diff maps are surrounded by rows of black pixels when applied
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Incomplete
  • Submitted: 2013-11-17
  • Updated: 2020-11-04
  • Resolved: 2014-01-15
Related Reports
Duplicate :  
Description
When an image with transparent areas is applied as a diff map, the transparent areas become surrounded with a 1 pixel wide black border.
Comments
We believe this is a duplicate of RT-28874. I'm resolving this JIRA as incomplete, however please free feel to reopen it with a test program if you can prove it otherwise.
15-01-2014

There is only 1 way to apply provided texture to a box in JavaFX. You've made sure of that.
20-11-2013

AJ, it is not unreasonable to provide sample code that shows the problem. Many times, engineers are running one program attempting to see a bug while users are running another. Even the smallest change between the two can make a difference. Further, no code is going into the product without a test case that shows the bug and then no longer shows the bug after the fix is made. You can really help us out a lot. There is nothing as concise as code that demonstrates a problem. Kevin, can you attach your work in progress code to this JIRA so that AJ can have a starting point? Thanks.
19-11-2013

You still didn't provide a test program. And yes, a complete standalone test program is what we expect. In any case, I took your image, applied it to a mesh, and saw what I might expect to see given that we don't currently support alpha blending. I am still reasonably certain that this is a duplicate of RT-28874, but can leave it open and re-verify it when we add support for texture maps with alpha blending.
19-11-2013

1 min in graphic editor: http://picpaste.com/pics/03_n1-wrIOlwvM.1384890138.png apply to any box. as to urgency... as you are not supporting opacity, we have to do with transparent textures. oops.
19-11-2013

We are not going to look at this without a reproducible test case, since I happen to believe it is related to the more general problem described in RT-28874. The burden is on you to prove otherwise. Note that issues with alpha blending and 3D textures are likely out of scope for FX 8, so there is no urgency on this.
19-11-2013

You are more than capable to create a test case yourself with the described information. All you need is a non-black texture with some area in transparent color. It will have no black pixels in graphics editor and clear black border along the transparent area in a Javafx scene. Code does not matter and I have no idea how to give you pictures.
19-11-2013

You are more than capable to create a test case yourself with the described information. All you need is a non-black texture with some area in transparent color. It will have no black pixels in graphics editor and clear black border along the transparent are in a Javafx scene. Code does not matter and I have no idea how to give you pictures.
19-11-2013

Marking as incomplete until we get a test case.
18-11-2013

Can you attach a simple test program that illustrates the problem?
18-11-2013

I doubt this has anything to do with supporting transparency/opacity. You already have a transparent color: Color.TRANSPARENT which works. The completely transparent areas of the diff maps surrounded with black border and opacity sound like apples and oranges to me.
18-11-2013

We don't currently support alpha blending for 3D textures, so this is a duplicate of RT-28874.
18-11-2013