Hello, does java 2d have a method to enable image blending to take out the black background as does opengl?
Huh?
It might help if you described what you mean by “take out the black background”
What black background? What are you trying to do?
In the NeHe opengl tutorial 9 about moving bitmaps across the screen, the first paragraph says:
“You’ll learn the following: Moving bitmaps around the screen in 3D, removing the black pixels around the bitmap (using blending)”.
The bitmap they use is a white star with a black background and its blended with the screen back ground to remove the black in the animation. Haven’t found out how to do it in java
You’ll have to use the alpha channel of your image to make the black parts transparent.
Erik
I miss bitwise OR blending :’(