On Mon, Jul 13, 2009 at 10:23 PM, Elliott Slaughter <
elliottslaugh...@gmail.com> wrote:
> On Mon, Jul 13, 2009 at 10:00 PM, Elliott Slaughter <
> elliottslaugh...@gmail.com> wrote:
>
>> The information I get after using load-and-convert-image seems
>> contradictory:
>>
>> bytes-per-pixel 4
>> rma
On Mon, Jul 13, 2009 at 10:00 PM, Elliott Slaughter <
elliottslaugh...@gmail.com> wrote:
> The information I get after using load-and-convert-image seems
> contradictory:
>
> bytes-per-pixel 4
> rmask 0x00FF
> gmask 0xFF00
> bmask 0x00FF
> amask 0x
>
> Why is the alpha mask 0 i
On Mon, Jul 13, 2009 at 3:12 AM, Luke J Crook wrote:
> On Sun, 12 Jul 2009 00:50:42 -0700, Elliott Slaughter
> wrote:
>
> > Of course, messing around with pixel formats wouldn't be at all
> > necessary if
> > convert-image works properly with GL windows... Does it?
>
> Did you mean convert-surfa
Thanks, this is useful.
On Mon, Jul 13, 2009 at 8:24 PM, Luke J Crook wrote:
> On Mon, 13 Jul 2009 03:08:01 -0700, Luke J Crook wrote:
>
> I have added the functions; R-MASK, G-MASK, B-MASK and A-MASK.
>
> - Luke
> ___
> application-builder mailing li
On Mon, 13 Jul 2009 03:08:01 -0700, Luke J Crook wrote:
I have added the functions; R-MASK, G-MASK, B-MASK and A-MASK.
- Luke
___
application-builder mailing list
application-builder@lispniks.com
http://www.lispniks.com/mailman/listinfo/application-bui
On Mon, 13 Jul 2009 03:08:51 -0700, Luke J Crook wrote:
> On Sat, 11 Jul 2009 21:59:52 -0700, Elliott Slaughter
> wrote:
>
>> I ran into a little trouble when the example got the pixels from the
>> surface:
>>
>> surface->pixels
>>
>> What I eventually got working in lisp is:
>>
>> (sdl-base::
On Sun, 12 Jul 2009 00:50:42 -0700, Elliott Slaughter
wrote:
> Of course, messing around with pixel formats wouldn't be at all
> necessary if
> convert-image works properly with GL windows... Does it?
Did you mean convert-surface? I can't find a convert-image defined.
You may also want to t
On Sat, 11 Jul 2009 21:59:52 -0700, Elliott Slaughter
wrote:
> I ran into a little trouble when the example got the pixels from the
> surface:
>
> surface->pixels
>
> What I eventually got working in lisp is:
>
> (sdl-base::with-pixels (pixels (sdl:fp surface))
> (sdl-base::pixel-data pixels)
On Sun, 12 Jul 2009 00:39:46 -0700, Elliott Slaughter
wrote:
> Another question along the lines of my first question:
>
> A lot of the C++ tutorials have code to deal with the pixel format and
> bit
> depth of surfaces loaded from files [1]. For example,
>
> surface->format->BytesPerPixel
>
Of course, messing around with pixel formats wouldn't be at all necessary if
convert-image works properly with GL windows... Does it?
On Sun, Jul 12, 2009 at 12:39 AM, Elliott Slaughter <
elliottslaugh...@gmail.com> wrote:
> Another question along the lines of my first question:
>
> A lot of the
Another question along the lines of my first question:
A lot of the C++ tutorials have code to deal with the pixel format and bit
depth of surfaces loaded from files [1]. For example,
surface->format->BytesPerPixel
might be used to get the bit depth, or
surface->format->Rmask
might be used to
11 matches
Mail list logo