[Bf-committers] Premul option in images -> on by default

Brecht Van Lommel brechtvanlommel at pandora.be
Mon Jun 2 12:55:27 CEST 2008


Hi,

>Since the release of Blender 2.46 there's been a whole bunch of
>support threads [1] posted asking why image textures now have white
>pixelated outlines. This is due to the new image texture 'premul'
>option which is off by default. People are opening up their old files
>from 2.45 (which had no option and always assumed the equivalent of
>premul being on), and their textures which seemed fine in 2.45 aren't
>being premultiplied, and leading to nasty artifacts.
>
>I'm not sure who's responsible for this change, but I'd recommend that
>before 2.46a (or 2.47, whatever it is called),
>a) images should default to premul being on

I agree this would be a better default.

>b) on converting old <2.46 files, premul should be turned on for every image

This is a bit more complicated, since by now a lot of people have changed & saved their blend files with 2.46 development versions. You just have to be careful to do it on files on the last subversion before the premul changes (the subversion wasn't bumped for the premul changes themselfs).

>If nobody can fix this, or find out who is in charge of this area, I
>might as well end up committing it myself, so speak up now :)

I think it's fine to commit this change (though Ton is really in charge of this area, he also made the changes here).

Cheers,
Brecht.





More information about the Bf-committers mailing list