Author Topic: How transparency could be made better while using sw renderer?  (Read 4381 times)

Offline entis

  • byte
  • *
  • Posts: 32
    • View Profile
How transparency could be made better while using sw renderer?
« on: January 24, 2008, 02:22:26 pm »
Hi,

I have a question... While using a software renderer (Open GL mode) I have a problem with making black regions of the object transparent completely... I mean that the black regions MOSTLY disappear but not at all there are still some black color around my figure (a few black pixels are still there)  ??? (may be it's due to using anti-aliasing in textures) ... It looks bad.. I would like to know if it is possible to make it look better while using software renderer (Open GL mode) only?

Please see the picture below (the curve should be light grey with no black color)..



Thanks in advance.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: How transparency could be made better while using sw renderer?
« Reply #1 on: January 24, 2008, 02:42:38 pm »
Try to avoid jpg-format for transparent images, because it usually introduces artifacts at the borders of colors. Save your file as png or gif (from scratch...simply converting the jpg doesn't cut it, because the artifacts are already there) and see if that helps.
And don't use edge antialising when creating the textures.

Offline entis

  • byte
  • *
  • Posts: 32
    • View Profile
Re: How transparency could be made better while using sw renderer?
« Reply #2 on: January 24, 2008, 04:29:21 pm »
Thanks... PNG file without antialiasing looks much better :)