PDA

View Full Version : billboarding + RGBA fileformat



DPalomo
07-06-2000, 12:05 PM
Hi all,

I'm trying to billboard textures,
I was wondering which file format I could use? I know I need a RGBA fileformat, anyone suggestions in format and/or image-editor?

Thanx in advance,

Daniel Palomo van Es.


Ps. Does anyone know if there is a nice texturelib that does the billboarding for me http://www.opengl.org/discussion_boards/ubb/smile.gif?

ribblem
07-10-2000, 03:22 PM
One way that I have simulated the billboard textures in DirectX is to use Paletted Textures Extension. This is part of the extensions to opengl. With this method you specify a texture's color in a single byte, then each of these 256 colors get mapped to a color. All you have to do is set one of the alphas to zero and that color will be transparent.

There may be a better way, but I know this works and is pretty fast (super fast if you already have to enable blending for something else.)

07-10-2000, 08:17 PM
i use sgi's rgba