Solved

Using OpenGL (GLU.H) NURBS in Visual Studio 2005

Posted on 2008-11-01
2
1,213 Views
Last Modified: 2013-12-26
Hallo

What do I need to compile an application (VS 2005 C++) with the NURBS extensions of OpenGL. The standard GLU.H available from Microsoft (and installed in VS 2005), does not contain all the relevant functionality needed to tesselate NURBS. Defines such as GLU_NURBS_TESSELLATOR is not in the standard header. Where do I get the correct headers, libs and dlls. I do not need to use Opengl32.dll, just GLUxx.DLL

Anton
0
Comment
Question by:AsparagusX
2 Comments
 
LVL 18

Accepted Solution

by:
JoseParrot earned 500 total points
ID: 22876617
Please note that Microsoft is responsible for OpenGL implementation on Windows.
The following declaration GLU_NURBS_TESSELLATOR = 100161 appears at /usr/include/GL/glu.h:164, which is at oss/sgi.org, for Linux and it is compliant to 1.2.1 specification.
M$ has an update for OpenGL for Windows 95, which is a Win32 extension. So, you need to use the entire upgrade, including glu32.dll and opengl32.dll.
If you are unable to find all (ar a significant number) of features not available at Microsoft OpenGL implementation, you should consider to use Mesa instead, which is an independent OpenGL implementation, 100% portable between Linux, AIX, HP-UX and Windows. Mesa has full implementation of tesselation functions as well.
You can also evaluate the viability of using CG library from Nvidia.
Jose
0
 

Author Closing Comment

by:AsparagusX
ID: 31512319
Thanks very much - now got Mesa running with SGI GLU compiling in VS 8 - nurbs extensions active!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Artificial Intelligence comes in many forms, and for game developers, Path-Finding is an important ability for making an NPC (Non-Playable Character) maneuver through terrain.  A* is a particularly easy way to approach it.  I’ll start with the algor…
Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question