Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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 is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

895 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

14 Experts available now in Live!

Get 1:1 Help Now