Click here to Skip to main content
15,918,889 members
Home / Discussions / Graphics
   

Graphics

 
QuestionHow can i capture a screen shot from handled video screen ? [modified] Pin
vmguneri11-Jun-07 6:58
vmguneri11-Jun-07 6:58 
Questionhow to convert template in to web page? Pin
bigphish10-Jun-07 19:51
bigphish10-Jun-07 19:51 
AnswerRe: how to convert template in to web page? Pin
Christian Graus10-Jun-07 20:56
protectorChristian Graus10-Jun-07 20:56 
QuestionFrozen screen after activation of Win screensaver Pin
sohst9-Jun-07 0:54
sohst9-Jun-07 0:54 
QuestionRe: Frozen screen after activation of Win screensaver Pin
Mark Salsbery9-Jun-07 8:47
Mark Salsbery9-Jun-07 8:47 
AnswerRe: Frozen screen after activation of Win screensaver Pin
sohst9-Jun-07 21:40
sohst9-Jun-07 21:40 
GeneralRe: Frozen screen after activation of Win screensaver Pin
Mark Salsbery10-Jun-07 6:24
Mark Salsbery10-Jun-07 6:24 
GeneralRe: Frozen screen after activation of Win screensaver Pin
sohst11-Jun-07 2:37
sohst11-Jun-07 2:37 
GeneralRe: Frozen screen after activation of Win screensaver Pin
Mark Salsbery11-Jun-07 6:40
Mark Salsbery11-Jun-07 6:40 
AnswerRe: Frozen screen after activation of Win screensaver Pin
sohst13-Jun-07 11:12
sohst13-Jun-07 11:12 
GeneralRe: Frozen screen after activation of Win screensaver Pin
Mark Salsbery13-Jun-07 11:50
Mark Salsbery13-Jun-07 11:50 
AnswerRe: Frozen screen after activation of Win screensaver Pin
sohst14-Jun-07 8:52
sohst14-Jun-07 8:52 
AnswerRe: Frozen screen after activation of Win screensaver Pin
sohst11-Jun-07 6:37
sohst11-Jun-07 6:37 
Questionvertices and bones Pin
zqueezy6-Jun-07 13:08
zqueezy6-Jun-07 13:08 
AnswerRe: vertices and bones Pin
El Corazon7-Jun-07 9:14
El Corazon7-Jun-07 9:14 
Question3d view of DTED using OpenGL Pin
Durga Prasad Dhulipudi6-Jun-07 1:42
Durga Prasad Dhulipudi6-Jun-07 1:42 
AnswerRe: 3d view of DTED using OpenGL Pin
El Corazon7-Jun-07 9:10
El Corazon7-Jun-07 9:10 
QuestionHow to use OnPaint() ??? :( Pin
Chintan.Desai5-Jun-07 21:28
Chintan.Desai5-Jun-07 21:28 
AnswerRe: How to use OnPaint() ??? :( Pin
Mark Salsbery6-Jun-07 6:29
Mark Salsbery6-Jun-07 6:29 
QuestionOpenGL slection/picking(mouse based) HEELP? Pin
Raza56805-Jun-07 5:18
Raza56805-Jun-07 5:18 
AnswerRe: OpenGL slection/picking(mouse based) HEELP? Pin
XTAL2565-Jun-07 19:07
XTAL2565-Jun-07 19:07 
GeneralRe: OpenGL slection/picking(mouse based) HEELP? Pin
tomitron21-Jun-07 5:57
tomitron21-Jun-07 5:57 
QuestionVideo encoder suggestion Pin
C. Tam4-Jun-07 15:12
C. Tam4-Jun-07 15:12 
QuestionVirtual camera recommendation Pin
C. Tam4-Jun-07 14:58
C. Tam4-Jun-07 14:58 
QuestionOpenGL alpha transparency Pin
XTAL2564-Jun-07 14:08
XTAL2564-Jun-07 14:08 
Until now i used the blend function glBlendFunc(GL_SRC_ALPHA,GL_ONE) to use transparency. But the problem with that is that although it blends black with the background to make it transparent it also blends all colours. That is, it adds the colour with the background colour so black becomes transparent but red blended with green(?) will give white.
The point is that i don't want to blend all colours but simply make a vertex/poly transparent if i set the colour to glColor4f(red, green, blue, alpha) so that the image will have the colour (red,green,blue) but also transparent, instead of blending red, green and blue if you know what i mean.
Here are the params i set on init (if it helps):
glShadeModel(GL_SMOOTH);
glClearDepth(1.0f);
glEnable(GL_DEPTH_TEST);
glBlendFunc(GL_SRC_ALPHA,GL_ONE);
glDepthFunc(GL_LEQUAL);
glEnable(GL_COLOR_MATERIAL);
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_FASTEST);

Can anyone help me please?

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

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.