Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glclearcolor(3g) [xfree86 man page]

GLCLEARCOLOR(3G)														  GLCLEARCOLOR(3G)

NAME
glClearColor - specify clear values for the color buffers C SPECIFICATION
void glClearColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) PARAMETERS
red, green, blue, alpha Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial values are all 0. DESCRIPTION
glClearColor specifies the red, green, blue, and alpha values used by glClear to clear the color buffers. Values specified by glClearColor are clamped to the range [0, 1]. ERRORS
GL_INVALID_OPERATION is generated if glClearColor is executed between the execution of glBegin and the corresponding execution of glEnd. ASSOCIATED GETS
glGet with argument GL_COLOR_CLEAR_VALUE SEE ALSO
glClear(3G) GLCLEARCOLOR(3G)

Check Out this Related Man Page

GLBLENDCOLOR(3G)														  GLBLENDCOLOR(3G)

NAME
glBlendColor - set the blend color C SPECIFICATION
void glBlendColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) PARAMETERS
red, green, blue, alpha specify the components of GL_BLEND_COLOR DESCRIPTION
The GL_BLEND_COLOR may be used to calculate the source and destination blending factors. The color components are clamped to the range [0, 1] before being stored. See glBlendFunc for a complete description of the blending operations. Initially the GL_BLEND_COLOR is set to (0, 0, 0, 0). NOTES
glBlendColor is part of the GL_ARB_imaging subset. glBlendColor is present only if GL_ARB_imaging is returned when glGetString is called with GL_EXTENSIONS as its argument. ERRORS
GL_INVALID_OPERATION is generated if glBlendColor is executed between the execution of glBegin and the corresponding execution of glEnd. ASSOCIATED GETS
glGet with an argument of GL_BLEND_COLOR SEE ALSO
glBlendEquation(3G), glBlendFunc(3G), glGetString(3G) GLBLENDCOLOR(3G)
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Error: GL/glut.h: No such file or directory

hi, I get this error when I compile my source on mac Leopard. is because I need to configure openGL path ? Monitor.h:15:60: error: GL/glut.h: No such file or directory Monitor.h:16:60: error: GL/gl.h: No such file or directory Monitor.C: In function 'void display2()': Monitor.C:77:... (0 Replies)
Discussion started by: aneuryzma
0 Replies

2. Programming

How to compile openGL code which is in C++ in ubuntu

Hi, I am trying to compile openGL code which is written in c++ ..but i am getting error msgs like this root@lxdevenv:~/Desktop# g++ diss.cpp -o diss -I/usr/X11R6/include/ -L/usr/X11R6/lib -lX11 -lXi -lXmu -lglut -lGL -lGLU diss.cpp:1:23: error: windows.h: No such file or directory... (2 Replies)
Discussion started by: Ravikishore
2 Replies

3. Programming

How to Decode an image using openGL

Hi, How to decode an image using openGL library libjpeg .. which are the steps needed to do this using C language.. actually my work is to decode the image, store it on the buffer, and place it on cube surface.. please guide me,,any answer will appreciated .. (8 Replies)
Discussion started by: Ravikishore
8 Replies

4. Programming

Draw a 3D cylinder using openGL.

Hi, please give me, how to code to draw 3D cylinder in openGL, that should be rotated in x-direction. waiting for your reply .. (2 Replies)
Discussion started by: Ravikishore
2 Replies

5. Programming

how to bevel the edges of polyon

Hi i have written the code for star shape object in opengl but i am not able to bevel the edges of the star.COULD SOMEONE KINDLY TELL ME HOW CAN I BEVEL THE EDGES OF THE STAR SHAPE. #include <windows.h> #include <math.h> #include <GL/gl.h> #include <GL/glu.h> #include <freeglut.h> #include... (1 Reply)
Discussion started by: sumit_kang
1 Replies