[Bf-committers] image editor / draw alpha

Kent Mein mein at cs.umn.edu
Tue Jun 13 21:10:10 CEST 2006


In reply to Branan Riley (branan at gmail.com):

> Whilst looking at the rgb/bgr jpeg issue (which is very strange, still
> needs messing with) I noticed something odd in the image code.
> 
> Rather than showing just the alpha as luminance as it should, it shows
> ABGR (ARGB? does blender use RGB or BGR internally?) as a single
> 32-bit luminance value.

If your talking about imbuf->rect (and imbuf->rect_float)
its RGBA.  It use to be different but was changed before blender became 
opensource.  (I don't remember details but I think it was based on GL and
changed to reflect current OpenGL standards.....)

Kent
-- 
mein at cs.umn.edu
http://www.cs.umn.edu/~mein


More information about the Bf-committers mailing list