Hi gents,
Trying I've been drawing some lines (using GL_LINES) in a GL application,
and finding that colour interpolation appears to be turned off. What would
cause that?
I'm doing something like
glColor3f(1,0,0); -red
glVertex3f(x,y,z);
glColor3f(0,0,1); -blue
glVertex3f(x-10,y,z);
to get a little line that's [supposed to be] red one end and blue the other.
Outside of the application this works fine, but inside it it fails. The
reference for glEnable says nothing about being able to disable it, so I've
no idea what's going on.
I hope someone has some idea what I'm talking about...
|
|
0
|
|
|
|
Reply
|
Makhno
|
10/27/2004 9:16:20 PM |
|
Makhno wrote:
> Hi gents,
> Trying I've been drawing some lines (using GL_LINES) in a GL application,
> and finding that colour interpolation appears to be turned off. What would
> cause that?
>
> I'm doing something like
>
> glColor3f(1,0,0); -red
> glVertex3f(x,y,z);
> glColor3f(0,0,1); -blue
> glVertex3f(x-10,y,z);
>
> to get a little line that's [supposed to be] red one end and blue the other.
> Outside of the application this works fine, but inside it it fails. The
> reference for glEnable says nothing about being able to disable it, so I've
> no idea what's going on.
>
> I hope someone has some idea what I'm talking about...
>
>
glShadeModel (GL_SMOOTH);
vs
glShadeModel (GL_FLAT);
--
Andy V
|
|
0
|
|
|
|
Reply
|
Andy
|
10/27/2004 10:38:50 PM
|
|
|
1 Replies
284 Views
(page loaded in 0.109 seconds)
Similiar Articles: Colour interpolation? - comp.graphics.api.openglHi gents, Trying I've been drawing some lines (using GL_LINES) in a GL application, and finding that colour interpolation appears to be turned off. Wh... Color Bar graph in RGB colors - comp.soft-sys.matlabColour interpolation? - comp.graphics.api.opengl Bar charts in PDF - comp.text.tex Colour interpolation? - comp.graphics.api.opengl Color Bar graph in RGB colors - comp ... brightness preserving - comp.soft-sys.matlabColour interpolation? - comp.graphics.api.opengl brightness preserving - comp.soft-sys.matlab sir, My project title is 'Color Image Enhancement Using Brightness Preserving ... Plot 2D - with third argument (colorbar) - comp.soft-sys.matlab ...Colour interpolation? - comp.graphics.api.opengl Plot 2D - with third argument (colorbar) - comp.soft-sys.matlab ... Result will be a plot of many dots with different ... Fastest Implementation of Integer Wavelets in VC++ - comp ...Megapixels a second for a given processor and colour depth would be an ... Colour interpolation? - comp.graphics.api.opengl Fastest Implementation of Integer Wavelets ... How to know which colorspace is used in particular PDF? (in iText ...Enfocus PDF Browser can give you info about everyhting, including image info (dimensions, interpolation, compression, color space, ...). Search for it in Google, enfocus ... Image registration project help - comp.soft-sys.matlabInterpolation for Rigid 3D medical image registration - comp.soft ... Back Projection ... Image registration project help - comp.soft-sys.matlab... only segmented color ... Projection-state of gl_Vertex in GLSL - comp.graphics.api.opengl ...The problem is: - I am transferring 4 uniforms to pass top color (4f) and y (1f ... two?) untransformed vertices that mark the beginning and end of the linear interpolation ... Modulation transfer function - comp.soft-sys.matlabModulation transfer function - comp.soft-sys.matlab Recursive interpolation function ... function - comp.soft-sys.matlab Hello, is there anyway to change ... color ... Back Projection Algorithm - comp.soft-sys.matlabInterpolation for Rigid 3D medical image registration - comp.soft ... Back Projection ... Image registration project help - comp.soft-sys.matlab... only segmented color ... Demosaicing - Wikipedia, the free encyclopediaTo reconstruct a full color image from the data collected by the color filtering array, a form of interpolation is needed to fill in the blanks. color-interpolation - MDN« SVG Attribute reference home. The color-interpolation attribute specifies the color space for gradient interpolations, color animations and alpha compositing. 7/29/2012 10:45:30 AM
|