Jump to content

  • Log In with Google      Sign In   
  • Create Account

programming in opengl


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
7 replies to this topic

#1 node_5r   Members   -  Reputation: 122

Like
Likes
Like

Posted 23 January 2000 - 10:51 AM

hey all, I am a newbie to opengl programming and i was wondering if all i need to program in opengl is just the drivers to support it or are there special headerfiles that i need. AHHHH i am confused here can you help? node_5r

Sponsor:

#2 Staffan   Members   -  Reputation: 122

Like
Likes
Like

Posted 23 January 2000 - 10:55 AM

ive never been doing ogl but i think you will need the gl.h and glu.h files, correct me if im wrong.

#3 Wraith   Members   -  Reputation: 122

Like
Likes
Like

Posted 23 January 2000 - 11:10 AM

All you need for OpenGL programming are gl.h, glu.h, and glaux.h. Also, opengl32.lib, glu.lib and glaux.lib need to be linked to the project.

For more help, check out NeHe''s OpenGL tutorials at
http://www.demonews.com/hosted/nehe/opengl.htm
or the OpenGL website at
http://www.opengl.org

Hope this helps,
Wraith


#4 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 23 January 2000 - 11:15 AM

Welcome to the wonderful world of OpenGL!!!

To get started, you''ll need the OpenGL libraries, DLLs, and the headers. You can get these from NeHe''s site (see below)

The best tutorials on OpenGL for Win32 are NeHe''s, you can gram them from: http://www.demonews.com/hosted/nehe/opengl.htm

Grab your favourite C++ compiler, follow the tuts, and you''re well on your way to OpenGL freedom!!!

#5 node_5r   Members   -  Reputation: 122

Like
Likes
Like

Posted 23 January 2000 - 11:25 AM

Hey everyone!

Thanks for the help i will download the files and check out NeHe''s website.

later

node_5r

#6 Nick Murphy   Members   -  Reputation: 1604

Like
Likes
Like

Posted 23 January 2000 - 11:35 AM

I felt that I would just clarify a point here... Wraith said that you need glu.h and glaux.h, but this is incorrect. All you need to develop a GL app is gl.h, though it may help to include the others to make matters easier. It should be noted, though, that glu.h and glaux.h are obselete -- GLUT has replaced both of these. You can download GLUT here in either the Code Vault or Developer''s Resources. Also, if you do not use glu.h and glaux.h, their respective libraries need not be linked.

-Nick

#7 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 23 January 2000 - 11:40 AM

quote:
Original post by node_5r

hey all,

I am a newbie to opengl programming and i was wondering if all i need to program in opengl is just the drivers to support it or are there special headerfiles that i need. AHHHH i am confused here can you help?

node_5r


Basically you need to download either SGI or MS versions of the opengl libraries. I would also suggest glut if you are learning open gl as it allows you to concentrate on the api. You will need header files and a C compiler (I reocmmend Visual C++ or Borland C 5.02) but the headers com with the SGI distribution (maybe also MS?) anyway... Check out www.opengl.org for plenty of links to the above and tutorials.



#8 SiCrane   Moderators   -  Reputation: 9596

Like
Likes
Like

Posted 23 January 2000 - 12:01 PM

Actually, glu is needed by glut. Look at the glut headers. Still need to link glu32.lib too.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS