Jump to content

  • Log In with Google      Sign In   
  • Create Account


opengl 3


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
5 replies to this topic

#1 giugio   Members   -  Reputation: 215

Like
0Likes
Like

Posted 20 September 2012 - 09:41 AM

hello.
I wish create an opengl context with viewport ecc...in opengl 3 but without using glut.
there are some examples on opengl.org or in this forum or articles ?
I can't find nothing.
thanks

Sponsor:

#2 Brother Bob   Moderators   -  Reputation: 8023

Like
0Likes
Like

Posted 20 September 2012 - 09:51 AM

Do you want to avoind GLUT specifically, or do you want to avoid any third-party window manager? There are plenty of other window managers if you want to avoid GLUT; see the list of frameworks in the Getting Starter box in the OpenGL forum. If you want to avoid any third-party window manager then you have to use the API provided by the operating system. On Windows, that would be the Windows API for example. Check the first tutorials on nehe.gamedev.net for tutorials for many different platforms and frameworks.

#3 giugio   Members   -  Reputation: 215

Like
0Likes
Like

Posted 21 September 2012 - 04:33 AM

I'm sorry, but I read the first tutorial and it has nothing to do with the api windows and opengl 3 can you post me another url?
thanks.

#4 mhagain   Crossbones+   -  Reputation: 7822

Like
0Likes
Like

Posted 21 September 2012 - 06:38 AM

I'm not sure how you missed it, but the first NeHe tutorial is called "Setting up an OpenGL Window" and is right here: http://nehe.gamedev.net/tutorial/creating_an_opengl_window_%28win32%29/13001/

There is no difference between this code and the code required for GL3, and the code in this tutorial most definitely does use the Windows API.

It appears that the gentleman thought C++ was extremely difficult and he was overjoyed that the machine was absorbing it; he understood that good C++ is difficult but the best C++ is well-nigh unintelligible.


#5 Brother Bob   Moderators   -  Reputation: 8023

Like
0Likes
Like

Posted 21 September 2012 - 06:40 AM

The very first tutorial is called "Setting Up An OpenGL Window" and has everything to do with setting up a window. The Getting Started box I also mentioned has information on how to set up a 3.0 or later version of the rendering context.

#6 giugio   Members   -  Reputation: 215

Like
0Likes
Like

Posted 21 September 2012 - 06:59 AM

sorry.




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