PDA

View Full Version : NURBS problem



zymarchine
01-10-2010, 07:37 PM
I'v read <<OpenGL Programming Guide, Sixth Edition>>, especially, Chapter 12: Evaluators and NURBS. Everything is well until I try the examples of the GLU NURBS Interface, when the program doesn't passed for the gl/glu.h doesn't include the macro GLU_NURBS_MODE. So I wonder the version of my OpenGL system is low, because my OS is Windows XP, the version is only 1.1 that Windows OS only supported. I want to get 2.1 version of OpenGL on Windows OS or other way that NURBS can be rendered and tessellated, Could You Help me, please? Waiting for your reply.

Brolingstanz
01-10-2010, 08:24 PM
You could always try Mesa, which may or may not include an updated/enhanced version of GLU, dunno.

gluGetString(GLU_VERSION) reports "1.2.2.0 Microsoft Corporation" on a Vista PlatformSDK install (6.0A), for what that's worth to you.

zymarchine
01-10-2010, 10:07 PM
Thanks for hinting me. so How can I get 2.1 version GLU library on Windows XP OS?

Brolingstanz
01-10-2010, 10:54 PM
Have you checked the wiki?

Anyways I'm hardly a GLU expert so I'll defer to someone who is. (Though I will say that 2.1 sounds kinda high for GLU..)

sammie381
01-11-2010, 09:52 AM
I'v read <<OpenGL Programming Guide, Sixth Edition>>, especially, Chapter 12: Evaluators and NURBS. Everything is well until I try the examples of the GLU NURBS Interface, when the program doesn't passed for the gl/glu.h doesn't include the macro GLU_NURBS_MODE. So I wonder the version of my OpenGL system is low, because my OS is Windows XP, the version is only 1.1 that Windows OS only supported. I want to get 2.1 version of OpenGL on Windows OS or other way that NURBS can be rendered and tessellated, Could You Help me, please? Waiting for your reply.

If GLU_NURBS_MODE doesn't exist, then why don't you just add it yourself?



#define GLU_NURBS_MODE 100160