:o) .... Hi all! more than a
question, this is what I have learned and I want to share it since others may
have this problem too (specially Java3D beginner as I am): I had the problem that even by specifying
the texture of an object as RGBA and modifying the byte corresponding to the Alpha
channel of some of the pixels in order to make them transparent, nothing
happened. So far, I did what was addressed
(or at least what I understood) in the tutorials and some web sites, but
nothing happened and even worse, no error/exceptions were thrown. But finally I realize that it is not
enough to alter the information related to the Alpha channel in the bytes of
the texture, it most also have to be specified the transparency properties in
the material, through the “setTransparencyAttributes”
method which also specifies that Alpha information MUST be used ... otherwise
it is ignored ;o) Thanks to Wolfgang, Cheers, Risto. |
- [JAVA3D] Invisible pixels in textures Risto Rangel Kuoppa
- Re: [JAVA3D] Invisible pixels in textures Enrique Dumas
- [JAVA3D] Invisible pixels in textures Risto Rangel-Kuoppa
- [JAVA3D] Invisible pixels in textures Risto Rangel-Kuoppa
- [JAVA3D] AW: [JAVA3D] Invisible pixels in tex... Wolfgang Kienreich
- [JAVA3D] Cube World RWGRAY
- Re: [JAVA3D] Cube World RWGRAY
- [JAVA3D] one example Risto Rangel-Kuoppa
- Re: [JAVA3D] one example greg baboolal