[SDL] OpenGL Textures

Dan moos at pt.lu
Mon Aug 13 10:27:01 PDT 2001


non standart image format change the rgb bitmap to bgr open gl format, the
txture looks bad in paint but is easy to load into opengl!
----- Original Message -----
From: "Mattias Engdegård" <f91-men at nada.kth.se>
To: <sdl at libsdl.org>
Cc: "Peter Venis" <petervenis at zonnet.nl>
Sent: Monday, August 13, 2001 11:28 AM
Subject: Re: [SDL] OpenGL Textures


> "Peter Venis" <petervenis at zonnet.nl> wrote:
> >You could use SDL_LoadBMP to load the texture. And for many that is a
> >sufficient way, but it has one great dissadvantadge. You have to store
the
> >bitmap in a standard format (like BMP) and so everybody can view the
images
> >in your directory prior to playing your game or application. In many
cases,
> >you don't want that.
>
> there are sometimes reasons to use a non-standard image format, but this
> cannot be one of them (especially given the highly encrypted format you
> propose)
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
>





More information about the SDL mailing list