C language function:glColor3f sample codes

Search sample code in the internet.It is the result.


TITLE : Draw a grid (OpenGL) - 3Dengine.org
glColor3f(.3,.3,.3);.......
http://3dengine.org/Draw_a_grid


TITLE : Draw a grid (OpenGL) - 3Dengine.org
if (i==0) { glColor3f(.6,.3,.3); } else { glColor3f(.25,.25,.25); };.......
http://3dengine.org/Draw_a_grid
TITLE : Draw a grid (OpenGL) - 3Dengine.org
if (i==0) { glColor3f(.3,.3,.6); } else { glColor3f(.25,.25,.25); };.......
http://3dengine.org/Draw_a_grid
TITLE :
glColor3f(0.0, 0.0, 1.0);.......
http://4dm.tortoise.ne.jp/D/glwin0.htm
TITLE :
glColor3f(0.0, 1.0, 0.0);.......
http://4dm.tortoise.ne.jp/D/glwin0.htm
TITLE :
glColor3f(1.0, 0.0, 0.0);.......
http://4dm.tortoise.ne.jp/D/glwin0.htm
TITLE :
glColor3f(1.0, 1.0, 1.0);.......
http://4dm.tortoise.ne.jp/D/glwin0.htm
TITLE :
glColor3f(0.0, 0.0, 1.0);.......
http://4dm.tortoise.ne.jp/D/glwin0.htm
TITLE : OpenGL2D: Draw points and lines. | Aland's Space
glColor3f(1.0, 0.0, 0.0);.......
http://alala666888.wordpress.com/2010/06/06/opengl2d-draw-points-and-lines/
TITLE : OpenGL2D: Draw points and lines. | Aland's Space
glColor3f(1.0, 0.0, 0.0).......
http://alala666888.wordpress.com/2010/06/06/opengl2d-draw-points-and-lines/
TITLE : To be an Artgrammer: Drawing nearly perfect 2D line segments in OpenGL
glColor3f( 1,0,0);.......
http://artgrammer.blogspot.com/2011/05/drawing-nearly-perfect-2d-line-segments.html
TITLE : To be an Artgrammer: Drawing nearly perfect 2D line segments in OpenGL
glColor3f( 0,1,0);.......
http://artgrammer.blogspot.com/2011/05/drawing-nearly-perfect-2d-line-segments.html
TITLE : To be an Artgrammer: Drawing nearly perfect 2D line segments in OpenGL
glColor3f( 0,0,1);.......
http://artgrammer.blogspot.com/2011/05/drawing-nearly-perfect-2d-line-segments.html
TITLE : To be an Artgrammer: Drawing nearly perfect 2D line segments in OpenGL
glColor3f( 1,1,1);.......
http://artgrammer.blogspot.com/2011/05/drawing-nearly-perfect-2d-line-segments.html
TITLE : To be an Artgrammer: Drawing nearly perfect 2D line segments in OpenGL
glColor3f( 1,0,0);.......
http://artgrammer.blogspot.com/2011/05/drawing-nearly-perfect-2d-line-segments.html
TITLE : To be an Artgrammer: Drawing nearly perfect 2D line segments in OpenGL
glColor3f( 1,1,1);.......
http://artgrammer.blogspot.com/2011/05/drawing-nearly-perfect-2d-line-segments.html
TITLE : To be an Artgrammer: Drawing nearly perfect 2D line segments in OpenGL
glColor3f( 1,0,0);.......
http://artgrammer.blogspot.com/2011/05/drawing-nearly-perfect-2d-line-segments.html
TITLE : To be an Artgrammer: Drawing nearly perfect 2D line segments in OpenGL
glColor3f( 1,1,1);.......
http://artgrammer.blogspot.com/2011/05/drawing-nearly-perfect-2d-line-segments.html
TITLE : C++ Vertex Skinning Example
glColor3f(1.0f, 1.0f, 1.0f);.......
http://blenderartists.org/forum/showthread.php@327885-C-Vertex-Skinning-Example
TITLE : C++ Vertex Skinning Example
glColor3f(1.0f, 0.0f, 0.0f);.......
http://blenderartists.org/forum/showthread.php@327885-C-Vertex-Skinning-Example
TITLE : C++ Vertex Skinning Example
glColor3f(1.0f, 1.0f, 1.0f);.......
http://blenderartists.org/forum/showthread.php@327885-C-Vertex-Skinning-Example
TITLE : C++ Vertex Skinning Example
glColor3f(1.0f, 0.0f, 0.0f);.......
http://blenderartists.org/forum/showthread.php@327885-C-Vertex-Skinning-Example
TITLE : C++ Vertex Skinning Example
glColor3f(1.0f, 1.0f, 1.0f);.......
http://blenderartists.org/forum/showthread.php@327885-C-Vertex-Skinning-Example
TITLE : C++ Vertex Skinning Example
glColor3f(1.0f, 0.0f, 0.0f);.......
http://blenderartists.org/forum/showthread.php@327885-C-Vertex-Skinning-Example
TITLE : C++ Vertex Skinning Example
glColor3f(1.0f, 1.0f, 1.0f);.......
http://blenderartists.org/forum/showthread.php@327885-C-Vertex-Skinning-Example
TITLE : Convert string to code - C / C++
char setColor[30] = "glColor3f(1.0f, 1.0f, 0.0f);".......
http://bytes.com/topic/c/answers/170066-convert-string-code
TITLE : Jumping into JOGL Blog | Oracle Community
GL gl = drawable.getGL(); gl.glClearColor( 1.0f, 1.0f, 1.0f, 1.0f ); gl.glColor3f( 0.0f, 0.0f, 0.0f ); gl.glPointSize(4.0f);.......
http://community.oracle.com/docs/DOC-982956
TITLE : CSE 457: Introduction to Computer Graphics
* Wen you execute a command, it remains in effect until you specifically change it. For instance, if you set the drawing color to red by calling glColor3f(1.0, 0, 0), everything you draw from then on will be red. A second call to glColor* is required to change the drawing color........
http://courses.cs.washington.edu/courses/cse457/99sp/projects/impressionist/helpSession.html
TITLE : CSE 457: Introduction to Computer Graphics
glColor3f( GLfloat, GLfloat, GLfloat ) -Takes 3 floats........
http://courses.cs.washington.edu/courses/cse457/99sp/projects/impressionist/helpSession.html
TITLE : CSE 457: Introduction to Computer Graphics
glColor3f( red, green, blue );.......
http://courses.cs.washington.edu/courses/cse457/99sp/projects/impressionist/helpSession.html
TITLE : openglexamples
glColor3f(1, 0, 0); glVertex3f(-0.6, -0.75, 0.5);.......
http://cs.lmu.edu/~ray/notes/openglexamples/
TITLE : openglexamples
glColor3f(0, 1, 0); glVertex3f(0.6, -0.75, 0);.......
http://cs.lmu.edu/~ray/notes/openglexamples/
TITLE : openglexamples
glColor3f(0, 0, 1); glVertex3f(0, 0.75, 0);.......
http://cs.lmu.edu/~ray/notes/openglexamples/
TITLE : openglexamples
glColor3f(1.0, 1.0, 1.0);.......
http://cs.lmu.edu/~ray/notes/openglexamples/
TITLE : openglexamples
glColor3f(1, 1, 1); glVertex3f(0, 2, 0);.......
http://cs.lmu.edu/~ray/notes/openglexamples/
TITLE : openglexamples
glColor3f(1, 0, 0); glVertex3f(-1, 0, 1);.......
http://cs.lmu.edu/~ray/notes/openglexamples/
TITLE : openglexamples
glColor3f(0, 1, 0); glVertex3f(1, 0, 1);.......
http://cs.lmu.edu/~ray/notes/openglexamples/
TITLE : openglexamples
glColor3f(0, 0, 1); glVertex3f(0, 0, -1.4);.......
http://cs.lmu.edu/~ray/notes/openglexamples/
TITLE : openglexamples
glColor3f(1, 1, 1); glVertex3f(0, 2, 0);.......
http://cs.lmu.edu/~ray/notes/openglexamples/
TITLE : openglexamples
glColor3f(1, 0, 0); glVertex3f(-1, 0, 1);.......
http://cs.lmu.edu/~ray/notes/openglexamples/
TITLE : openglexamples
glColor3f(1.0, 1.0, 1.0);.......
http://cs.lmu.edu/~ray/notes/openglexamples/
TITLE : openglexamples
glColor3f(1, 0, 0); glVertex3f(0, 0, 0); glVertex3f(10, 0, 0);.......
http://cs.lmu.edu/~ray/notes/openglexamples/
TITLE : openglexamples
glColor3f(0, 1, 0); glVertex3f(0, 0, 0); glVertex3f(0, 10, 0);.......
http://cs.lmu.edu/~ray/notes/openglexamples/
TITLE : openglexamples
glColor3f(0, 0, 1); glVertex3f(0, 0, 0); glVertex3f(0, 0, 10);.......
http://cs.lmu.edu/~ray/notes/openglexamples/
TITLE : openglexamples
glColor3f(1.0, 1.0, 1.0);.......
http://cs.lmu.edu/~ray/notes/openglexamples/
TITLE : openglexamples
glColor3f(0.6, 1.0, 0.0);.......
http://cs.lmu.edu/~ray/notes/openglexamples/
TITLE : openglexamples
glColor3f(intensity, intensity, 0.25);.......
http://cs.lmu.edu/~ray/notes/openglexamples/
TITLE : openglexamples
glColor3f(1.0, 1.0, 0.0);.......
http://cs.lmu.edu/~ray/notes/openglexamples/
TITLE : openglexamples
glColor3f(0.0, 0.0, 1.0);.......
http://cs.lmu.edu/~ray/notes/openglexamples/
TITLE : openglexamples
glColor3f(1, 1, 1);.......
http://cs.lmu.edu/~ray/notes/openglexamples/
TITLE : openglexamples
glColor3f(randomFloat(), randomFloat(), randomFloat());.......
http://cs.lmu.edu/~ray/notes/openglexamples/
TITLE : GLUT_Intro
glColor3f(0.0,0.0,0.0); // sets the drawing color to black.......
http://csclab.murraystate.edu/~bob.pilgrim/515/lectures_02.html
TITLE : GLUT_Intro
glColor3f(0.0,0.0,0.0);.......
http://csclab.murraystate.edu/~bob.pilgrim/515/lectures_02.html
TITLE : GLUT_Intro
glColor3f(1.0,0.0,0.0);.......
http://csclab.murraystate.edu/~bob.pilgrim/515/lectures_02.html
TITLE : GLUT_Intro
glColor3f(0.0,1.0,0.0);.......
http://csclab.murraystate.edu/~bob.pilgrim/515/lectures_02.html
TITLE : GLUT_Intro
glColor3f(0.0,0.0,1.0);.......
http://csclab.murraystate.edu/~bob.pilgrim/515/lectures_02.html
TITLE : GLUT_Intro
glColor3f(r,1-b,0.0);.......
http://csclab.murraystate.edu/~bob.pilgrim/515/lectures_02.html
TITLE : GLUT_Intro
glColor3f(0,q-r,q);.......
http://csclab.murraystate.edu/~bob.pilgrim/515/lectures_02.html
TITLE : GLUT_Intro
glColor3f(0.0,g,0.0);.......
http://csclab.murraystate.edu/~bob.pilgrim/515/lectures_02.html
TITLE : GLUT_Intro
glColor3f(0.0,p,1.0-p);.......
http://csclab.murraystate.edu/~bob.pilgrim/515/lectures_02.html
TITLE : GLUT_Intro
glColor3f(b,r,g);.......
http://csclab.murraystate.edu/~bob.pilgrim/515/lectures_02.html
TITLE : GLUT_Intro
glColor3f(q,0.0,r);.......
http://csclab.murraystate.edu/~bob.pilgrim/515/lectures_02.html
TITLE : GLUT_Intro
glColor3f(1.0-b,0.0,b);.......
http://csclab.murraystate.edu/~bob.pilgrim/515/lectures_02.html
TITLE : GLUT_Intro
glColor3f(g,g,1.0-b);.......
http://csclab.murraystate.edu/~bob.pilgrim/515/lectures_02.html

glColor3f( 1.0, 0.0, 0.0 );.......
http://cse.csusb.edu/tongyu/courses/cs520/notes/intro.php

e.g. glColor3f( 0.5, 0.5, 0.5 ).......
http://cse.csusb.edu/tongyu/courses/cs520/notes/intro.php

glColor3f( 0.0f, 0.0f, 0.0f ); //set drawing color.......
http://cse.csusb.edu/tongyu/courses/cs520/notes/intro.php

glColor3f( 0.6, 0.6, 0.6 ); //bright grey.......
http://cse.csusb.edu/tongyu/courses/cs520/notes/intro.php

glColor3f( 1.0, 0.0, 0.0 ); //red.......
http://cse.csusb.edu/tongyu/courses/cs520/notes/intro.php

glColor3f( 0.0f, 0.0f, 0.0f ); //set drawing color.......
http://cse.csusb.edu/tongyu/courses/cs520/notes/intro.php

glColor3f( 1.0, 0.0, 0.0 );.......
http://cse.csusb.edu/tongyu/courses/cs520/notes/intro.php
search Google

https://www.google.com/#q=glColor3f