Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

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

Posted on 2008-11-01
2
Medium Priority
?
1,275 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:
Jose Parrot earned 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

581 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