PDA

View Full Version : Nurbs, glu.h - Sampling Tolerance is not working



SenSej
01-16-2005, 02:12 PM
Hello there,

Just posted the same under "OpenGL under Windows" and "OpenGL coding Beginners". But get no reply, so i try it again here. Please give me some hints.

My Topics:
- Searching new glu.h, where can i get a newer one?
- GLU_SAMPLING_TOLERANCE is not working
- Is it possible to use a glu.h file from a UnixSystem?

My Problem is using NURBS with my configuration. Pleace watch my signature to know, with IDE Im using.
I cant find, which version of OpenGL/Glut im using (Im a beginner). But all my OpenGL Projects worked fine since Ive started with NURBS.

I wanted to use the

>> GLU_SAMPLING_TOLERANCE

option, but get the Error massage:

>> undeclared (first use this function)

Ive imported also <GL/GLUT.h> and <GL/GLU.h> in my C++ file.
All projects in the past worked fine, as i said, so Im thinking, there is no problem with the linking-stuff to my GLUT.h, GLU.h, and GL.h files.
Also Ive watched the GLU.h entries. In the Nurbs section are only following entries:

/* NurbsDisplay */
/* GLU_FILL */
#define GLU_OUTLINE_POLYGON 100240
#define GLU_OUTLINE_PATCH 100241

and all the Nurbs Error Callback stuff.

So Im trying to find a newer version of the GLU.h file, because ive seen more entries in this file on a UnixSystem. But all new OpenGL-GLUTs for Windows Ive founded for download, contain only GLUT.h files, *.lib files and *.dll files.
So Im still missing a new GLU.h file.

Tell me, is it really a so big problem using NURBS under Windows?
Is it possible just coping the UnixSystem GLU.h to my Windows system to get also all the Nurbs Options?

Perhaps I have a big problem about the OpenGL-Managment under Windows. So would you pleace be so kind to give a short overview, what different possibilities Ive got to use OpenGL under Windows. (Heard somthing about MESA and GLext. file??? big"?")

!HOMBRE! - All projects worked fine!!! So Iam bit confused!!

Thanks a lot for you Informations.
Best regards
TimoK

V-man
01-16-2005, 05:34 PM
Those are GLU 1.3 features

http://www.geocities.com/vmelkon/glu.html

>I cant find, which version of OpenGL

For GL, glGetString(GL_VERSION)
For GLU, gluGetString(GLU_VERSION)

I don't know about GLUT.

SenSej
01-18-2005, 02:13 PM
Me too - still dont know nothing about Glut.

But Thanks a Lot!!!!

Now i got all entries in for my nurbs i needed.

I just downloaded the glu_13 from your path and replaced all my old files by them. So i didnt touched the glut files.
All works fine now.

Thanks a lot!
TimoK