PDA

View Full Version : Bug in glEvalMesh documentation?



sbPdXJG1
02-13-2011, 07:31 AM
Hi.

I studied carefully the documentation:
http://www.opengl.org/sdk/docs/man/xhtml/glEvalMesh.xml

It says that glEvalMesh1(GL_LINE,...) is equivalent to:

glBegin(GL_LINES);
for(...) glEvalCoord1(...);
glEnd();

However, my experiments show that it is in fact equivalent to:

glBegin(GL_LINE_STRIP);
for(...) glEvalCoord1(...);
glEnd();

I didn't use glEvalMesh1 for a long time, because I actually needed the line strip and after reading the docs I thought you can't get a line strip. But it seems like the documentation is flawed, because in fact you do get a line strip.

Could somebody please confirm that there is this bug in documentation? Knowing precisely how these functions work is very important to me.

sbPdXJG1
02-19-2011, 02:45 AM
The red "OpenGL Programming Guide Second Edition" book seems to confirm my tests. In the book on page 445 it says that GL_LINE is equivalent to GL_LINE_STRIP. So I guess there is a bug in the documentation. How do I submit a bug report?

Rosario Leonardi
02-19-2011, 08:30 AM
Here -> http://www.opengl.org/documentation/specs/feedback/ <--

There are still people using EvalMesh?

sbPdXJG1
02-27-2011, 04:51 AM
Thanks, I have submitted the issue.

What do you mean with "still using EvalMesh"? Is there some alternative? I must say the book I have is from 97, so maybe it's too old to read...