| | Re: LDGlite and LPub (and maybe ldview? Don Heyse
|
| | (...) Eeek. I was just wondering about that. Do you have a link, or a quick html snippit. Is there a different opengl alpha blend fn that I should perhaps be using? I guess I'd better read up after all, opengl, and png. (...) Yeah. (20 years ago, 14-Oct-04, to lugnet.cad)
|
| | |
| | | | Re: LDGlite and LPub (and maybe ldview? Travis Cobbs
|
| | | | Note that I'm sending followups to lugnet.cad.dev. (...) All I did was create an HTML document real quick and looked at it in Firefox. The following is the content of that document: <HTML> <HEAD> </HEAD> <BODY BGCOLOR="#FF0000"> <IMG (...) (20 years ago, 14-Oct-04, to lugnet.cad, lugnet.cad.dev)
|
| | | | |
| | | | | | Re: LDGlite and LPub (and maybe ldview? Don Heyse
|
| | | | (...) Thanks, that did it. Yuck! (...) Let's see if I understand what's going on here. When I antialias the edge lines, the RGB colors buffer gets blended, and so does the alpha channel. If alpha was all zeros, now instead of all ones, it gets (...) (20 years ago, 15-Oct-04, to lugnet.cad.dev)
|
| | | | |
| | | | | | Re: LDGlite and LPub (and maybe ldview? Don Heyse
|
| | | | (...) Ok i did a quick once over of glBlendFunc manpage and it looks like switching line antialiasing from: glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); to glBlendFunc(GL_SRC_A..._SATURATE, GL_ONE_MINUS_SRC_ALPHA); eliminates the problem (...) (20 years ago, 15-Oct-04, to lugnet.cad.dev)
|
| | | | |
| | | | | | Re: LDGlite and LPub (and maybe ldview? Don Heyse
|
| | | | (...) Ahh, nevermind. That didn't really work either. Applying the opaque/transparent only filter right before dumping the png is simple, and looks good enough for me. I'm going with that and forget about the icky sharp outer edges for now. They (...) (20 years ago, 15-Oct-04, to lugnet.cad.dev)
|
| | | | |