Click here to Skip to main content
15,902,933 members
Home / Discussions / Graphics
   

Graphics

 
AnswerRe: OpenGL alpha transparency Pin
El Corazon7-Jun-07 9:31
El Corazon7-Jun-07 9:31 
GeneralRe: OpenGL alpha transparency Pin
XTAL25615-Jun-07 18:13
XTAL25615-Jun-07 18:13 
I know about sorting the vertices and all that. That's not my problem. Why can't OpenGL simply blend the colour with the alpha value so that an alpha of 1.0 will mean (r,g,b) stays as (r,g,b) but alpha of 0.5 will blend 1/2 the red of the source with 1/2 the red of the dest (& same for green & blue). I keep reading that glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) does that trick but it doesn't work for me. Black came out as black even when alpha was at 0.
Or am i just doing something wrong?

--------------------------------
Customer in computer shop: "Can you copy the Internet onto this disk for me?"

GeneralRe: OpenGL alpha transparency Pin
El Corazon17-Jun-07 18:42
El Corazon17-Jun-07 18:42 
GeneralRe: OpenGL alpha transparency Pin
XTAL25619-Jun-07 18:05
XTAL25619-Jun-07 18:05 
GeneralRe: OpenGL alpha transparency Pin
El Corazon21-Jun-07 9:30
El Corazon21-Jun-07 9:30 
GeneralRe: OpenGL alpha transparency Pin
XTAL25621-Jun-07 18:00
XTAL25621-Jun-07 18:00 
QuestionProblem extracting full palette from 8bit image Pin
Sepharo4-Jun-07 7:47
Sepharo4-Jun-07 7:47 
AnswerRe: Problem extracting full palette from 8bit image Pin
Mark Salsbery4-Jun-07 8:05
Mark Salsbery4-Jun-07 8:05 
GeneralRe: Problem extracting full palette from 8bit image Pin
Sepharo4-Jun-07 8:26
Sepharo4-Jun-07 8:26 
GeneralRe: Problem extracting full palette from 8bit image Pin
Mark Salsbery4-Jun-07 8:37
Mark Salsbery4-Jun-07 8:37 
GeneralRe: Problem extracting full palette from 8bit image Pin
Sepharo4-Jun-07 8:41
Sepharo4-Jun-07 8:41 
GeneralRe: Problem extracting full palette from 8bit image Pin
Sepharo4-Jun-07 8:59
Sepharo4-Jun-07 8:59 
GeneralRe: Problem extracting full palette from 8bit image Pin
Mark Salsbery4-Jun-07 9:22
Mark Salsbery4-Jun-07 9:22 
GeneralRe: Problem extracting full palette from 8bit image Pin
Mark Salsbery4-Jun-07 9:16
Mark Salsbery4-Jun-07 9:16 
GeneralRe: Problem extracting full palette from 8bit image Pin
Sepharo4-Jun-07 9:23
Sepharo4-Jun-07 9:23 
GeneralRe: Problem extracting full palette from 8bit image Pin
Mark Salsbery4-Jun-07 9:28
Mark Salsbery4-Jun-07 9:28 
GeneralRe: Problem extracting full palette from 8bit image Pin
Sepharo4-Jun-07 9:40
Sepharo4-Jun-07 9:40 
GeneralRe: Problem extracting full palette from 8bit image Pin
Mark Salsbery4-Jun-07 9:44
Mark Salsbery4-Jun-07 9:44 
GeneralRe: Problem extracting full palette from 8bit image Pin
Mark Salsbery4-Jun-07 9:36
Mark Salsbery4-Jun-07 9:36 
GeneralRe: Problem extracting full palette from 8bit image Pin
Sepharo4-Jun-07 9:42
Sepharo4-Jun-07 9:42 
QuestionWinamp like credits? Pin
Stevie4-Jun-07 1:05
Stevie4-Jun-07 1:05 
QuestionHow to create a dynamic array of direct draw surfaces [modified] Pin
GTaylor552-Jun-07 15:50
GTaylor552-Jun-07 15:50 
AnswerRe: A Workaround solution Pin
GTaylor554-Jun-07 0:33
GTaylor554-Jun-07 0:33 
GeneralRe: A Workaround solution Pin
XTAL2564-Jun-07 2:47
XTAL2564-Jun-07 2:47 
AnswerRe: The Solution Pin
GTaylor5514-Jun-07 0:53
GTaylor5514-Jun-07 0:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.