From: steve <sjb...@ai...> - 2006-06-26 22:33:39
|
Fay John F Dr CTR USAF AFSEO/SK wrote: > WHOOPS! I spent a good bit of time today tracking down the problem on > Linux. On Windows it's fairly simple: the code isn't implemented yet. > The Windows code is found starting around line 174 of > freeglut_windows.c; it doesn't mention alphas at all. For that matter, > I don't see much about red, green, or blue bits independently of each > other either. There is something in there about color bits. > > Digging through the help file (I selected the "PIXELFORMATDESCRIPTOR" > ekyword and pressed F1 for help) I find the following helpful message: > > <quote> > cAlphaBits > Specifies the number of alpha bitplanes in each RGBA color buffer. Alpha > bitplanes are not supported. > </quote> > > I'm pretty sure this is why I didn't put the alpha support in when I > went over this part of the code earlier. Does this indeed mean that we > are out of luck in this department? Well, I would take a sneaky peek at what GLUT (Nate Robin's port for Windows that is) - you should be able to see the Windows code that does this and figure out what it's doing. |