Solved

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

Posted on 2008-11-01
2
1,192 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In Easy String Encryption Using CryptoAPI in C++ (http://www.experts-exchange.com/viewArticle.jsp?aid=1193) I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
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…
This video discusses moving either the default database or any database to a new volume.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

743 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now