Subject:
|
Re: LDGlite and LPub (and maybe ldview?
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Fri, 15 Oct 2004 20:41:56 GMT
|
Viewed:
|
2287 times
|
| |
| |
In lugnet.cad.dev, Don Heyse wrote:
> switching line antialiasing from:
> glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
> to
> glBlendFunc(GL_SRC_ALPHA_SATURATE, GL_ONE_MINUS_SRC_ALPHA);
> eliminates the problem without extra passes.
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 don't
look so bad when rendered with the background color set to black.
Maybe someday when I'm really, really motivated I'll add the
extra final rendering pass (polys only, no edge lines) with the
depth test disabled and everything except alpha masked. That'd
bump up the internal alpha values to opaque and leave the outsides
fuzzy for a really nice soft edged antialiased png. Yeah, maybe
when it appears in ldview I'll get motivated. That's it. :^)
Have fun,
Don
|
|
Message is in Reply To:
| | Re: LDGlite and LPub (and maybe ldview?
|
| (...) 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)
|
52 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|